Download OpenAPI specification:
This API manages cash books (livres de caisse): the daily recording of cash receipts and cash payments per accounting folder, their categories (receipt/expense categories), payment methods, settings and the push of cash entries to the accounting backend. It is part of the larger Fred platform and is consumed by other Fred services.
All endpoints are protected and require a valid Fred bearer token, except where explicitly marked as anonymous. Authentication and authorization follow the common Inqom mechanism shared by every Fred microservice.
See the shared Inqom authentication documentation for how to obtain a token and call the API behind the gateway.
| Environment | Base URL |
|---|---|
| Production | https://api.inqom.com/cashbook |
| Staging | https://api-staging.inqom.com/cashbook |
| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
| cashBookId required | integer <int32> The cash book ID. |
{- "Revenue": 0
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "JournalId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "InitialBalance": 0,
- "IsInitialBalanceLocked": true,
- "IsStartDateLocked": true,
- "CashbookAccountName": "string",
- "CashbookSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> The enterprise accounting folder ID |
The general parameters data
| Label | string or null |
| JournalId required | integer <int32> |
| StartDate | string or null <date-time> |
| InitialBalance | number or null <decimal> |
| CashbookAccountName | string or null |
| CashbookSubAccountCode | string or null |
{- "Label": "string",
- "JournalId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "InitialBalance": 0,
- "CashbookAccountName": "string",
- "CashbookSubAccountCode": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "JournalId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "InitialBalance": 0,
- "IsInitialBalanceLocked": true,
- "IsStartDateLocked": true,
- "CashbookAccountName": "string",
- "CashbookSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID |
| id required | integer <int32> The cash book ID |
The cash book data
| Label | string or null |
| JournalId required | integer <int32> |
| StartDate required | string <date-time> |
| InitialBalance required | number <decimal> |
| CashbookAccountName | string or null |
| CashbookSubAccountCode | string or null |
{- "Label": "string",
- "JournalId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "InitialBalance": 0,
- "CashbookAccountName": "string",
- "CashbookSubAccountCode": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "JournalId": 0,
- "StartDate": "2019-08-24T14:15:22Z",
- "InitialBalance": 0,
- "IsInitialBalanceLocked": true,
- "IsStartDateLocked": true,
- "CashbookAccountName": "string",
- "CashbookSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> |
| cashBookId required | integer <int32> |
| EntryDate required | string <date-time> |
object (CollectedSaleDto) | |
object (FundMovementDto) | |
Array of objects or null (CashBookDayExpenseDto) | |
| RealBalance | number or null <decimal> |
| DiscrepancyComment | string or null |
{- "EntryDate": "2019-08-24T14:15:22Z",
- "CollectedSales": {
- "Receipts": [
- {
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "GrossAmount": 0,
- "PaymentMethodId": 0
}
]
}, - "FundMovement": {
- "ContributionAmount": 0,
- "Deposits": [
- {
- "Amount": 0,
- "PaymentMethodId": 0
}
]
}, - "Expenses": [
- {
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "RealBalance": 0,
- "DiscrepancyComment": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "CashBookId": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "CreatedByUserId": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "RealBalance": 0,
- "DailyRevenue": 0,
- "OpeningBalance": 0,
- "TheoreticalBalance": 0,
- "Discrepancy": 0,
- "DiscrepancyComment": "string",
- "IsLocked": true,
- "IsImported": true,
- "ImportError": "NegativeTheoreticalBalance",
- "TicketZReference": "string",
- "ImportedFileDocumentId": 0,
- "TicketZDocumentId": 0,
- "IsModified": true,
- "IsFileNotAttached": true
}| accountingFolderId required | integer <int32> |
| cashBookId required | integer <int32> |
| from | string <date-time> |
| to | string <date-time> |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "CashBookId": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "CreatedByUserId": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "RealBalance": 0,
- "DailyRevenue": 0,
- "OpeningBalance": 0,
- "TheoreticalBalance": 0,
- "Discrepancy": 0,
- "DiscrepancyComment": "string",
- "IsLocked": true,
- "IsImported": true,
- "ImportError": "NegativeTheoreticalBalance",
- "TicketZReference": "string",
- "ImportedFileDocumentId": 0,
- "TicketZDocumentId": 0,
- "IsModified": true,
- "IsFileNotAttached": true
}
]| accountingFolderId required | integer <int32> |
| cashBookId required | integer <int32> |
| date required | string <date-time> |
{- "Id": 0,
- "AccountingFolderId": 0,
- "CashBookId": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "CreatedByUserId": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "RealBalance": 0,
- "DailyRevenue": 0,
- "OpeningBalance": 0,
- "TheoreticalBalance": 0,
- "Discrepancy": 0,
- "DiscrepancyComment": "string",
- "IsLocked": true,
- "IsImported": true,
- "ImportError": "NegativeTheoreticalBalance",
- "TicketZReference": "string",
- "ImportedFileDocumentId": 0,
- "TicketZDocumentId": 0,
- "IsModified": true,
- "IsFileNotAttached": true
}| accountingFolderId required | integer <int32> |
| cashBookId required | integer <int32> |
| date required | string <date-time> |
[- {
- "OccurredAt": "2019-08-24T14:15:22Z",
- "UserId": "string",
- "FileName": "string",
- "ImportId": 0,
- "Before": {
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "RealBalance": 0
}, - "After": {
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "RealBalance": 0
}
}
]| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the day. |
| date required | string <date-time> The date of the day. |
| file | string <binary> The ticket Z (multipart/form-data, field name: |
{- "Id": 0,
- "AccountingFolderId": 0,
- "CashBookId": 0,
- "EntryDate": "2019-08-24T14:15:22Z",
- "CreatedByUserId": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "CollectedSales": {
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "ReceiptCategoryId": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "PaymentMethodId": 0,
- "BankDepositMode": "Manual"
}
]
}, - "FundMovement": {
- "ContributionGrossAmount": 0,
- "Deposits": [
- {
- "PaymentMethodId": 0,
- "GrossAmount": 0
}
]
}, - "Expenses": [
- {
- "Id": 0,
- "GrossAmount": 0,
- "NetAmount": 0,
- "VatAmount": 0,
- "ExpenseCategoryId": 0,
- "AccountingDocumentId": 0
}
], - "RealBalance": 0,
- "DailyRevenue": 0,
- "OpeningBalance": 0,
- "TheoreticalBalance": 0,
- "Discrepancy": 0,
- "DiscrepancyComment": "string",
- "IsLocked": true,
- "IsImported": true,
- "ImportError": "NegativeTheoreticalBalance",
- "TicketZReference": "string",
- "ImportedFileDocumentId": 0,
- "TicketZDocumentId": 0,
- "IsModified": true,
- "IsFileNotAttached": true
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the day. |
| date required | string <date-time> The date of the day. |
| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}
]| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
The expense category data.
| Label | string or null |
| ExpenseAccountName | string or null |
| VatAccountName | string or null |
| VatRate | number or null <decimal> |
{- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
| id required | integer <int32> The expense category ID. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
| id required | integer <int32> The expense category ID. |
The expense category data.
| Label | string or null |
| ExpenseAccountName | string or null |
| VatAccountName | string or null |
| VatRate | number or null <decimal> |
{- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}| accountingFolderId required | integer <int32> The accounting folder ID |
{- "Id": 0,
- "AccountingFolderId": 0,
- "WithdrawalAccountName": "string",
- "WithdrawalSubAccountCode": "string",
- "CashDiscrepancyExpenseAccountName": "string",
- "CashDiscrepancyExpenseSubAccountCode": "string",
- "CashDiscrepancyRevenueAccountName": "string",
- "CashDiscrepancyRevenueSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The accounting folder ID |
The general settings data
| AccountingFolderId required | integer <int32> |
| WithdrawalAccountName | string or null |
| WithdrawalSubAccountCode | string or null |
| CashDiscrepancyExpenseAccountName | string or null |
| CashDiscrepancyExpenseSubAccountCode | string or null |
| CashDiscrepancyRevenueAccountName | string or null |
| CashDiscrepancyRevenueSubAccountCode | string or null |
{- "AccountingFolderId": 0,
- "WithdrawalAccountName": "string",
- "WithdrawalSubAccountCode": "string",
- "CashDiscrepancyExpenseAccountName": "string",
- "CashDiscrepancyExpenseSubAccountCode": "string",
- "CashDiscrepancyRevenueAccountName": "string",
- "CashDiscrepancyRevenueSubAccountCode": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "WithdrawalAccountName": "string",
- "WithdrawalSubAccountCode": "string",
- "CashDiscrepancyExpenseAccountName": "string",
- "CashDiscrepancyExpenseSubAccountCode": "string",
- "CashDiscrepancyRevenueAccountName": "string",
- "CashDiscrepancyRevenueSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The accounting folder ID |
The general settings data
| AccountingFolderId required | integer <int32> |
| WithdrawalAccountName | string or null |
| WithdrawalSubAccountCode | string or null |
| CashDiscrepancyExpenseAccountName | string or null |
| CashDiscrepancyExpenseSubAccountCode | string or null |
| CashDiscrepancyRevenueAccountName | string or null |
| CashDiscrepancyRevenueSubAccountCode | string or null |
{- "AccountingFolderId": 0,
- "WithdrawalAccountName": "string",
- "WithdrawalSubAccountCode": "string",
- "CashDiscrepancyExpenseAccountName": "string",
- "CashDiscrepancyExpenseSubAccountCode": "string",
- "CashDiscrepancyRevenueAccountName": "string",
- "CashDiscrepancyRevenueSubAccountCode": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "WithdrawalAccountName": "string",
- "WithdrawalSubAccountCode": "string",
- "CashDiscrepancyExpenseAccountName": "string",
- "CashDiscrepancyExpenseSubAccountCode": "string",
- "CashDiscrepancyRevenueAccountName": "string",
- "CashDiscrepancyRevenueSubAccountCode": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book the export belongs to. |
| file | string <binary> The export of the cash register (multipart/form-data, field name: |
{- "ImportId": 0,
- "FileName": "string",
- "Columns": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}, - "Status": "Recognized"
}
], - "ReadyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "NegativeBalance": {
- "TheoreticalClosingBalance": 0
}
}
], - "AlreadyEnteredDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "EnteredRevenue": 0,
- "FileRevenue": 0,
- "Replace": true
}
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "AnomalyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Anomalies": [
- {
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "Amount": 0
}
]
}
], - "VatExemptionAlert": true,
- "TicketZFileName": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the import. |
| importId required | integer <int32> The analyzed import. |
{- "ImportedDays": [
- "2019-08-24T14:15:22Z"
], - "KeptDays": [
- "2019-08-24T14:15:22Z"
], - "FailedDay": {
- "Date": "2019-08-24T14:15:22Z",
- "ErrorName": "string",
- "Message": "string"
}, - "NotAttemptedDays": [
- "2019-08-24T14:15:22Z"
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "DaysInError": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "ImportError": "NegativeTheoreticalBalance"
}
], - "ReplacedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Emptied": true
}
]
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the import. |
| importId required | integer <int32> The analyzed import. |
The complete list of the column mappings of the import.
required | Array of objects or null (CashBookImportColumnMappingItem) |
{- "Mappings": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}
}
]
}{- "ImportId": 0,
- "FileName": "string",
- "Columns": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}, - "Status": "Recognized"
}
], - "ReadyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "NegativeBalance": {
- "TheoreticalClosingBalance": 0
}
}
], - "AlreadyEnteredDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "EnteredRevenue": 0,
- "FileRevenue": 0,
- "Replace": true
}
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "AnomalyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Anomalies": [
- {
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "Amount": 0
}
]
}
], - "VatExemptionAlert": true,
- "TicketZFileName": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the import. |
| importId required | integer <int32> The analyzed import. |
The complete list of the corrections of the import.
required | Array of objects or null (CashBookImportCorrectionItem) |
{- "Corrections": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "ReceiptCategoryId": 0,
- "PaymentMethodId": 0,
- "Amount": 0
}
]
}{- "ImportId": 0,
- "FileName": "string",
- "Columns": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}, - "Status": "Recognized"
}
], - "ReadyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "NegativeBalance": {
- "TheoreticalClosingBalance": 0
}
}
], - "AlreadyEnteredDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "EnteredRevenue": 0,
- "FileRevenue": 0,
- "Replace": true
}
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "AnomalyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Anomalies": [
- {
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "Amount": 0
}
]
}
], - "VatExemptionAlert": true,
- "TicketZFileName": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the import. |
| importId required | integer <int32> The analyzed import. |
| file | string <binary> The ticket Z (multipart/form-data, field name: |
{- "ImportId": 0,
- "FileName": "string",
- "Columns": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}, - "Status": "Recognized"
}
], - "ReadyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "NegativeBalance": {
- "TheoreticalClosingBalance": 0
}
}
], - "AlreadyEnteredDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "EnteredRevenue": 0,
- "FileRevenue": 0,
- "Replace": true
}
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "AnomalyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Anomalies": [
- {
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "Amount": 0
}
]
}
], - "VatExemptionAlert": true,
- "TicketZFileName": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| cashBookId required | integer <int32> The cash book of the import. |
| importId required | integer <int32> The analyzed import. |
The complete list of the days already entered to replace.
| Dates required | Array of strings or null <date-time> [ items <date-time > ] |
{- "Dates": [
- "2019-08-24T14:15:22Z"
]
}{- "ImportId": 0,
- "FileName": "string",
- "Columns": [
- {
- "Header": "string",
- "Target": {
- "Kind": "Date",
- "Id": 0
}, - "Status": "Recognized"
}
], - "ReadyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Receipts": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "Payments": [
- {
- "Id": 0,
- "GrossAmount": 0
}
], - "NegativeBalance": {
- "TheoreticalClosingBalance": 0
}
}
], - "AlreadyEnteredDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "EnteredRevenue": 0,
- "FileRevenue": 0,
- "Replace": true
}
], - "NotImportedDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Reason": "Future"
}
], - "AnomalyDays": [
- {
- "Date": "2019-08-24T14:15:22Z",
- "Anomalies": [
- {
- "Kind": "UncategorizedReceipt",
- "Column": "string",
- "Amount": 0
}
]
}
], - "VatExemptionAlert": true,
- "TicketZFileName": "string"
}| accountingFolderId required | integer <int32> The accounting folder identifier. |
| accountingFolderId required | integer <int32> The accounting folder identifier. |
| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "AccountName": "string",
- "AnalyticsTagId": 0,
- "BankDepositMode": "Manual",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}
]| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
The payment method data.
| Label | string or null |
| AccountName | string or null |
{- "Label": "string",
- "AccountName": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "AccountName": "string",
- "AnalyticsTagId": 0,
- "BankDepositMode": "Manual",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
| id required | integer <int32> The payment method ID. |
The payment method data.
| Label | string or null |
| AccountName | string or null |
{- "Label": "string",
- "AccountName": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "AccountName": "string",
- "AnalyticsTagId": 0,
- "BankDepositMode": "Manual",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}
]| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
The receipt category data.
| Label | string or null |
| ProductAccountName | string or null |
| VatAccountName | string or null |
| VatRate | number or null <decimal> |
{- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}| accountingFolderId required | integer <int32> The enterprise accounting folder ID. |
| id required | integer <int32> The receipt category ID. |
The receipt category data.
| Label | string or null |
| ProductAccountName | string or null |
| VatAccountName | string or null |
| VatRate | number or null <decimal> |
{- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "AnalyticsTagId": 0
}| accountingFolderId required | integer <int32> |
{- "PaymentMethods": [
- {
- "Id": 0,
- "Label": "string",
- "AccountName": "string",
- "SubAccountCode": "string",
- "BankDepositMode": "Manual"
}
], - "ExpenseCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ExpenseSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "ReceiptCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ProductSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "InternalTransferAccountName": "string",
- "InternalTransferSubAccountCode": "string"
}| accountingFolderId required | integer <int32> |
Array of objects or null (UpsertPaymentMethodItem) | |
Array of objects or null (UpsertExpenseCategoryItem) | |
Array of objects or null (UpsertReceiptCategoryItem) | |
| InternalTransferAccountName | string or null |
| InternalTransferSubAccountCode | string or null |
{- "PaymentMethods": [
- {
- "Id": 0,
- "Label": "string",
- "AccountName": "string",
- "SubAccountCode": "string",
- "BankDepositMode": "Manual"
}
], - "ExpenseCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ExpenseSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "ReceiptCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ProductSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "InternalTransferAccountName": "string",
- "InternalTransferSubAccountCode": "string"
}{- "PaymentMethods": [
- {
- "Id": 0,
- "Label": "string",
- "AccountName": "string",
- "SubAccountCode": "string",
- "BankDepositMode": "Manual"
}
], - "ExpenseCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ExpenseAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ExpenseSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "ReceiptCategories": [
- {
- "Id": 0,
- "Label": "string",
- "ProductAccountName": "string",
- "VatAccountName": "string",
- "VatRate": 0,
- "ProductSubAccountCode": "string",
- "VatSubAccountCode": "string"
}
], - "InternalTransferAccountName": "string",
- "InternalTransferSubAccountCode": "string"
}