Download OpenAPI specification:
L'API ViDA est le point d'entrée central et sécurisé pour interagir avec l'écosystème de facturation électronique dans le cadre de la directive européenne VAT in Digital Age (ViDA). Conçue pour les Partenaires Agréés (PA) et les systèmes d'information des entreprises, elle facilite l'automatisation complète du cycle de vie des factures électroniques et la gestion des obligations fiscales associées.
Voir : Authentification API Inqom
Base URL
| companyId required | integer <int32> Internal identifier of the company (cabinet). |
| accountingFolderId required | integer <int32> Internal identifier of the accounting folder whose directory lines are returned. |
[- {
- "AddressingIdentifier": "string",
- "AddressingSuffix": "string",
- "Siren": "string",
- "Siret": "string",
- "RoutingIdentifier": "string",
- "Reachability": "Enabled",
- "PlatformType": "WK"
}
]Opens or closes e-invoice emission for the accounting folders of a cabinet, on behalf of any caller holding write access to the cabinet and to each folder.
| companyId required | integer <int32> Internal identifier of the cabinet owning the folders. |
The folders to update and the target state.
| AccountingFolderIds | Array of integers or null <int32> [ items <int32 > ] The accounting folders of the cabinet to update. |
| Enabled | boolean or null true to grant the emission access, false to remove it. |
{- "AccountingFolderIds": [
- 0
], - "Enabled": true
}{- "SuccessCount": 0,
- "Errors": [
- {
- "AccountingFolderId": 0,
- "Error": "string"
}
], - "HasErrors": true,
- "IsFullFailure": true
}Controller for managing mandates within a specific company context. Provides endpoints for creating, retrieving, sending reminders, and recreating mandates based on various criteria.
| companyId required | integer <int32> Internal identifier of the company (cabinet) owning the mandates. |
List of mandate entries to create. Each entry must contain the full mandate data.
| Siren required | string or null^[0-9]{9}$ SIREN number of the company for which the mandate is being created. Exactly 9 digits, with no separator (a value formatted with thousands separators is rejected for this entry only) and no surrounding whitespace. |
| Siret | string or null Optional SIRET number (14-digit French establishment identifier: 9-digit SIREN + 5-digit NIC) of the establishment covered by the mandate. When provided it is transmitted to the partner and must be consistent with the target accounting folder (same SIREN and NIC). A SIRET and addressing suffixes are mutually exclusive on the same entry. {null} when the mandate targets the company at the SIREN level. |
| CompanyExecutive required | string or null Full name of the company executive (dirigeant) responsible for the mandate. |
| BusinessName required | string or null Official business name (raison sociale) of the company covered by the mandate. |
| Address required | string or null Full postal address of the company covered by the mandate. |
required | object (ContactWithRoleCommand) Contact details and role of a person involved in a mandate.
|
required | object (CertifiedAccountantCommand) The certified public accountant (expert-comptable) linked to the mandate. Same per-entry error reporting as Fred.ViDA.Application.Mandates.Commands.ContactWithRoleCommand. |
| SkipMandateCreation required | boolean Indicates whether to skip the creation of mandate envelopes for the KYC job. |
| SkipMandateLegalConfirmation required | boolean Indicates whether a valid Platform Designation Mandate has already been duly signed, skipping the legal confirmation step. |
| AccountingFolderId required | integer <int32> Folder id associated with the mandate. |
Array of objects or null (AccountingFolderSuffixCommand) Data-driven addressing suffixes grouped by accounting folder. Each entry maps one accounting folder to its list of addressing suffixes. | |
| RegisterSirenAddress | boolean or null Whether the bare-SIREN addressing line must be registered for this SIREN alongside its suffixes (US 70094). Nullable so an absent value means "register" (bug 70505): {null} or {true} both register the SIREN-level line — the routing safety net for invoices addressed to the SIREN only. Set to {false} to register only the suffixed address(es) (e.g. SIREN_LMNP_ACHATS) without the bare SIREN — used when the bare SIREN is already carried by another accredited platform (PA) the client keeps. When {false}, at least one addressing suffix is required. |
[- {
- "Siren": "123456789",
- "Siret": "12345678900012",
- "CompanyExecutive": "Martin Pierre",
- "BusinessName": "Societe Dupont SAS",
- "Address": "12 rue de la Paix, 75001 Paris, France",
- "CompanyLegalRepresentative": {
- "LastName": "Dupont",
- "FirstName": "Jean-Pierre",
- "Email": "contact@example.com",
- "Phone": "+33123456789",
- "ActivateOtpSms": false,
- "Role": "Directeur Financier"
}, - "CertifiedAccountant": {
- "LastName": "string",
- "FirstName": "string",
- "Email": "user@example.com",
- "Phone": "string",
- "ActivateOtpSms": true,
- "Siren": "123456789",
- "BusinessName": "Cabinet Dupont et Associes",
- "Address": "12 rue de la Paix, 75001 Paris, France",
- "WillSignFormalAgreement": true,
- "Role": "string"
}, - "SkipMandateCreation": true,
- "SkipMandateLegalConfirmation": true,
- "AccountingFolderId": 0,
- "FolderSuffixes": [
- {
- "AccountingFolderId": 0,
- "Suffixes": [
- "string"
]
}
], - "RegisterSirenAddress": true
}
]{- "SuccessCount": 0,
- "Errors": [
- {
- "AccountingFolderId": 0,
- "Error": "string"
}
], - "HasErrors": true,
- "IsFullFailure": true
}| companyId required | integer <int32> Internal identifier of the PME enterprise owning the dossiers. |
The dossiers to register. The list size is bounded by the command validator.
| AccountingFolderId required | integer <int32> Folder (dossier) being registered. The SIREN is read from this folder. |
| BusinessName | string or null Official business name (raison sociale) of the company being registered. |
| Address | string or null Full postal address of the company's registered office. |
| CompanyExecutive | string or null Optional company executive (dirigeant). When absent, the signatory's full name is used. |
object (DirectMandateSignatory) The signatory of a direct-flow registration entry.
|
[- {
- "AccountingFolderId": 0,
- "BusinessName": "string",
- "Address": "string",
- "CompanyExecutive": "string",
- "CompanyLegalRepresentative": {
- "LastName": "string",
- "FirstName": "string",
- "Email": "string",
- "Phone": "string",
- "Role": "string",
- "ActivateOtpSms": true
}
}
]{- "SuccessCount": 0,
- "Errors": [
- {
- "AccountingFolderId": 0,
- "Error": "string"
}
], - "HasErrors": true,
- "IsFullFailure": true
}| companyId required | integer <int32> Internal identifier of the company (cabinet) owning the mandate. |
The new accounting folder id and its addressing suffixes.
Array of objects or null (AccountingFolderSuffixCommand) New accounting folders (each with its addressing suffixes) to attach to the existing mandate. |
{- "FolderSuffixes": [
- {
- "AccountingFolderId": 0,
- "Suffixes": [
- "string"
]
}
]
}{- "property1": null,
- "property2": null
}| companyId required | integer <int32> Internal identifier of the company (cabinet) owning the mandate. |
The target accounting folder that should become the carrier.
| AccountingFolderId required | integer <int32> Target accounting folder that should become the carrier of the bare SIREN line. |
{- "AccountingFolderId": 0
}{- "property1": null,
- "property2": null
}| companyId required | integer <int32> Internal identifier of the company owning the mandate. |
| accountingFolderId required | integer <int32> Internal identifier of the accounting folder linked to the mandate. |
{- "Id": 0,
- "CompanyId": 0,
- "AccountingFolderId": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "SignedAt": "2019-08-24T14:15:22Z",
- "Siren": "string",
- "ErrorMessage": "string",
- "Documents": [
- {
- "Id": 0,
- "Type": "string",
- "Signers": [
- {
- "Email": "string",
- "SignedAt": "2019-08-24T14:15:22Z",
- "LastName": "string",
- "FirstName": "string",
- "SignatureLink": "string",
- "SignatureLinkExpiresAt": "2019-08-24T14:15:22Z",
- "LastSignatureLinkOpenedAt": "2019-08-24T14:15:22Z",
- "ErrorEmailStatus": "FailedSendingToProvider",
- "ErrorEmailMessage": "string",
- "Status": "Initiated"
}
], - "SignedAt": "2019-08-24T14:15:22Z"
}
], - "SyncStatus": "Received",
- "SignatureSettings": {
- "ExpirationDate": "2019-08-24T14:15:22Z",
- "IntervalInDay": 0,
- "MaxOccurrences": 0
}, - "FolderSuffixes": [
- {
- "AccountingFolderId": 0,
- "Suffix": "string",
- "Status": "Received",
- "ErrorMessage": "string",
- "ErrorCode": "DuplicateCsv",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "SignedAt": "2019-08-24T14:15:22Z",
- "SignatureSettings": {
- "ExpirationDate": "2019-08-24T14:15:22Z",
- "IntervalInDay": 0,
- "MaxOccurrences": 0
}, - "Documents": [
- {
- "Id": 0,
- "Type": "string",
- "Signers": [
- {
- "Email": "string",
- "SignedAt": "2019-08-24T14:15:22Z",
- "LastName": "string",
- "FirstName": "string",
- "SignatureLink": "string",
- "SignatureLinkExpiresAt": "2019-08-24T14:15:22Z",
- "LastSignatureLinkOpenedAt": "2019-08-24T14:15:22Z",
- "ErrorEmailStatus": "FailedSendingToProvider",
- "ErrorEmailMessage": "string",
- "Status": "Initiated"
}
], - "SignedAt": "2019-08-24T14:15:22Z"
}
], - "MandateId": 0,
- "DateFrom": "2019-08-24T14:15:22Z"
}
], - "ErrorCode": "DuplicateCsv",
- "IdentityDocuments": [
- {
- "Type": "NationalIdentityCard",
- "Status": "Pending",
- "Errors": [
- "string"
], - "CreatedAt": "2019-08-24T14:15:22Z"
}
], - "KycVerificationPortalLink": "string",
- "DateFrom": "2019-08-24T14:15:22Z",
- "Siret": "string",
- "CompanyExecutive": "string",
- "BusinessName": "string",
- "Address": "string",
- "CompanyLegalRepresentative": {
- "Email": "string",
- "LastName": "string",
- "FirstName": "string",
- "Phone": "string",
- "Role": "string"
}, - "CertifiedAccountant": {
- "Email": "string",
- "LastName": "string",
- "FirstName": "string",
- "Phone": "string",
- "Siren": "string",
- "BusinessName": "string",
- "Address": "string",
- "WillSignFormalAgreement": true,
- "Role": "string"
}
}| companyId required | integer <int32> Internal identifier of the company whose mandates are retrieved. |
[- {
- "Id": 0,
- "CompanyId": 0,
- "AccountingFolderId": 0,
- "CreatedAt": "2019-08-24T14:15:22Z",
- "SignedAt": "2019-08-24T14:15:22Z",
- "Siren": "string",
- "ErrorMessage": "string",
- "Documents": [
- {
- "Id": 0,
- "Type": "string",
- "Signers": [
- {
- "Email": "string",
- "SignedAt": "2019-08-24T14:15:22Z",
- "LastName": "string",
- "FirstName": "string",
- "SignatureLink": "string",
- "SignatureLinkExpiresAt": "2019-08-24T14:15:22Z",
- "LastSignatureLinkOpenedAt": "2019-08-24T14:15:22Z",
- "ErrorEmailStatus": "FailedSendingToProvider",
- "ErrorEmailMessage": "string",
- "Status": "Initiated"
}
], - "SignedAt": "2019-08-24T14:15:22Z"
}
], - "SyncStatus": "Received",
- "SignatureSettings": {
- "ExpirationDate": "2019-08-24T14:15:22Z",
- "IntervalInDay": 0,
- "MaxOccurrences": 0
}, - "FolderSuffixes": [
- {
- "AccountingFolderId": 0,
- "Suffix": "string",
- "Status": "Received",
- "ErrorMessage": "string",
- "ErrorCode": "DuplicateCsv",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "SignedAt": "2019-08-24T14:15:22Z",
- "SignatureSettings": {
- "ExpirationDate": "2019-08-24T14:15:22Z",
- "IntervalInDay": 0,
- "MaxOccurrences": 0
}, - "Documents": [
- {
- "Id": 0,
- "Type": "string",
- "Signers": [
- {
- "Email": "string",
- "SignedAt": "2019-08-24T14:15:22Z",
- "LastName": "string",
- "FirstName": "string",
- "SignatureLink": "string",
- "SignatureLinkExpiresAt": "2019-08-24T14:15:22Z",
- "LastSignatureLinkOpenedAt": "2019-08-24T14:15:22Z",
- "ErrorEmailStatus": "FailedSendingToProvider",
- "ErrorEmailMessage": "string",
- "Status": "Initiated"
}
], - "SignedAt": "2019-08-24T14:15:22Z"
}
], - "MandateId": 0,
- "DateFrom": "2019-08-24T14:15:22Z"
}
], - "ErrorCode": "DuplicateCsv",
- "IdentityDocuments": [
- {
- "Type": "NationalIdentityCard",
- "Status": "Pending",
- "Errors": [
- "string"
], - "CreatedAt": "2019-08-24T14:15:22Z"
}
], - "KycVerificationPortalLink": "string",
- "DateFrom": "2019-08-24T14:15:22Z"
}
]| companyId required | integer <int32> Internal identifier of the company owning the mandates. |
List of internal mandate identifiers whose signatories should be reminded.
[- 0
]{- "property1": null,
- "property2": null
}| companyId required | integer <int32> Internal identifier of the company owning the mandates to recreate. |
List of internal identifiers of the expired or rejected mandates to recreate.
[- 0
]{- "SuccessCount": 0,
- "Errors": [
- {
- "AccountingFolderId": 0,
- "Error": "string"
}
]
}| companyId required | integer <int32> Internal identifier of the company owning the mandate. |
| mandateId required | integer <int32> Internal identifier of the mandate to cancel. |
{- "property1": null,
- "property2": null
}| companyId required | integer <int32> Internal identifier of the company (cabinet) owning the mandate. |
| accountingFolderId required | integer <int32> Internal identifier of the accounting folder the mandate belongs to. |
| mandateId required | integer <int32> Internal identifier of the mandate whose signature links are regenerated. |
[- {
- "Email": "string",
- "SignedAt": "2019-08-24T14:15:22Z",
- "LastName": "string",
- "FirstName": "string",
- "SignatureLink": "string",
- "SignatureLinkExpiresAt": "2019-08-24T14:15:22Z",
- "LastSignatureLinkOpenedAt": "2019-08-24T14:15:22Z",
- "ErrorEmailStatus": "FailedSendingToProvider",
- "ErrorEmailMessage": "string",
- "Status": "Initiated"
}
]| companyId required | integer <int32> Internal identifier of the company owning the mandate. |
| mandateId required | integer <int32> Internal identifier of the mandate containing the document. |
| documentId required | integer <int32> Internal identifier of the document to download. |
"string"| companyId required | integer <int32> Internal identifier of the company (cabinet) whose PA coverage is exported. |
"string"Manages ChainTrust sub-tokens on behalf of the authenticated partner. Requests are persisted locally
(company and accounting folders) while ChainTrust stays the live source of truth for IsActive and scopes.
Requires the Fred.ViDA.Application.Common.FeatureFlags.SubTokens feature flag.
Every route taking a client id answers 404 when the sub-token does not belong to the company. Routes that
link inbound routes answer 207 Multi-Status when ChainTrust refused some: the folders carrying the refused
addresses are listed in the response, and every other route is linked.
| companyId required | integer <int32> |
[- {
- "ClientId": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}
]| companyId required | integer <int32> |
| DisplayName required | string or null |
| Scopes | Array of strings or null Enum: "DirectoryRead" "FlowsRead" "FlowsWrite" |
| AccountingFolderIds | Array of integers or null <int32> [ items <int32 > ] |
{- "DisplayName": "string",
- "Scopes": [
- "DirectoryRead"
], - "AccountingFolderIds": [
- 0
]
}{- "ClientId": "string",
- "ClientSecret": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| clientId required | string |
{- "ClientId": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| clientId required | string |
| DisplayName required | string or null |
| IsActive | boolean or null |
| Scopes | Array of strings or null Enum: "DirectoryRead" "FlowsRead" "FlowsWrite" |
| AccountingFolderIds | Array of integers or null <int32> [ items <int32 > ] |
{- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "AccountingFolderIds": [
- 0
]
}{- "ClientId": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| DisplayName required | string or null |
| Scopes | Array of strings or null Enum: "DirectoryRead" "FlowsRead" "FlowsWrite" |
{- "DisplayName": "string",
- "Scopes": [
- "DirectoryRead"
]
}{- "ClientId": "string",
- "ClientSecret": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| clientId required | string |
{- "ClientId": "string",
- "DisplayName": "string",
- "IsActive": true,
- "Scopes": [
- "DirectoryRead"
], - "Sirens": [
- "string"
], - "AccountingFolderIds": [
- 0
], - "RejectedAccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| clientId required | string |
| AccountingFolderIds | Array of integers or null <int32> [ items <int32 > ] |
{- "AccountingFolderIds": [
- 0
]
}{- "ClientId": "string",
- "RequestedAccountingFolderIds": [
- 0
], - "RemovedAccountingFolderCount": 0,
- "AlreadyAbsentAccountingFolderCount": 0,
- "UnlinkedIdentifierCount": 0,
- "RetainedIdentifierCount": 0,
- "RemovedSirenCount": 0,
- "AccountingFolderIds": [
- 0
]
}| companyId required | integer <int32> |
| clientId required | string |
{- "ClientId": "string",
- "NewClientSecret": "string"
}| accountingFolderId required | integer <int32> The ID of the accounting folder to which the flows belong. |
| flowsIds | Array of integers or null <int32> [ items <int32 > ] The list of flow IDs to filter the requested flows. |
[- {
- "Id": 0,
- "AccountingFolderId": 0,
- "DocumentId": 0,
- "Invoice": {
- "Id": 0,
- "InvoiceType": "None",
- "InvoiceNumber": 0,
- "UserFormattedInvoiceNumber": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "DeliveryDate": "2019-08-24T14:15:22Z",
- "PublicTenderIdentifier": "string",
- "CurrencyCode": "string",
- "InvoiceSeller": {
- "LegalName": "string",
- "CommercialName": "string",
- "Siret": "string",
- "Siren": "string",
- "VatNumber": "string",
- "Email": "string",
- "PostalAddress": {
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "City": "string",
- "ZipCode": "string",
- "State": "string",
- "CountryIsoCode": "string"
}, - "AddressIdentifier": "string"
}, - "InvoiceBuyer": {
- "Name": "string",
- "Siret": "string",
- "Registration": "string",
- "VatNumber": "string",
- "Email": "string",
- "PostalAddress": {
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "City": "string",
- "ZipCode": "string",
- "State": "string",
- "CountryIsoCode": "string"
}, - "DeliveryAddress": {
- "Line1": "string",
- "Line2": "string",
- "Line3": "string",
- "City": "string",
- "ZipCode": "string",
- "State": "string",
- "CountryIsoCode": "string"
}, - "Siren": "string",
- "AddressIdentifier": "string"
}, - "PaymentInstructions": {
- "PaymentMeanCode": "string",
- "BankTransferPayment": {
- "BankAccount": {
- "Iban": "string",
- "BankName": "string"
}
}
}, - "BillingPeriod": {
- "StartDate": "2019-08-24T14:15:22Z",
- "EndDate": "2019-08-24T14:15:22Z"
}, - "ProductLines": [
- {
- "UniqueId": "string",
- "ItemName": "string",
- "Quantity": 0,
- "MeasureUnitCode": "string",
- "NetUnitPriceExclTax": 0,
- "TotalPriceExclTax": 0,
- "InvoiceVatRate": {
- "Percentage": 0,
- "FacturXCode": "string"
}, - "LineDiscounts": [
- {
- "ActualAmount": 0,
- "ReasonCode": "string",
- "ReasonText": "string"
}
], - "LineCharges": [
- {
- "ActualAmount": 0,
- "ReasonCode": "string",
- "ReasonText": "string"
}
]
}
], - "DocumentDiscounts": [
- {
- "Type": "Amount",
- "Value": 0,
- "BasisAmount": 0,
- "ActualAmount": 0,
- "ReasonCode": "string",
- "ReasonText": "string",
- "VatRate": {
- "Percentage": 0,
- "FacturXCode": "string"
}
}
], - "DocumentCharges": [
- {
- "Type": "Amount",
- "Value": 0,
- "BasisAmount": 0,
- "ActualAmount": 0,
- "ReasonCode": "string",
- "ReasonText": "string",
- "VatRate": {
- "Percentage": 0,
- "FacturXCode": "string"
}
}
], - "VatTotalAmounts": [
- {
- "BasisAmount": 0,
- "CalculatedAmount": 0,
- "InvoiceVatRate": {
- "Percentage": 0,
- "FacturXCode": "string"
}
}
], - "TotalLinePriceExclTax": 0,
- "TotalDocumentDiscountsAmount": 0,
- "TotalDocumentChargesAmount": 0,
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentInclTax": 0,
- "DepositAmount": 0,
- "TotalDocumentPayableAmount": 0,
- "VatLegalNoticeType": "ExemptionArticle261D4",
- "VatLegalNoticeText": "string"
}
}
]| accountingFolderId required | integer <int32> The ID of the accounting folder to search within. |
The query object containing the search filters.
| Status | string or null Enum: "None" "Deposited" "IssuedByPlatform" "ReceivedFromPlatform" "Available" "Processing" "Approved" "PartiallyApproved" "InDispute" "Suspended" "Completed" "Refused" "PaymentTransmitted" "Cashed" "Rejected" "Targeted" "Cancelled" "RoutingError" "PayerAccountChange" "Inadmissible" "LifeCycleRejected" "Scheduled" Possible values:
|
| SupplierName | string or null |
| InvoiceNumber | string or null |
| InvoiceType | string or null Enum: "SellerInvoice" "BuyerInvoice" Possible values:
|
| IssueDateFrom | string or null <date-time> |
| IssueDateTo | string or null <date-time> |
| DueDateFrom | string or null <date-time> |
| DueDateTo | string or null <date-time> |
| TotalAmountMin | number or null <double> |
| TotalAmountMax | number or null <double> |
| VatAmountMin | number or null <double> |
| VatAmountMax | number or null <double> |
| SortField | string or null Enum: "SupplierName" "InvoiceNumber" "IssueDate" "DueDate" "TotalAmount" "VatAmount" "BuyerName" Possible values:
|
| SortDirection | string or null Enum: "Ascending" "Descending" Possible values:
|
| PageNumber | integer or null <int32> |
| PageSize | integer or null <int32> |
| BuyerName | string or null |
| DocumentTypes | Array of strings or null Enum: "None" "CommercialInvoice" "CreditNote" "PrePaymentInvoice" "IntermediateInvoice" "BalanceInvoice" "DebitNote" "SelfBilledInvoice" "SelfBilledCreditNote" |
{- "Status": "None",
- "SupplierName": "string",
- "InvoiceNumber": "string",
- "InvoiceType": "SellerInvoice",
- "IssueDateFrom": "2019-08-24T14:15:22Z",
- "IssueDateTo": "2019-08-24T14:15:22Z",
- "DueDateFrom": "2019-08-24T14:15:22Z",
- "DueDateTo": "2019-08-24T14:15:22Z",
- "TotalAmountMin": 0.1,
- "TotalAmountMax": 0.1,
- "VatAmountMin": 0.1,
- "VatAmountMax": 0.1,
- "SortField": "SupplierName",
- "SortDirection": "Ascending",
- "PageNumber": 0,
- "PageSize": 0,
- "BuyerName": "string",
- "DocumentTypes": [
- "None"
]
}{- "Items": [
- {
- "FlowId": 0,
- "InvoiceNumber": "string",
- "SellerName": "string",
- "IssueDate": "2019-08-24T14:15:22Z",
- "DueDate": "2019-08-24T14:15:22Z",
- "TotalDocumentPriceExclTax": 0,
- "TotalDocumentVatAmount": 0,
- "TotalDocumentInclTax": 0,
- "Status": "None",
- "IsWaitingForIntegration": true,
- "BuyerName": "string",
- "DocumentType": "None"
}
], - "PageNumber": 0,
- "PageSize": 0,
- "TotalCount": 0,
- "PageCount": 0,
- "HasPreviousPage": true,
- "HasNextPage": true
}| accountingFolderId required | integer <int32> The unique identifier of the accounting folder containing the invoice. |
| flowId required | integer <int32> The unique identifier of the invoice to retrieve within the specified accounting folder. |
{- "PdfUrl": "string",
- "Items": [
- {
- "ReferenceId": 0,
- "Status": "None",
- "SubmittedAt": "2019-08-24T14:15:22Z",
- "ReasonCode": "NON_TRANSMISE",
- "ReasonDescription": "string",
- "CreatedByUserId": 0,
- "CreatedAt": "2019-08-24T14:15:22Z"
}
]
}The invoices are designated by the Id returned by POST .../invoices/search.
Approved, InDispute and Suspended first put the invoice into accounting: the status is
transmitted to the platform once the accounting entries exist. A disputed or suspended invoice stays in
accounting and no payment is forced. Any other status is transmitted at once.
Each invoice gets its own outcome: 200 when all of them succeeded, 207 when some failed (listed in
Failed with the reason), 400 when none could be processed or the request itself is invalid
(missing status, missing motive, or a motive the status does not admit). Asking again for the status an
invoice already carries is refused for that invoice.
Reserved to company executive, DAF and group DAF accounts: any other role is refused with 403.
| accountingFolderId required | integer <int32> The unique identifier of the accounting folder containing the invoices. |
The invoice flow IDs, the status to apply, and its motive when it carries one.
| ReferencedFlowIds | Array of integers or null <int32> [ items <int32 > ] Invoices to update, designated by the |
| Status | string or null Enum: "None" "Deposited" "IssuedByPlatform" "ReceivedFromPlatform" "Available" "Processing" "Approved" "PartiallyApproved" "InDispute" "Suspended" "Completed" "Refused" "PaymentTransmitted" "Cashed" "Rejected" "Targeted" "Cancelled" "RoutingError" "PayerAccountChange" "Inadmissible" "LifeCycleRejected" "Scheduled" Status applied to every listed invoice. A recipient answers an invoice with Possible values:
|
| ReasonCode | string or null Enum: "NON_TRANSMISE" "JUSTIF_ABS" "ROUTAGE_ERR" "AUTRE" "COORD_BANC_ERR" "TX_TVA_ERR" "MONTANTTOTAL_ERR" "CALCUL_ERR" "NON_CONFORME" "DOUBLON" "DEST_INC" "DEST_ERR" "TRANSAC_INC" "EMMET_INC" "CONTRAT_TERM" "DOUBLE_FACT" "CMD_ERR" "ADR_ERR" "SIRET_ERR" "CODE_ROUTAGE_ERR" "REF_CT_ABSENT" "REF_ERR" "PU_ERR" "REM_ERR" "QTE_ERR" "ART_ERR" "MODPAI_ERR" "QUALITE_ERR" "LIVR_INCOMP" "REJ_SEMAN" "REJ_UNI" "REJ_COH" "REJ_ADR" "REJ_CONT_B2G" "REJ_REF_PJ" "REJ_ASS_PJ" "IRR_VIDE_F" "IRR_TYPE_F" "IRR_SYNTAX" "IRR_TAILLE_PJ" "IRR_NOM_PJ" "IRR_VID_PJ" "IRR_EXT_DOC" "IRR_TAILLE_F" "IRR_ANTIVIRUS" Motive of the status, from the AFNOR XP Z12-012 table of status motives. Mandatory for Possible values:
|
| ReasonText | string or null Free-text explanation of the motive, transmitted with the status. Expected with the |
{- "ReferencedFlowIds": [
- 0
], - "Status": "None",
- "ReasonCode": "NON_TRANSMISE",
- "ReasonText": "string"
}{- "Succeeded": [
- 0
], - "Failed": [
- {
- "FlowId": 0,
- "ErrorMessage": "string"
}
], - "HasErrors": true,
- "IsFullFailure": true
}| accountingFolderId required | integer <int32> |
{- "AccountingFolderId": 0,
- "HasIncomingConfiguration": true,
- "HasOutgoingConfiguration": true,
- "DirectoryLines": [
- {
- "Type": "string",
- "PlatformName": "string",
- "AddressingIdentifier": "string",
- "StartDate": "2019-08-24T14:15:22Z",
- "Suffix": "string"
}
]
}