Download OpenAPI specification:
This API manages the lifecycle of accounting documents (uploaded receipts, invoices and expense bills): ingestion, OCR, tagging/extraction, workflow, indexing and the push 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/accounting-documents |
| Staging | https://api-staging.inqom.com/accounting-documents |
Each returned document carries its metadata (including the accounting folder it belongs to) and a temporary public URL to download the file. When no start date is provided, only the documents uploaded during the last 24 hours are returned.
| accountingFirmId required | integer <int32> The unique identifier of the accounting firm (cabinet). |
| startDate | string or null <date-time> Optional upload date from which documents are returned. Defaults to 24 hours ago. |
| page | integer <int32> Default: 1 1-based page number. Defaults to 1. |
| size | integer <int32> Default: 100 Page size. Defaults to 100, maximum 1000. |
{- "Items": [
- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}
], - "TotalCount": 0,
- "Page": 0,
- "Size": 0
}DocData represents extracted data from documents processed by AI models or manual tagging.
| ids | Array of integers or null <int32> [ items <int32 > ] Optional array of DocData identifiers to filter by. |
| fileIds | Array of integers or null <int32> [ items <int32 > ] Optional array of file/document identifiers to filter by. |
| enterpriseId | integer or null <int32> Optional enterprise (accounting folder/Dossier) identifier to filter by. |
| type | string or null Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" Optional extraction type to filter by (e.g., Google, Azure, Manual, FecImported). |
| size | integer or null <int32> Optional page size for pagination. |
| page | integer or null <int32> Optional page number for pagination, starting at 1. |
[- {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}
]Used to store manually entered or corrected document data.
The DocData values to create.
| Id required | integer <int32> |
| FileId required | integer <int32> |
| EnterpriseId required | integer <int32> |
| Type required | string Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" |
| Category required | string Enum: "NormalInvoice" "DepositInvoice" "ProformaInvoice" "CreditNote" "Receipt" "DeliveryNote" "OrderForm" "BankReceipt" "Estimate" "TicketBankCarte" "Proof" "Invoice" "Other" |
| CountryClass | string or null Enum: "Unknown" "France" "EuropeanUnion" "OutsideEuropeanUnion" |
| ValueDate | string or null <date-time> |
| TargetDate | string or null <date-time> |
| ExpDateBegin | string or null <date-time> |
| ExpDateEnd | string or null <date-time> |
| Mixed required | boolean |
| DocRef | string or null |
| VatAmount | number or null <double> |
| HtAmount | number or null <double> |
| TtcAmount | number or null <double> |
| CurrencyId | integer or null <int32> |
| CurrencyIsoCode | string or null |
| CurrencyName | string or null |
| CountryId | integer or null <int32> |
| CountryName | string or null |
| LanguageId | integer or null <int32> |
| LanguageIETFTag | string or null |
| LanguageLabel | string or null |
| ContactId | integer or null <int32> |
object (DocContactDto) | |
| NatureId | integer or null <int32> |
object (DocNatureDto) | |
Array of objects or null (DocPriceDto) | |
| CurrencyConf | number or null <double> |
| CountryConf | number or null <double> |
| LanguageConf | number or null <double> |
| NatureConf | number or null <double> |
| PriceConf | number or null <double> |
| DocRefConf | number or null <double> |
| ValueDateConf | number or null <double> |
| CategoryConf | number or null <double> |
| GenerateEntry required | boolean |
| AiModelName | string or null |
| PageCount | integer or null <int32> |
| EnterpriseSynonymId | integer or null <int32> |
| EnterpriseSynonymName | string or null |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}| id required | integer <int32> The unique identifier of the DocData record. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}The ID in the URL and the ID in the DTO must match.
| id required | integer <int32> The unique identifier of the DocData record to update. |
The updated DocData values.
| Id required | integer <int32> |
| FileId required | integer <int32> |
| EnterpriseId required | integer <int32> |
| Type required | string Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" |
| Category required | string Enum: "NormalInvoice" "DepositInvoice" "ProformaInvoice" "CreditNote" "Receipt" "DeliveryNote" "OrderForm" "BankReceipt" "Estimate" "TicketBankCarte" "Proof" "Invoice" "Other" |
| CountryClass | string or null Enum: "Unknown" "France" "EuropeanUnion" "OutsideEuropeanUnion" |
| ValueDate | string or null <date-time> |
| TargetDate | string or null <date-time> |
| ExpDateBegin | string or null <date-time> |
| ExpDateEnd | string or null <date-time> |
| Mixed required | boolean |
| DocRef | string or null |
| VatAmount | number or null <double> |
| HtAmount | number or null <double> |
| TtcAmount | number or null <double> |
| CurrencyId | integer or null <int32> |
| CurrencyIsoCode | string or null |
| CurrencyName | string or null |
| CountryId | integer or null <int32> |
| CountryName | string or null |
| LanguageId | integer or null <int32> |
| LanguageIETFTag | string or null |
| LanguageLabel | string or null |
| ContactId | integer or null <int32> |
object (DocContactDto) | |
| NatureId | integer or null <int32> |
object (DocNatureDto) | |
Array of objects or null (DocPriceDto) | |
| CurrencyConf | number or null <double> |
| CountryConf | number or null <double> |
| LanguageConf | number or null <double> |
| NatureConf | number or null <double> |
| PriceConf | number or null <double> |
| DocRefConf | number or null <double> |
| ValueDateConf | number or null <double> |
| CategoryConf | number or null <double> |
| GenerateEntry required | boolean |
| AiModelName | string or null |
| PageCount | integer or null <int32> |
| EnterpriseSynonymId | integer or null <int32> |
| EnterpriseSynonymName | string or null |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}This operation removes extracted data but does not delete the associated document.
| id required | integer <int32> The unique identifier of the DocData record to delete. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}This endpoint triggers on-demand extraction using Fred's internal machine learning models.
| documentId required | integer <int32> The unique identifier of the document to extract data from. |
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}The invoice states the tags of the document (type, number, dates, supplier, amounts, VAT breakdown), so none of them is read from the OCR. The nature, which an invoice does not state, is still predicted. The DocData is returned, not stored.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document ViDA created. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}This endpoint triggers on-demand extraction using Microsoft Azure's Form Recognizer AI service.
| documentId required | integer <int32> The unique identifier of the document to extract data from. |
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}FEC (Fichier des Écritures Comptables) imports contain pre-existing accounting data that can be converted to DocData format.
| documentId required | integer <int32> The unique identifier of the FEC-imported document. |
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}This endpoint is used by AI systems to update document data after processing. The ID in the URL and the ID in the DTO must match.
| id required | integer <int32> The unique identifier of the DocData record to update. |
The AI-generated DocData values.
| Id required | integer <int32> |
| FileId required | integer <int32> |
| EnterpriseId required | integer <int32> |
| Type required | string Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" |
| Category required | string Enum: "NormalInvoice" "DepositInvoice" "ProformaInvoice" "CreditNote" "Receipt" "DeliveryNote" "OrderForm" "BankReceipt" "Estimate" "TicketBankCarte" "Proof" "Invoice" "Other" |
| CountryClass | string or null Enum: "Unknown" "France" "EuropeanUnion" "OutsideEuropeanUnion" |
| ValueDate | string or null <date-time> |
| TargetDate | string or null <date-time> |
| ExpDateBegin | string or null <date-time> |
| ExpDateEnd | string or null <date-time> |
| Mixed required | boolean |
| DocRef | string or null |
| VatAmount | number or null <double> |
| HtAmount | number or null <double> |
| TtcAmount | number or null <double> |
| CurrencyId | integer or null <int32> |
| CurrencyIsoCode | string or null |
| CurrencyName | string or null |
| CountryId | integer or null <int32> |
| CountryName | string or null |
| LanguageId | integer or null <int32> |
| LanguageIETFTag | string or null |
| LanguageLabel | string or null |
| ContactId | integer or null <int32> |
object (DocContactDto) | |
| NatureId | integer or null <int32> |
object (DocNatureDto) | |
Array of objects or null (DocPriceDto) | |
| CurrencyConf | number or null <double> |
| CountryConf | number or null <double> |
| LanguageConf | number or null <double> |
| NatureConf | number or null <double> |
| PriceConf | number or null <double> |
| DocRefConf | number or null <double> |
| ValueDateConf | number or null <double> |
| CategoryConf | number or null <double> |
| GenerateEntry required | boolean |
| AiModelName | string or null |
| PageCount | integer or null <int32> |
| EnterpriseSynonymId | integer or null <int32> |
| EnterpriseSynonymName | string or null |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}This endpoint is used by third-party AI systems to submit extracted document data.
The provider-generated DocData values to create.
| Id required | integer <int32> |
| FileId required | integer <int32> |
| EnterpriseId required | integer <int32> |
| Type required | string Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" |
| Category required | string Enum: "NormalInvoice" "DepositInvoice" "ProformaInvoice" "CreditNote" "Receipt" "DeliveryNote" "OrderForm" "BankReceipt" "Estimate" "TicketBankCarte" "Proof" "Invoice" "Other" |
| CountryClass | string or null Enum: "Unknown" "France" "EuropeanUnion" "OutsideEuropeanUnion" |
| ValueDate | string or null <date-time> |
| TargetDate | string or null <date-time> |
| ExpDateBegin | string or null <date-time> |
| ExpDateEnd | string or null <date-time> |
| Mixed required | boolean |
| DocRef | string or null |
| VatAmount | number or null <double> |
| HtAmount | number or null <double> |
| TtcAmount | number or null <double> |
| CurrencyId | integer or null <int32> |
| CurrencyIsoCode | string or null |
| CurrencyName | string or null |
| CountryId | integer or null <int32> |
| CountryName | string or null |
| LanguageId | integer or null <int32> |
| LanguageIETFTag | string or null |
| LanguageLabel | string or null |
| ContactId | integer or null <int32> |
object (DocContactDto) | |
| NatureId | integer or null <int32> |
object (DocNatureDto) | |
Array of objects or null (DocPriceDto) | |
| CurrencyConf | number or null <double> |
| CountryConf | number or null <double> |
| LanguageConf | number or null <double> |
| NatureConf | number or null <double> |
| PriceConf | number or null <double> |
| DocRefConf | number or null <double> |
| ValueDateConf | number or null <double> |
| CategoryConf | number or null <double> |
| GenerateEntry required | boolean |
| AiModelName | string or null |
| PageCount | integer or null <int32> |
| EnterpriseSynonymId | integer or null <int32> |
| EnterpriseSynonymName | string or null |
{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}{- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}Returns categories including: Autre (Other), Facture (Normal Invoice), Facture d'acompte (Deposit Invoice), Facture Proforma, Facture d'avoir (Credit Note), Reçu/Ticket (Receipt), Bon de livraison (Delivery Note), Bon de commande (Order Form), Reçu de paiement (Bank Receipt), Devis (Estimate), and Ticket carte bancaire (Bank Card Ticket).
[- {
- "Id": 0,
- "Name": "string",
- "Label": "string"
}
]DocNatures are hierarchical with up to 3 levels of classification (e.g., BIENS > emballages > specific type).
| countryCodeId | integer or null <int32> Optional country code identifier to filter natures by country. |
| level1 | string or null Optional first-level classification filter (e.g., BIENS, SERVICES). |
| level2 | string or null Optional second-level classification filter (e.g., emballages, matières premières). |
| level3 | string or null Optional third-level classification filter. |
[- {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}
]The ID field in the DTO will be ignored and a new ID will be assigned automatically.
The document nature data to create.
| Id required | integer <int32> |
| CountryId | integer or null <int32> |
| Level1 | string or null <= 32 characters |
| Level2 | string or null <= 128 characters |
| Level3 | string or null <= 128 characters |
| Level4 | string or null <= 128 characters |
| Level5 | string or null <= 128 characters |
| Value | string or null <= 128 characters |
| Samples | string or null <= 256 characters |
{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}| id required | integer <int32> The unique identifier of the document nature. |
{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}The ID in the URL and the ID in the DTO must match.
| id required | integer <int32> The unique identifier of the document nature to update. |
The updated document nature data.
| Id required | integer <int32> |
| CountryId | integer or null <int32> |
| Level1 | string or null <= 32 characters |
| Level2 | string or null <= 128 characters |
| Level3 | string or null <= 128 characters |
| Level4 | string or null <= 128 characters |
| Level5 | string or null <= 128 characters |
| Value | string or null <= 128 characters |
| Samples | string or null <= 256 characters |
{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}This operation will fail if the nature is currently referenced by existing documents.
| id required | integer <int32> The unique identifier of the document nature to delete. |
{- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}The URL returned in the response is public and can be accessed without authentication for a limited time.
| id required | integer <int32> The unique identifier of the document tagger record. |
| withData | boolean or null True to include full DocData with the response; false (default) returns only basic tagger information. |
{- "Id": 0,
- "FileId": 0,
- "FileType": "Administrative",
- "FileUrl": "string",
- "PdfUrl": "string",
- "EnterpriseId": 0,
- "EnterpriseName": "string",
- "EnterpriseDesc": "string",
- "UserId": 0,
- "Status": "Waiting",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "TotalSeconds": 0,
- "Comment": "string",
- "Confidences": {
- "property1": 0,
- "property2": 0
}, - "Data": {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}, - "Priority": 0,
- "IsNewFile": true
}URLs returned are private and require authentication. Can filter by tagger IDs, file IDs, user IDs, status, enterprise, date range, tagging duration, and supports pagination.
| withData | boolean Default: false True to include full DocData (slower); false (default) returns only basic tagger information. |
| ids | Array of integers or null <int32> [ items <int32 > ] Optional array of tagger record identifiers to filter by. |
| fileIds | Array of integers or null <int32> [ items <int32 > ] Optional array of file/document identifiers to filter by. |
| userIds | Array of integers or null <int32> [ items <int32 > ] Optional array of user identifiers (taggers) to filter by. |
| status | string or null Enum: "Waiting" "Done" "Unknow" "Illisible" "Irrelevant" "Multiple" "Queuing" Optional tagger status to filter (Unknow, Illisible, Irrelevant, Multiple, etc.). |
| enterpriseId | integer or null <int32> Optional enterprise (accounting folder/Dossier) identifier to filter by. |
| start | string or null <date-time> Optional start date filter in format YYYY-MM-DD hh24:mm:ss. |
| end | string or null <date-time> Optional end date filter in format YYYY-MM-DD hh24:mm:ss. |
| totalSecondsMin | integer or null <int32> Optional minimum tagging duration in seconds. |
| totalSecondsMax | integer or null <int32> Optional maximum tagging duration in seconds. |
| size | integer or null <int32> Optional page size for pagination. |
| page | integer or null <int32> Optional page number for pagination, starting at 1. |
[- {
- "Id": 0,
- "FileId": 0,
- "FileType": "Administrative",
- "FileUrl": "string",
- "PdfUrl": "string",
- "EnterpriseId": 0,
- "EnterpriseName": "string",
- "EnterpriseDesc": "string",
- "UserId": 0,
- "Status": "Waiting",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "TotalSeconds": 0,
- "Comment": "string",
- "Confidences": {
- "property1": 0,
- "property2": 0
}, - "Data": {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}, - "Priority": 0,
- "IsNewFile": true
}
]| userId | integer or null <int32> if null, take UserId from Token |
| expireUrl | integer or null <int32> Default=60m:Minutes after which Url will not be readable |
| isPeek | boolean or null Default=False:If true, peek next to tag from queue but do not remove it from queue |
{- "Id": 0,
- "FileId": 0,
- "FileType": "Administrative",
- "FileUrl": "string",
- "PdfUrl": "string",
- "EnterpriseId": 0,
- "EnterpriseName": "string",
- "EnterpriseDesc": "string",
- "UserId": 0,
- "Status": "Waiting",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "TotalSeconds": 0,
- "Comment": "string",
- "Confidences": {
- "property1": 0,
- "property2": 0
}, - "Data": {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}, - "Priority": 0,
- "IsNewFile": true
}| isPage | boolean or null True to get number of pages; false or null (default) to get total item count. |
| sizePage | integer or null <int32> Page size used when isPage is true to calculate page count. |
0Returns status options including: Unknow (Unknown), Illisible (Illegible), Irrelevant (Useless), and Multiple (Multiple documents).
[- {
- "Id": 0,
- "Name": "string",
- "Label": "string"
}
]This endpoint allows a tagger to reset the timer if they need to restart the tagging process.
| id required | integer <int32> The unique identifier of the DocTagger record (not the file ID or user ID). |
{- "Id": 0,
- "FileId": 0,
- "FileType": "Administrative",
- "FileUrl": "string",
- "PdfUrl": "string",
- "EnterpriseId": 0,
- "EnterpriseName": "string",
- "EnterpriseDesc": "string",
- "UserId": 0,
- "Status": "Waiting",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "TotalSeconds": 0,
- "Comment": "string",
- "Confidences": {
- "property1": 0,
- "property2": 0
}, - "Data": {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}, - "Priority": 0,
- "IsNewFile": true
}This endpoint finalizes the tagging process and stores the tagged data. Only tagger records with status Waiting or Start can be moved to Done.
| id required | integer <int32> The unique identifier of the DocTagger record (from GetNext endpoint). |
The completed tagging data to save.
| Id required | integer <int32> |
| FileId required | integer <int32> |
| FileType required | string Enum: "Administrative" "Client" "Supplier" "ExpenseReport" "Bank" "Others" "TicketAttachment" "RevisionAttachment" "ImportData" "FecExport" "Sellsy" "None" |
| FileUrl | string or null |
| PdfUrl | string or null |
| EnterpriseId required | integer <int32> |
| EnterpriseName | string or null |
| EnterpriseDesc | string or null |
| UserId required | integer <int32> |
| Status required | string Enum: "Waiting" "Done" "Unknow" "Illisible" "Irrelevant" "Multiple" "Queuing" |
| StartDate | string or null <date-time> |
| EndDate | string or null <date-time> |
| TotalSeconds | integer or null <int32> |
| Comment | string or null <= 256 characters |
object or null | |
object (DocDataDto) | |
| Priority required | integer <int32> |
| IsNewFile required | boolean |
{- "Id": 0,
- "FileId": 0,
- "FileType": "Administrative",
- "FileUrl": "string",
- "PdfUrl": "string",
- "EnterpriseId": 0,
- "EnterpriseName": "string",
- "EnterpriseDesc": "string",
- "UserId": 0,
- "Status": "Waiting",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "TotalSeconds": 0,
- "Comment": "string",
- "Confidences": {
- "property1": 0,
- "property2": 0
}, - "Data": {
- "Id": 0,
- "FileId": 0,
- "EnterpriseId": 0,
- "Type": "Expect",
- "Category": "NormalInvoice",
- "CountryClass": "Unknown",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "Mixed": true,
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CurrencyId": 0,
- "CurrencyIsoCode": "string",
- "CurrencyName": "string",
- "CountryId": 0,
- "CountryName": "string",
- "LanguageId": 0,
- "LanguageIETFTag": "string",
- "LanguageLabel": "string",
- "ContactId": 0,
- "Contact": {
- "Id": 0,
- "Name": "string",
- "OfficialName": "string",
- "Email": "string",
- "Tel": "string",
- "Addresse": "string",
- "ZipCode": "string",
- "City": "string",
- "CountryId": 0,
- "CountryName": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "ThirdPartyId": 0,
- "NameConf": 0.1,
- "EmailConf": 0.1,
- "TelConf": 0.1,
- "AddresseConf": 0.1,
- "ZipCodeConf": 0.1,
- "CityConf": 0.1,
- "IdentityConf": 0.1
}, - "NatureId": 0,
- "Nature": {
- "Id": 0,
- "CountryId": 0,
- "Level1": "string",
- "Level2": "string",
- "Level3": "string",
- "Level4": "string",
- "Level5": "string",
- "Value": "string",
- "Samples": "string"
}, - "Prices": [
- {
- "Id": 0,
- "DocDataId": 0,
- "VatId": 0,
- "VatRate": 0.1,
- "VatLabel": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
], - "CurrencyConf": 0.1,
- "CountryConf": 0.1,
- "LanguageConf": 0.1,
- "NatureConf": 0.1,
- "PriceConf": 0.1,
- "DocRefConf": 0.1,
- "ValueDateConf": 0.1,
- "CategoryConf": 0.1,
- "GenerateEntry": true,
- "AiModelName": "string",
- "PageCount": 0,
- "EnterpriseSynonymId": 0,
- "EnterpriseSynonymName": "string"
}, - "Priority": 0,
- "IsNewFile": true
}0The file is stored in Azure blob storage using the folder's configured container. After upload, the document enters the workflow pipeline for OCR extraction and data processing unless WithoutWorkFlow flag is set.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) where the document will be stored. |
| TypeScan required | string Enum: "Administrative" "Client" "Supplier" "ExpenseReport" "Bank" "Others" "TicketAttachment" "RevisionAttachment" "ImportData" "FecExport" "Sellsy" "None" |
| FileSource | string or null Enum: "Api" "Firebase" "DropBox" "SendGrid" "Magas" "Mobile" "Edi" "Sellsy" "Viseeon" "Fred" "QuickBooks" "Meg" "Billing" "CashManager" "ViDA" |
| ClientSource | string or null |
| Document required | string <binary> |
| DocumentName | string or null |
| ContainerName | string or null |
| DocRef | string or null |
| SourceId | string or null |
| WithoutWorkFlow | boolean |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}Only documents belonging to the specified accounting folder are returned. Non-existent document IDs are silently ignored.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| documentsId | Array of integers or null <int32> [ items <int32 > ] List of document identifiers to retrieve. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}
]| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| id required | integer <int32> The unique identifier of the document to retrieve. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}This endpoint generates time-limited public URLs for the document file and its thumbnail, allowing secure temporary access without authentication.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| id required | integer <int32> The unique identifier of the document to prepare for preview. |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileType": "Administrative",
- "Status": "Received",
- "Name": "string",
- "FileUrl": "string",
- "PdfUrl": "string",
- "Owner": {
- "UrlAvatar": "string",
- "FullName": "string"
}
}Default page size is 1000 if not specified. Supports multiple filter combinations including amount ranges, date ranges, file status, and full-text search.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to search within. |
Search command containing filter and sort parameters. SearchFields supports: None, AmountAbove, AmountBelow, OwnerId, FileStatus, Text, BeginUploadDate, EndUploadDate, BeginEffectiveDate, EndEffectiveDate, FileType, AmountDirection, CheckSum, SourceId, FileSource, MultiCriteria, ApproximateAmount, TargetDate, HasRevisedStatus, Relevance ('true' ranks a Text search by relevance). SortFields supports: None, Date, AbsoluteAmount, CounterParty, EffectiveDate, ApproximateAmount, Name. SortDirection values: Ascending, Descending.
object or null | |
object or null | |
object (SearchAnalyticFilter) | |
| Page | integer or null <int32> |
| Size | integer or null <int32> |
{- "SearchFields": {
- "property1": "string",
- "property2": "string"
}, - "SortFields": {
- "property1": "Ascending",
- "property2": "Ascending"
}, - "AnalyticFilter": {
- "WithAxisId": 0,
- "WithoutAxisId": 0,
- "WithTagId": 0,
- "WithoutTagId": 0
}, - "Page": 0,
- "Size": 0
}[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}
]This endpoint is useful for detecting duplicate uploads by comparing file checksums. Only documents with FileStatus.Done are considered to ensure completed processing.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to search within. |
| checksum required | string The SHA-256 file checksum to search for. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}The count includes all documents regardless of status. If no enterprise IDs are provided, counts all documents in the folder.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) providing the search context. |
| day | string <date-time> The reference date for counting documents. |
| enterpriseIds | Array of integers or null <int32> [ items <int32 > ] Optional list of enterprise identifiers to filter the count; if empty or null, all enterprises are included. |
0This endpoint is used to find documents imported from external systems using their original reference identifiers.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to search within. |
| sourceId required | string The external source system's unique identifier for the document. |
| fileSource required | string Enum: "Api" "Firebase" "DropBox" "SendGrid" "Magas" "Mobile" "Edi" "Sellsy" "Viseeon" "Fred" "QuickBooks" "Meg" "Billing" "CashManager" "ViDA" The origin system of the upload (e.g., Api, Email, Glady, BankFeed). |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}This endpoint provides statistical information about search results without returning the actual documents. Default page size is 1000 if not specified. Useful for building UI components like faceted search filters and pagination controls.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to search within. |
Search command containing filter and sort parameters. SearchFields supports: None, AmountAbove, AmountBelow, OwnerId, FileStatus, Text, BeginUploadDate, EndUploadDate, BeginEffectiveDate, EndEffectiveDate, FileType, AmountDirection, CheckSum, SourceId, FileSource, MultiCriteria, ApproximateAmount, TargetDate, HasRevisedStatus, Relevance ('true' ranks a Text search by relevance). SortFields supports: None, Date, AbsoluteAmount, CounterParty, EffectiveDate, ApproximateAmount, Name. SortDirection values: Ascending, Descending.
object or null | |
object or null | |
object (SearchAnalyticFilter) | |
| Page | integer or null <int32> |
| Size | integer or null <int32> |
{- "SearchFields": {
- "property1": "string",
- "property2": "string"
}, - "SortFields": {
- "property1": "Ascending",
- "property2": "Ascending"
}, - "AnalyticFilter": {
- "WithAxisId": 0,
- "WithoutAxisId": 0,
- "WithTagId": 0,
- "WithoutTagId": 0
}, - "Page": 0,
- "Size": 0
}{- "FilesCount": 0
}Counterparty names are extracted from document data and can be filtered by file type. Useful for autocomplete fields and filtering options in the UI.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to retrieve counterparties from. |
| types | Array of strings or null Enum: "Administrative" "Client" "Supplier" "ExpenseReport" "Bank" "Others" "TicketAttachment" "RevisionAttachment" "ImportData" "FecExport" "Sellsy" "None" Optional list of file types to filter counterparties (e.g., Invoice, Receipt, CreditNote); if null, all types are included. |
[- "string"
]Status transitions are controlled by user permissions and the current document state. This ensures users can only perform authorized status changes based on their role.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document for which to retrieve authorized statuses. |
[- "string"
]The URL expires after a configured time period and allows unauthenticated access for the duration. Useful for sharing documents externally or embedding in emails.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document for which to generate the public URL. |
"string"This endpoint is deprecated; use GetDocumentPreDeleteInformationAsync (POST version) instead. Returns information about linked entities (book entries, duplicates) that will be affected by deletion.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| deleteDocumentIds | Array of integers or null <int32> [ items <int32 > ] List of document identifiers to analyze for deletion impacts. |
{- "AccountingDocumentList": [
- {
- "BookEntryList": [
- {
- "BookEntryId": 0,
- "ValidationDate": "2019-08-24T14:15:22Z",
- "IsValidated": true
}
], - "DocumentId": 0,
- "IsFromElectronicInvoice": true,
- "IsDeletable": true,
- "HasDeletableBookEntries": true
}
], - "TotalDocumentCount": 0,
- "TotalBookEntryCount": 0,
- "TotalValidatedBookEntryCount": 0
}Returns information about linked entities (book entries, duplicate documents) that will be affected or prevent deletion. Use this endpoint to display confirmation dialogs with deletion impacts to users.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
List of document identifiers to analyze for deletion impacts.
[- 0
]{- "AccountingDocumentList": [
- {
- "BookEntryList": [
- {
- "BookEntryId": 0,
- "ValidationDate": "2019-08-24T14:15:22Z",
- "IsValidated": true
}
], - "DocumentId": 0,
- "IsFromElectronicInvoice": true,
- "IsDeletable": true,
- "HasDeletableBookEntries": true
}
], - "TotalDocumentCount": 0,
- "TotalBookEntryCount": 0,
- "TotalValidatedBookEntryCount": 0
}When deleting original documents that have duplicates, all linked duplicate documents are also deleted automatically. The physical files are removed from Azure blob storage along with database records.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| deleteDocumentIds | Array of integers or null <int32> [ items <int32 > ] List of document identifiers to permanently delete. |
This endpoint provides flexible deletion options allowing separate control of document file deletion and accounting book entry deletion. Useful when book entries need to be preserved while removing document files, or vice versa.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
Deletion command specifying document IDs and boolean flags for deleting documents and/or book entries.
| DocumentIdList | Array of integers or null <int32> [ items <int32 > ] |
| AreDocumentsDeleted required | boolean |
| AreBookEntriesDeleted required | boolean |
{- "DocumentIdList": [
- 0
], - "AreDocumentsDeleted": true,
- "AreBookEntriesDeleted": true
}This triggers Google Cloud Vision OCR processing on the document file. The OCR result is stored for later retrieval and data extraction purposes.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document to process with OCR. |
| ocrRequestOrigin | string Enum: "FileWorkflow" "FecImport" The origin/source of the OCR request indicating who or what initiated the processing. |
{- "IsSuccess": true,
- "Message": "string"
}When documents are detected as duplicates, they are linked to their original version. This endpoint retrieves the original document and optionally generates a temporary public URL for file access.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| documentId required | integer <int32> The unique identifier of the duplicate document for which to find the original. |
| withPublicUrl | boolean Default: true True (default) to generate a temporary public URL for the original document file; false to omit URL generation. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}Useful for filtering documents by uploader or displaying contributor lists in the UI.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) for which to retrieve contributor user IDs. |
[- 0
]This is a partial update endpoint - only provided fields are updated, others remain unchanged. Useful for correcting document name, type, references, or linking to related resources.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document to update. |
| Name | string or null |
| Type | string or null Enum: "Administrative" "Client" "Supplier" "ExpenseReport" "Bank" "Others" "TicketAttachment" "RevisionAttachment" "ImportData" "FecExport" "Sellsy" "None" |
| DocRef | string or null |
| ThumbUrl | string or null |
| GoogleJsonUrl | string or null <= 512 characters |
| OriginalId | integer or null <int32> |
This URL points to an optimized/compressed PDF version of the document stored separately from the original file. Used for faster preview and download of large documents.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document to update. |
The Azure blob storage URL of the compressed PDF file.
The Azure blob storage URL of the compressed PDF file.
"string"This flag is used for tracking documents that have been corrected or revised in the accounting system. Impacts filtering and reporting of documents with revisions.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document to update. |
True if the document has revised accounting entries; false otherwise.
True if the document has revised accounting entries; false otherwise.
truePerforms authorization and coherence validation before applying the status change. The userId parameter is ignored; the authenticated user from the request context is used instead. Supports optional status reason codes for audit trails and workflow tracking.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document whose status will be changed. |
| userId | integer <int32> User initiating the change (parameter ignored, current authenticated user is used). |
| newStatus | string Enum: "Received" "ToReview" "Processing" "Duplicate" "Done" "ManualProcessing" "Deleted" The new file status to apply to the document (e.g., Validated, Rejected). |
| statusReason | integer or null <int32> Optional status reason code providing context for the status change (nullable). |
Performs batch status updates with individual validation per document. Returns detailed results indicating success or failure for each document. Useful for bulk approval/rejection workflows in document processing pipelines.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| documentIds | Array of integers or null <int32> [ items <int32 > ] List of document identifiers to update with the new status. |
| newStatus | string Enum: "Received" "ToReview" "Processing" "Duplicate" "Done" "ManualProcessing" "Deleted" The new file status to apply to all specified documents. |
| statusReason | integer or null <int32> Optional status reason code applied to all documents (nullable). |
{- "IsSuccess": true,
- "Results": [
- {
- "DocumentId": 0,
- "IsSuccess": true,
- "Document": {
- "Id": 0,
- "AccountingFolderId": 0,
- "Name": "string",
- "Type": "Administrative",
- "Size": 0,
- "OrigineId": 0,
- "DeletedAt": "2019-08-24T14:15:22Z",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Source": "string",
- "SourceId": "string",
- "ClientSource": "string",
- "DocRef": "string",
- "Checksum": "string",
- "Status": "Received",
- "StatusReason": 0,
- "StatusUpdatedAt": "2019-08-24T14:15:22Z",
- "StatusResponsibleUserId": 0,
- "FileUrl": "string",
- "ThumbUrl": "string",
- "GoogleJsonUrl": "string",
- "OwnerId": 0,
- "FolderItemId": 0,
- "OriginalName": "string",
- "ContentSource": "DocData",
- "StatusReasons": "None",
- "CounterParty": "string",
- "Amount": 0.1,
- "EffectifDate": "2019-08-24T14:15:22Z",
- "UserDefinedThirdPartyName": "string",
- "TargetDate": "2019-08-24T14:15:22Z",
- "EntryGenerationProvider": "Inqom",
- "HasRevisedStatus": true,
- "IsMarkedAsNotDuplicate": true,
- "Provider": "string"
}
}
]
}Lightweight existence check useful for validation before performing operations on documents. Does not load full document details, optimized for quick validation scenarios.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) to check within. |
| documentId required | integer <int32> The unique identifier of the document to verify existence. |
trueDynamically generates a ZIP archive on-the-fly from Azure blob storage files. Useful for bulk document download operations in the client application. The ZIP file is streamed directly to the client without intermediate disk storage.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
List of document identifiers whose files will be included in the ZIP archive.
[- 0
]Returns machine learning or third-party processing results such as OCR data, classification, or extracted entities. Used to display automated processing outcomes before user applies or rejects them.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document whose external results will be retrieved. |
{- "AccountingFolderId": 0,
- "DocumentId": 0,
- "ExternalProvider": "string",
- "IsSuccess": true,
- "ErrorCode": "string",
- "ErrorMessage": "string",
- "RawPayload": "string"
}Accepts and persists external provider processing results (e.g., OCR text, extracted fields, classifications). Typically invoked after user reviews and approves automated processing results. Updates document metadata and associated entities with the applied results.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document to which results will be applied. |
Command payload containing the external provider results to persist.
| IsSuccess required | boolean |
| ErrorCode | string or null |
| ErrorMessage | string or null |
| DocumentType required | string Enum: "None" "BuyInvoice" "SellInvoice" "ExpenseReport" "SellCreditNote" "BuyCreditNote" "Other" |
| DuplicateOriginalDocumentId | integer or null <int32> |
object (ExternalBookEntry) | |
object (DocumentMetaData) | |
| ExternalProviderId | string or null |
{- "IsSuccess": true,
- "ErrorCode": "string",
- "ErrorMessage": "string",
- "DocumentType": "None",
- "DuplicateOriginalDocumentId": 0,
- "BookEntry": {
- "Lines": [
- {
- "Account": "string",
- "Amount": 0,
- "IsCredit": true,
- "Label": "string",
- "VatRate": 0.1,
- "Quantities": [
- {
- "Quantity": 0,
- "MeasureUnit": "string"
}
]
}
]
}, - "DocumentMetaData": {
- "ValueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalTtcAmount": 0.1,
- "TotalHtAmount": 0.1,
- "TotalVatAmount": 0.1,
- "CurrencyIso4217Code": "string",
- "ThirdPartyName": "string",
- "ThirdPartyIdentifier": "string",
- "Reference": "string"
}, - "ExternalProviderId": "string"
}Receives webhook or callback events from external processing providers. Used to track processing pipeline status, completion notifications, or error reports. Enables asynchronous integration with third-party document processing services.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) associated with the event. |
Command payload containing external provider event data and metadata.
| IsError required | boolean |
| EventType | string or null |
| EventCode | string or null |
| EventDescription | string or null |
| ExternalResourceId | string or null |
{- "IsError": true,
- "EventType": "string",
- "EventCode": "string",
- "EventDescription": "string",
- "ExternalResourceId": "string"
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document whose entries are generated again. |
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document. |
{- "BlockedReason": "ValidatedEntry"
}| accountingFolderId required | integer <int32> |
| documentId required | integer <int32> |
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the document. |
| documentId required | integer <int32> The unique identifier of the document. |
{- "OriginalDocumentId": 0,
- "FlaggedAt": "2019-08-24T14:15:22Z",
- "UnmarkedByUserId": 0,
- "UnmarkedAt": "2019-08-24T14:15:22Z"
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
The documents of the selection, 1 to 500 of them.
| DocumentIds | Array of integers or null <int32> [ items <int32 > ] The unique identifiers of the selected documents. |
{- "DocumentIds": [
- 0
]
}{- "Documents": [
- {
- "DocumentId": 0,
- "BlockedReason": "ValidatedEntry",
- "HasEntries": true
}
]
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
The documents of the selection, 1 to 500 of them.
| DocumentIds | Array of integers or null <int32> [ items <int32 > ] The unique identifiers of the selected documents. |
{- "DocumentIds": [
- 0
]
}{- "Results": [
- {
- "DocumentId": 0,
- "IsSuccess": true,
- "Error": "string"
}
]
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
The documents of the selection, 1 to 500 of them.
| DocumentIds | Array of integers or null <int32> [ items <int32 > ] The unique identifiers of the selected documents. |
{- "DocumentIds": [
- 0
]
}{- "Results": [
- {
- "DocumentId": 0,
- "IsSuccess": true,
- "Error": "string"
}
]
}DocumentData corresponds to the data extracted from a document through AI processing or manual tagging. Only documents belonging to the specified accounting folder can be retrieved.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) containing the documents. |
| documentIds | Array of integers or null <int32> [ items <int32 > ] List of document identifiers for which to retrieve extracted data. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentId": 0,
- "NatureId": 0,
- "CurrencyId": 0,
- "LanguageId": 0,
- "DueDate": "2019-08-24T14:15:22Z",
- "Country": {
- "Id": 0,
- "Code": "string",
- "Name": "string",
- "IsInEurope": true
}, - "CountryClass": "Unknown",
- "FileType": "Administrative",
- "OwnerId": 0,
- "Type": "Expect",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "GenerateEntry": true,
- "Category": "NormalInvoice",
- "AiModelName": "string",
- "PageCount": 0,
- "DocumentDataConfidences": {
- "NatureConfidence": 0.1,
- "NameConfidence": 0.1,
- "ValueDateConfidence": 0.1,
- "DocRefConfidence": 0.1,
- "PriceConfidence": 0.1,
- "CurrencyConfidence": 0.1
}, - "DocumentDataContact": {
- "Id": 0,
- "Name": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "IdentityConf": 0.1,
- "ThirdPartyId": 0,
- "Email": "string",
- "Tel": "string",
- "Address": "string",
- "ZipCode": "string",
- "City": "string"
}, - "DocumentDataDataPrices": [
- {
- "Id": 0,
- "VatId": 0,
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
]
}
]A document may have multiple DocumentData records if it was processed by different extraction sources or updated over time.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
| documentId required | integer <int32> The unique identifier of the document. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentId": 0,
- "NatureId": 0,
- "CurrencyId": 0,
- "LanguageId": 0,
- "DueDate": "2019-08-24T14:15:22Z",
- "Country": {
- "Id": 0,
- "Code": "string",
- "Name": "string",
- "IsInEurope": true
}, - "CountryClass": "Unknown",
- "FileType": "Administrative",
- "OwnerId": 0,
- "Type": "Expect",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "GenerateEntry": true,
- "Category": "NormalInvoice",
- "AiModelName": "string",
- "PageCount": 0,
- "DocumentDataConfidences": {
- "NatureConfidence": 0.1,
- "NameConfidence": 0.1,
- "ValueDateConfidence": 0.1,
- "DocRefConfidence": 0.1,
- "PriceConfidence": 0.1,
- "CurrencyConfidence": 0.1
}, - "DocumentDataContact": {
- "Id": 0,
- "Name": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "IdentityConf": 0.1,
- "ThirdPartyId": 0,
- "Email": "string",
- "Tel": "string",
- "Address": "string",
- "ZipCode": "string",
- "City": "string"
}, - "DocumentDataDataPrices": [
- {
- "Id": 0,
- "VatId": 0,
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
]
}
]| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
| documentId required | integer <int32> The unique identifier of the document. |
| id required | integer <int32> The unique identifier of the DocumentData record. |
{- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentId": 0,
- "NatureId": 0,
- "CurrencyId": 0,
- "LanguageId": 0,
- "DueDate": "2019-08-24T14:15:22Z",
- "Country": {
- "Id": 0,
- "Code": "string",
- "Name": "string",
- "IsInEurope": true
}, - "CountryClass": "Unknown",
- "FileType": "Administrative",
- "OwnerId": 0,
- "Type": "Expect",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "GenerateEntry": true,
- "Category": "NormalInvoice",
- "AiModelName": "string",
- "PageCount": 0,
- "DocumentDataConfidences": {
- "NatureConfidence": 0.1,
- "NameConfidence": 0.1,
- "ValueDateConfidence": 0.1,
- "DocRefConfidence": 0.1,
- "PriceConfidence": 0.1,
- "CurrencyConfidence": 0.1
}, - "DocumentDataContact": {
- "Id": 0,
- "Name": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "IdentityConf": 0.1,
- "ThirdPartyId": 0,
- "Email": "string",
- "Tel": "string",
- "Address": "string",
- "ZipCode": "string",
- "City": "string"
}, - "DocumentDataDataPrices": [
- {
- "Id": 0,
- "VatId": 0,
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
]
}This endpoint returns only the ID and type of each DocumentData record, useful for listing available extractions without loading full content.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
| documentId required | integer <int32> The unique identifier of the document. |
[- {
- "Id": 0,
- "Type": "Expect"
}
]When multiple DocumentData records exist for the same type, only the latest one is returned based on creation timestamp.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
| documentId required | integer <int32> The unique identifier of the document. |
| type required | string Enum: "Expect" "Compute" "GoogleProvider" "CombinedInternalExternal" "AzureFormRecognizer" "Chaintrust" "ViDA" The extraction type to filter by (e.g., Google, Azure, Manual, FecImported). |
{- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentId": 0,
- "NatureId": 0,
- "CurrencyId": 0,
- "LanguageId": 0,
- "DueDate": "2019-08-24T14:15:22Z",
- "Country": {
- "Id": 0,
- "Code": "string",
- "Name": "string",
- "IsInEurope": true
}, - "CountryClass": "Unknown",
- "FileType": "Administrative",
- "OwnerId": 0,
- "Type": "Expect",
- "ValueDate": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "ExpDateBegin": "2019-08-24T14:15:22Z",
- "ExpDateEnd": "2019-08-24T14:15:22Z",
- "DocRef": "string",
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "GenerateEntry": true,
- "Category": "NormalInvoice",
- "AiModelName": "string",
- "PageCount": 0,
- "DocumentDataConfidences": {
- "NatureConfidence": 0.1,
- "NameConfidence": 0.1,
- "ValueDateConfidence": 0.1,
- "DocRefConfidence": 0.1,
- "PriceConfidence": 0.1,
- "CurrencyConfidence": 0.1
}, - "DocumentDataContact": {
- "Id": 0,
- "Name": "string",
- "Identity": "string",
- "IdentityType": "NotFound",
- "IdentityConf": 0.1,
- "ThirdPartyId": 0,
- "Email": "string",
- "Tel": "string",
- "Address": "string",
- "ZipCode": "string",
- "City": "string"
}, - "DocumentDataDataPrices": [
- {
- "Id": 0,
- "VatId": 0,
- "VatAmount": 0.1,
- "HtAmount": 0.1,
- "TtcAmount": 0.1
}
]
}This endpoint helps predict the nature of a new document based on historical data from similar documents. The query can filter by either ThirdPartyId or Counterparty name.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
Query containing FileType and either ThirdPartyId or Counterparty name for matching.
| ThirdPartyId | integer or null <int32> |
| CounterpartyName | string or null |
{- "ThirdPartyId": 0,
- "CounterpartyName": "string"
}0| accountingFolderId required | integer <int32> The unique identifier of the accounting folder. |
Request body containing the email address to register.
string or null |
{- "Email": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Email": "string"
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder. |
[- {
- "FileType": "Administrative",
- "Address": "string"
}
]| companyId required | integer <int32> The unique identifier of the company (cabinet). |
Request body containing the email address to register.
string or null |
{- "Email": "string"
}{- "Id": 0,
- "AccountingFolderId": 0,
- "Email": "string"
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder. |
| id required | integer <int32> The unique identifier of the enterprise email provider to delete. |
{- "property1": null,
- "property2": null
}This endpoint creates an expense bill document with beneficiary information and automatically processes it through the document workflow. The file is stored in the accounting folder's configured Azure storage container.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier) where the expense bill will be stored. |
| File required | string <binary> Document content data |
| BeneficiaryFullName required | string Beneficiary full name as it is intended to be displayed |
| FileNameWithExtension | string or null File name with extension to override real one |
| DocumentReference | string or null Document unique reference |
{- "DocumentId": 0
}| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier) for which to retrieve file contents. |
[- {
- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}
]FileContent contains key accounting document data extracted by AI models, including the document text, useful for analysis.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}All fields provided in the viewModel are applied; fields not provided will be set to null or default values.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
| Id | integer <int32> |
| EnterpriseId | integer <int32> |
| FileId | integer <int32> |
| Counterparty | string or null |
| AmountTtc | number or null <double> |
| Date | string or null <date-time> |
| TargetDate | string or null <date-time> |
| StartDate | string or null <date-time> |
| EndDate | string or null <date-time> |
| IssuerDocRef | string or null |
| Text | string or null |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}If a FileContent already exists for the document, it will be updated instead of creating a duplicate.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
FileContent data to create.
| Id required | integer <int32> |
| EnterpriseId required | integer <int32> |
| FileId required | integer <int32> |
| Counterparty | string or null |
| AmountTtc | number or null <double> |
| Date | string or null <date-time> |
| TargetDate | string or null <date-time> |
| StartDate | string or null <date-time> |
| EndDate | string or null <date-time> |
| IssuerDocRef | string or null |
| Text | string or null |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document whose content should be deleted. |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}A POST method is used instead of GET to avoid query string length limitations when many file IDs are provided.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
List of file/document identifiers to retrieve content for.
[- 0
][- {
- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}
]Only provided (non-null) fields are updated; other fields remain unchanged.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
| text | string or null Extracted text content from the document (optional). |
| counterparty | string or null Name of the counterparty or third party (optional). |
| date | string or null <date-time> Document date (optional). |
| targetDate | string or null <date-time> Target or due date for the document (optional). |
| startDate | string or null <date-time> |
| endDate | string or null <date-time> |
| amountTtc | number or null <double> Total amount including tax (optional). |
| issueRefDoc | string or null Issuer document reference number (optional). |
{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
Command containing the text content to update.
| FileId required | integer <int32> |
| Text | string or null |
{- "FileId": 0,
- "Text": "string"
}{- "Id": 0,
- "EnterpriseId": 0,
- "FileId": 0,
- "Counterparty": "string",
- "AmountTtc": 0.1,
- "Date": "2019-08-24T14:15:22Z",
- "TargetDate": "2019-08-24T14:15:22Z",
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z",
- "IssuerDocRef": "string",
- "Text": "string"
}Meant for electronic invoices, whose issuer states the amounts instead of leaving them to be extracted. Declared this way, they are kept even when the extraction that follows the upload infers different ones — typically when it misses an exempt line. Call it right after the document is uploaded, before the extraction completes.
| enterpriseId required | integer <int32> The unique identifier of the enterprise (accounting folder/Dossier). |
| fileId required | integer <int32> The unique identifier of the file/document. |
The VAT breakdown declared by the issuer.
Array of objects or null (VatBreakdownLineCommand) | |
| IssuerDocRef | string or null |
{- "VatBreakdown": [
- {
- "VatRate": 0,
- "BasisAmount": 0,
- "VatAmount": 0
}
], - "IssuerDocRef": "string"
}This endpoint queues invoices for background processing by the Glady integration system. Processing results can be retrieved later using the integration results endpoint.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
Command containing the list of invoices to process.
Array of objects or null (GladyInvoice) |
{- "Invoices": [
- {
- "InvoiceDetails": {
- "FileType": "Sell",
- "Reference": "string",
- "InvoiceDate": "2019-08-24T14:15:22Z",
- "Nature": "None",
- "Category": "None",
- "TotalTtc": 0,
- "Currency": "string",
- "TotalHt": 0.1,
- "TotalTva": 0.1,
- "ExploitationDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z"
}, - "Client": {
- "Id": "string",
- "FullName": "string"
}, - "InvoiceLineItems": [
- {
- "Description": "string",
- "Quantity": 0,
- "UnitTtc": 0,
- "UnitHt": 0.1,
- "UnitTva": 0.1
}
], - "DocumentUrl": "string"
}
]
}A POST method is used instead of GET to avoid query string length limitations when many invoice references are provided.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
Query containing the list of invoice references to retrieve results for.
| InvoiceReferences | Array of strings or null |
{- "InvoiceReferences": [
- "string"
]
}{- "AccountingFolderId": 0,
- "Details": [
- {
- "InvoiceReference": "string",
- "Status": "Unknown",
- "Error": "string"
}
]
}A PUT method is used instead of GET to avoid query string length limitations when many invoice references are provided.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
Query containing the list of invoice references to retrieve.
| InvoiceReferences | Array of strings or null |
{- "InvoiceReferences": [
- "string"
]
}[- {
- "AccountingFolderId": 0,
- "AccountingDocumentId": 0,
- "Reference": "string",
- "InvoiceDetail": {
- "FileType": "Sell",
- "InvoiceDate": "2019-08-24T14:15:22Z",
- "ExploitationDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "InvoiceNature": "None",
- "InvoiceCategory": "None",
- "Currency": "string",
- "TotalTtc": 0,
- "TotalHt": 0.1,
- "TotalTva": 0.1
}, - "Client": {
- "Id": "string",
- "FullName": "string"
}, - "InvoiceLineItems": [
- {
- "Description": "string",
- "Quantity": 0,
- "UnitTtc": 0,
- "UnitHt": 0.1,
- "UnitTva": 0.1
}
]
}
]A POST method is used instead of GET to avoid query string length limitations when many document IDs are provided.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
List of document identifiers to retrieve associated invoices for.
[- 0
][- {
- "Id": 0,
- "AccountingFolderId": 0,
- "AccountingDocumentId": 0,
- "Reference": "string",
- "DocumentUrl": "string",
- "Status": "Unknown",
- "IntegrationErrorCode": "Unknown",
- "FileType": "Sell",
- "InvoiceDate": "2019-08-24T14:15:22Z",
- "ExploitationDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "InvoiceNature": "None",
- "InvoiceCategory": "None",
- "InvoiceOrigin": "Glady",
- "Currency": "string",
- "TotalTtc": 0,
- "TotalHt": 0.1,
- "TotalTva": 0.1,
- "Supplier": {
- "LegalEntityName": "string",
- "Address": "string",
- "TvaNumber": "string",
- "Siren": "string",
- "Siret": "string",
- "Rcs": "string"
}, - "Client": {
- "Id": "string",
- "FirstName": "string",
- "LastName": "string"
}, - "Lines": [
- {
- "Description": "string",
- "Quantity": 0,
- "UnitTtc": 0,
- "UnitHt": 0.1,
- "UnitTva": 0.1
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "UpdatedByUserId": 0
}
]A POST method is used instead of GET to avoid query string length limitations when many invoice references are provided.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
List of invoice reference strings to retrieve.
[- "string"
][- {
- "Id": 0,
- "AccountingFolderId": 0,
- "AccountingDocumentId": 0,
- "Reference": "string",
- "DocumentUrl": "string",
- "Status": "Unknown",
- "IntegrationErrorCode": "Unknown",
- "FileType": "Sell",
- "InvoiceDate": "2019-08-24T14:15:22Z",
- "ExploitationDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "InvoiceNature": "None",
- "InvoiceCategory": "None",
- "InvoiceOrigin": "Glady",
- "Currency": "string",
- "TotalTtc": 0,
- "TotalHt": 0.1,
- "TotalTva": 0.1,
- "Supplier": {
- "LegalEntityName": "string",
- "Address": "string",
- "TvaNumber": "string",
- "Siren": "string",
- "Siret": "string",
- "Rcs": "string"
}, - "Client": {
- "Id": "string",
- "FirstName": "string",
- "LastName": "string"
}, - "Lines": [
- {
- "Description": "string",
- "Quantity": 0,
- "UnitTtc": 0,
- "UnitHt": 0.1,
- "UnitTva": 0.1
}
], - "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "UpdatedByUserId": 0
}
]This endpoint allows updating the status of invoice integration processes (e.g., marking as sent, processed, or failed).
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder (Dossier). |
Command containing invoice identifier and new integration status.
| InvoiceReference | string or null |
| Status required | string Enum: "Unknown" "IntegrationInProgress" "IntegrationSuccessful" "IntegrationFailed" |
| ErrorCode | string or null Enum: "Unknown" "ERR_2101" "ERR_2102" "ERR_2103" "ERR_2104" "ERR_2105" "ERR_2106" "ERR_2107" "ERR_2108" "ERR_2109" |
{- "InvoiceReference": "string",
- "Status": "Unknown",
- "ErrorCode": "Unknown"
}