{"openapi":"3.0.1","info":{"title":"Ademico Peppol REST API","description":"# Introduction\n\nAdemico Peppol REST API helps you send and receive `Invoices`, `Credit Notes` and `Orders` in the Peppol Network.\n\nAdemico Peppol REST API is meant to be integrated in your ERP or in any other software application so that you can send\nand receive invoices automatically.\nAdemico Peppol REST API is not meant to be used by human users.\n\n> **INFO** Check our  <a href=\"https://peppol-tools.ademico-software.com\" target=\"_blank\">Peppol Tools</a>\n> to validate your\n> `Invoices`, `Credit Notes` and `Orders`, lookup participants in the Peppol Network and in the Peppol Directory and\n> many more.\n\n# Environments\n\nAdemico Peppol REST API is accessible in two environments:\n\n- TEST\n- PROD\n\n## TEST environment\n\nThe TEST environment is used to perform tests with the Ademico Peppol REST API and integrate it with your ERP or\nsoftware\napplication. TEST environment is using the SMK, the Peppol TEST environment.\n\nIt is not a problem to send invoices or other documents to other participants in the Peppol network in the TEST\nenvironment, they are not legally\nbinding.\n\nThe base URL paths for our TEST environment are different depending on if you are using OAuth2 or Basic\nAuthentication:\n\n- OAuth2: `https://test-peppol-api.ademico-software.com`\n- Basic Authentication: `https://test-peppol-api1.ademico-software.com/domibus`\n\nOnce you have finished your integration in TEST environment, you can move to the PROD environment.\n\n## PROD environment\n\nPROD environment is used to send legally binding invoices/credit notes to your business partners. We recommend using the\nPROD environment after you have finished your tests in our TEST environment.\n\nThe base URL paths for our PROD environment are:\n\n- OAuth2: `https://peppol-api.ademico-software.com`\n- Basic Authentication: `https://peppol-api1.ademico-software.com/domibus`\n\n# Authentication\n\nAdemico Peppol REST API supports the following types of authentication:\n\n- OAuth2\n- Basic authentication\n\n## OAuth2\n\nAccess is granted via an OAuth2 authorization server using the client credentials grant.\n\n### Credentials required for an API request\n\nEvery OAuth2 request to the Ademico Peppol REST API uses two separate credentials:\n\n1. An **OAuth access token (JWT)** obtained from the OAuth2 token endpoint using your `client_id` and `client_secret`.\n   Send this token in the `Authorization` header.\n2. An **Ademico API access token** supplied to you by Ademico. Send this value in the `accessToken` query parameter on\n   every API request. This token is specific to the TEST or PROD environment.\n\n> **IMPORTANT** The OAuth JWT and the `accessToken` query parameter are different credentials and are not\n> interchangeable. Obtaining an OAuth JWT does not replace the required `accessToken` query parameter.\n\n### Step 1: Obtain an OAuth access token\n\nUse the token endpoint for your environment:\n\n- TEST: `https://test-peppol-oauth2.ademico-software.com/oauth2/token`\n- PROD: `https://peppol-oauth2.ademico-software.com/oauth2/token`\n\nReplace `YOUR_CLIENT_ID` and `YOUR_CLIENT_SECRET` with the OAuth2 client credentials supplied to you. The following\nexample obtains a JWT in the TEST environment. The `--user` option makes curl send the client credentials using HTTP\nBasic authentication:\n\n```shell\ncurl --request POST \\\n  --user 'YOUR_CLIENT_ID:YOUR_CLIENT_SECRET' \\\n  --header 'Content-Type: application/x-www-form-urlencoded' \\\n  --data 'grant_type=client_credentials' \\\n  --data 'scope=peppol/document' \\\n  'https://test-peppol-oauth2.ademico-software.com/oauth2/token'\n```\n\nA successful response looks similar to:\n\n```json\n{\n  \"access_token\": \"eyJraWQiOiJ...\",\n  \"expires_in\": 3600,\n  \"token_type\": \"Bearer\"\n}\n```\n\nCopy the complete value of `access_token`. The JWT expires after approximately one hour, after which you must request a\nnew one.\n\n### Step 2: Call the Ademico Peppol REST API\n\nSend the OAuth JWT in the `Authorization` header:\n\n- `Authorization: Bearer YOUR_JWT_ACCESS_TOKEN`\n\nAlso add the Ademico API access token to the request URL as the `accessToken` query parameter. This example calls the\nconnectivity endpoint in the TEST environment using the standard `Bearer` form:\n\n```shell\ncurl --request GET \\\n  --header 'Authorization: Bearer YOUR_JWT_ACCESS_TOKEN' \\\n  --header 'Accept: application/json' \\\n  'https://test-peppol-api.ademico-software.com/api/peppol/v1/tools/connectivity?accessToken=YOUR_API_ACCESS_TOKEN'\n```\n\nA successful request returns HTTP status `200`. HTTP status `401` means that one or more authentication credentials are\nmissing or invalid.\n\n## Basic Authentication\n\nWhen using Basic Authentication, you need to send in your HTTP request an `Authorization` header that contains the\nword `Basic`\nword followed by a space and a base64-encoded string username:password.\n\nFor example, to authenticate as user / mypassword you would need to\nsend `Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64`.\n\nIn the examples from the following chapters, you would need to replace `YOUR_USERNAME_AND_PASSWORD_BASE64`\nwith your credentials in base64-encoded format.\n\nWhen using Basic Authentication, you need to use an access token `accessToken` as a query parameter in each request.\n\n> **NOTE** Contact us to send you the value of the `accessToken` which is specific to each environment TEST/PROD.\n\nExample of a curl request using Basic Authentication:\n\n```shell\ncurl -X GET -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -H \"Content-Type: application/json\" \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/tools/connectivity?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\" \n```\n\n<!-- ReDoc-Inject: <security-definitions> -->\n\n# Errors\n\nWhen using the endpoints from our Ademico Peppol REST API you might encounter an error. In this case we will normally\nrespond with\nstatus `400`\nunless documented otherwise in the specific resource method.\n\nPlease see below and example:\n\n```json\n{\n  \"code\": \"GENERIC_ERROR\",\n  \"message\": \"Details of the occurred error\"\n}\n```\n\nThe error detail contains a `code` which identifies the error type and a `message` providing more information about the\nerror occurred.\n\nYou can find below the list of possible error codes and their meaning:\n\n| Code                         | Description                                                                                           |\n|------------------------------|-------------------------------------------------------------------------------------------------------|\n| UNKNOWN_DOCUMENT_TYPE        | You try to send a document and we could not recognize the document type                               |\n| DOCUMENT_NOT_FOUND           | You refer to a document which does not exist in our system                                            |\n| DUPLICATE_DOCUMENT           | Occurs when you try to send a document which was already sent                                         |\n| SUBMITTED_DOCUMENT_NOT_VALID | You try to send an invalid document eg wrong mime type, empty document, inconsistent values etc       |\n| XML_VALIDATION_ERROR         | You try to send a document which is not a valid XML document                                          |\n| XSD_VALIDATION_ERROR         | You try to send a document which is not valid against the XSD schema                                  |\n| SCHEMATRON_VALIDATION_ERROR  | You try to send a document which does not pass the Peppol Schematron business validation rules        |\n| GENERIC_VALIDATION_ERROR     | Any other error that might occur when you try to send a document                                      |\n| SBDH_ERROR                   | An error occurred when we try to parse the SBDH envelope during sending/receiving flow                |\n| PARTICIPANT_LOOKUP_ERROR     | An error occurred while trying to look up a participant in the Peppol network(SML/SMP)                |\n| PARTICIPANT_ERROR            | Occurs when creating/updating/deleting a participant from Peppol network(SML/SMP) or Peppol Directory |\n| DOCUMENT_TRANSMISSION_ERROR  | An error occurred while trying to send a document to the receiver party                               |\n| GENERIC_ERROR                | Any other error not specified above                                                                   |\n\n# Supported Peppol documents\n\nYou can use the Ademico Peppol REST API to send and receive the following document types in the Peppol network:\n\n<details open>\n<summary><strong>Europe</strong></summary>\n\n| Document name                              | Identifier                                 | Customization id                                                                                    | Profile id                                  |\n|--------------------------------------------|--------------------------------------------|-----------------------------------------------------------------------------------------------------|---------------------------------------------|\n| Peppol BIS Billing UBL Invoice V3          | PEPPOL_BIS_BILLING_UBL_INVOICE_V3          | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1                   | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| Peppol BIS Billing UBL CreditNote V3       | PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3      | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1                   | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| Peppol BIS Self-Billing UBL Invoice V3     | PEPPOL_BIS_SELF_BILLING_UBL_INVOICE_V3     | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:selfbilling:3.0::2.1               | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| Peppol BIS Self-Billing UBL Credit Note V3 | PEPPOL_BIS_SELF_BILLING_UBL_CREDIT_NOTE_V3 | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:selfbilling:3.0::2.1               | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n\n</details>\n\n<details>\n<summary><strong>Germany</strong></summary>\n\n| Document name                        | Identifier                            | Customization id                                                                  | Profile id                                  |\n|--------------------------------------|---------------------------------------|-----------------------------------------------------------------------------------|---------------------------------------------|\n| Peppol BIS Billing UBL Invoice V3    | PEPPOL_BIS_BILLING_UBL_INVOICE_V3     | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| Peppol BIS Billing UBL CreditNote V3 | PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3 | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n\n</details>\n\n<details>\n<summary><strong>Netherlands</strong></summary>\n\n| Document name         | Identifier            | Customization id                                                             | Profile id                                  |\n|-----------------------|-----------------------|------------------------------------------------------------------------------|---------------------------------------------|\n| SI-UBL 2.0 Invoice    | SI_UBL_2_0_INVOICE    | urn:cen.eu:en16931:2017#compliant#urn:fdc:nen.nl:nlcius:v1.0               | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| SI-UBL 2.0 CreditNote | SI_UBL_2_0_CREDITNOTE | urn:cen.eu:en16931:2017#compliant#urn:fdc:nen.nl:nlcius:v1.0               | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n\n</details>\n\n<details>\n<summary><strong>Australia/New Zealand</strong></summary>\n\n| Document name                        | Identifier                      | Customization id                                                                                    | Profile id                   |\n|--------------------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------|------------------------------|\n| AU-NZ Peppol BIS Billing 3.0 Invoice | AU_NZ_UBL_INVOICE_V3            | urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:aunz:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| AU-NZ Peppol BIS Billing 3.0 CreditNote | AU_NZ_UBL_CREDIT_NOTE_V3     | urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:aunz:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| A-NZ PINT Invoice v1.0               | A_NZ_PINT_INVOICE_V1_0          | urn:peppol:pint:billing-1@aunz-1::2.1                                                              | urn:peppol:bis:billing       |\n| A-NZ PINT Credit Note v1.0           | A_NZ_PINT_CREDIT_NOTE_V1_0      | urn:peppol:pint:billing-1@aunz-1::2.1                                                              | urn:peppol:bis:billing       |\n| A-NZ PINT Invoice v1.0(Wildcard)     | A_NZ_PINT_INVOICE_V1_0_WILDCARD | urn:peppol:pint:billing-1@aunz-1::2.1                                                              | urn:peppol:bis:billing       |\n| A-NZ PINT Credit Note v1.0(Wildcard) | A_NZ_PINT_CREDIT_NOTE_V1_0_WILDCARD | urn:peppol:pint:billing-1@aunz-1::2.1                                                          | urn:peppol:bis:billing       |\n\n</details>\n\n<details>\n<summary><strong>Singapore</strong></summary>\n\n| Document name                        | Identifier                          | Customization id                                                                                    | Profile id                                  |\n|--------------------------------------|-------------------------------------|-----------------------------------------------------------------------------------------------------|---------------------------------------------|\n| SG Peppol BIS Billing 3.0 Invoice    | SG_PEPPOL_BIS_BILLING_3_0_INVOICE   | urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| SG Peppol BIS Billing 3.0 Credit Note| SG_PEPPOL_BIS_BILLING_3_0_CREDIT_NOTE | urn:cen.eu:en16931:2017#conformant#urn:fdc:peppol.eu:2017:poacc:billing:international:sg:3.0::2.1 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |\n| SG PINT Invoice v1.0                 | SG_PINT_INVOICE_V1_0                | urn:peppol:pint:billing-1@sg-1::2.1                                                                | urn:peppol:bis:billing                      |\n| SG PINT Credit Note v1.0             | SG_PINT_CREDIT_NOTE_V1_0            | urn:peppol:pint:billing-1@sg-1::2.1                                                                | urn:peppol:bis:billing                      |\n| SG BIS Order Balance v1.0            | PEPPOL_SG_ORDER_BALANCE             | urn:fdc:imda.gov.sg:trns:order_balance:1::2.1                                                      | urn:fdc:imda.gov.sg:bis:order_balance:1     |\n\n</details>\n\n<details>\n<summary><strong>Malaysia</strong></summary>\n\n| Document name                              | Identifier                                 | Customization id                                  | Profile id                 |\n|--------------------------------------------|--------------------------------------------|---------------------------------------------------|----------------------------|\n| MY PINT Invoice v1.0                       | MY_PINT_INVOICE_V1_0                       | urn:peppol:pint:billing-1@my-1::2.1               | urn:peppol:bis:billing     |\n| MY PINT Invoice v1.0                       | MY_PINT_INVOICE_V1_0_WILDCARD              | urn:peppol:pint:billing-1@my-1::2.1               | urn:peppol:bis:billing     |\n| MY PINT Credit Note v1.0                   | MY_PINT_CREDIT_NOTE_V1_0                    | urn:peppol:pint:billing-1@my-1::2.1               | urn:peppol:bis:billing     |\n| MY PINT Credit Note v1.0                   | MY_PINT_CREDIT_NOTE_V1_0_WILDCARD           | urn:peppol:pint:billing-1@my-1::2.1               | urn:peppol:bis:billing     |\n| MY PINT Self-Billing Invoice v1.0          | MY_PINT_SELF_BILLING_INVOICE_V1_0           | urn:peppol:pint:selfbilling-1@my-1::2.1           | urn:peppol:bis:selfbilling |\n| MY PINT Self-Billing Invoice v1.0          | MY_PINT_SELF_BILLING_INVOICE_V1_0_WILDCARD  | urn:peppol:pint:selfbilling-1@my-1::2.1           | urn:peppol:bis:selfbilling |\n| MY PINT Self-Billing Credit Note v1.0      | MY_PINT_SELF_BILLING_CREDIT_NOTE_V1_0       | urn:peppol:pint:selfbilling-1@my-1::2.1           | urn:peppol:bis:selfbilling |\n| MY PINT Self-Billing Credit Note v1.0      | MY_PINT_SELF_BILLING_CREDIT_NOTE_V1_0_WILDCARD | urn:peppol:pint:selfbilling-1@my-1::2.1        | urn:peppol:bis:selfbilling |\n\n</details>\n\n<details>\n<summary><strong>Japan</strong></summary>\n\n| Document name                | Identifier                    | Customization id                    | Profile id             |\n|-----------------------------|-------------------------------|-------------------------------------|------------------------|\n| JP PINT Invoice v1.0        | JP_PINT_INVOICE_V1_0          | urn:peppol:pint:billing-1@jp-1::2.1 | urn:peppol:bis:billing |\n| JP PINT Invoice v1.0(Wildcard) | JP_PINT_INVOICE_V1_0_WILDCARD | urn:peppol:pint:billing-1@jp-1::2.1 | urn:peppol:bis:billing |\n\n</details>\n\n<details>\n<summary><strong>France</strong></summary>\n\n| Document name                         | Identifier                               | Customization id                                                                  | Profile id                                 |\n|---------------------------------------|------------------------------------------|-----------------------------------------------------------------------------------|--------------------------------------------|\n| France CII Invoice CIUS               | FR_CII_INVOICE_CIUS_REGULATED            | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::D22B      | urn:peppol:france:billing:regulated        |\n| France CII Invoice CIUS               | FR_CII_INVOICE_CIUS_NONREGULATED         | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::D22B      | urn:peppol:france:billing:non-regulated    |\n| France CII Invoice Extension          | FR_CII_INVOICE_EXTENSION_REGULATED       | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::D22B | urn:peppol:france:billing:regulated        |\n| France CII Invoice Extension          | FR_CII_INVOICE_EXTENSION_NONREGULATED    | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::D22B | urn:peppol:france:billing:non-regulated    |\n| France UBL Invoice CIUS               | FR_UBL_INVOICE_CIUS_REGULATED            | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::2.1       | urn:peppol:france:billing:regulated        |\n| France UBL Invoice CIUS               | FR_UBL_INVOICE_CIUS_NONREGULATED         | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::2.1       | urn:peppol:france:billing:non-regulated    |\n| France UBL Invoice Extension          | FR_UBL_INVOICE_EXTENSION_REGULATED       | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::2.1  | urn:peppol:france:billing:regulated        |\n| France UBL Invoice Extension          | FR_UBL_INVOICE_EXTENSION_NONREGULATED    | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::2.1  | urn:peppol:france:billing:non-regulated    |\n| France UBL Credit Note CIUS           | FR_UBL_CREDIT_NOTE_CIUS_REGULATED        | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::2.1       | urn:peppol:france:billing:regulated        |\n| France UBL Credit Note CIUS           | FR_UBL_CREDIT_NOTE_CIUS_NONREGULATED     | urn:cen.eu:en16931:2017#compliant#urn:peppol:france:billing:cius:1.0::2.1       | urn:peppol:france:billing:non-regulated    |\n| France UBL Credit Note Extension      | FR_UBL_CREDIT_NOTE_EXTENSION_REGULATED   | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::2.1  | urn:peppol:france:billing:regulated        |\n| France UBL Credit Note Extension      | FR_UBL_CREDIT_NOTE_EXTENSION_NONREGULATED | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:extended:1.0::2.1 | urn:peppol:france:billing:non-regulated    |\n| France CDAR                           | FR_CDAR_REGULATED                        | urn:peppol:france:billing:cdv:1.0::D22B                                          | urn:peppol:france:billing:regulated        |\n| France CDAR                           | FR_CDAR_NONREGULATED                     | urn:peppol:france:billing:cdv:1.0::D22B                                          | urn:peppol:france:billing:non-regulated    |\n| France Factur-X                       | FR_FACTUR_X_REGULATED                    | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:Factur-X:1.0::D22B | urn:peppol:france:billing:regulated        |\n| France Factur-X                       | FR_FACTUR_X_NONREGULATED                 | urn:cen.eu:en16931:2017#conformant#urn:peppol:france:billing:Factur-X:1.0::D22B | urn:peppol:france:billing:non-regulated    |\n\nFactur-X exchange supports the EN16931 and Extended profiles for invoices and credit notes, including French self-billing. Submit the original PDF to the [Factur-X submission endpoint](#tag/InvoiceCredit-Note/operation/submitFacturXFile). The PDF's XMP conformance level must match the embedded CII profile (BT-24), and the CII must include the seller and buyer routing endpoints and an applicable French billing framework (BT-23). Extended uses the same regulated/non-regulated transport identifiers shown above.\n\nThe [Factur-X download endpoint](#tag/InvoiceCredit-Note/operation/getInvoiceInFacturxFormat) returns the original PDF. For submitted EN16931 and Extended documents, applicable PPF reporting prepares an independent Full extraction asynchronously; track its outcome through the C5 notifications.\n\n</details>\n\n\n<details>\n<summary><strong>International</strong></summary>\n\n| Document name                                 | Identifier                                    | Customization id                                     | Profile id                                      |\n|-----------------------------------------------|-----------------------------------------------|------------------------------------------------------|-------------------------------------------------|\n| Peppol Invoice Response transaction 3.0       | PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0       | urn:fdc:peppol.eu:poacc:trns:invoice_response:3::2.1 | urn:fdc:peppol.eu:poacc:bis:invoice_response:3  |\n| Peppol Message Level Response transaction 3.0 | PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0 | urn:fdc:peppol.eu:poacc:trns:mlr:3::2.1              | urn:fdc:peppol.eu:poacc:bis:mlr:3               |\n| BIS Order only                                | PEPPOL_ORDER_TRANSACTION_3_0_ORDER_ONLY       | urn:fdc:peppol.eu:poacc:trns:order:3::2.1            | urn:fdc:peppol.eu:poacc:bis:order_only:3        |\n| Peppol Order transaction 3.0                  | PEPPOL_ORDER_TRANSACTION_3_0_ADVANCED         | urn:fdc:peppol.eu:poacc:trns:order:3::2.1            | urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 |\n| Peppol Order Change                           | PEPPOL_ORDER_CHANGE                           | urn:fdc:peppol.eu:poacc:trns:order_change:3::2.3     | urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 |\n| Peppol Order Cancellation                     | PEPPOL_ORDER_CANCELLATION                     | urn:fdc:peppol.eu:poacc:trns:order_cancellation:3::2.3 | urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 |\n| Peppol Order Response Advanced                | PEPPOL_ORDER_RESPONSE_ADVANCED                | urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3::2.3 | urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3 |\n\n</details>\n\nSupport for other document types will be added soon.\n\n## Document examples\n\nHere are some examples of documents that you can send and receive in the Peppol network:\n\n- <a href=\"invoice-sending.xml\" target=\"_blank\" download>Invoice</a>\n- <a href=\"credit-note-sending.xml\" target=\"_blank\" download>Credit Note</a>\n- <a href=\"order-sending.xml\" target=\"_blank\" download>Order</a>\n\n### France\n\n- <a href=\"fr/sample-invoice-ubl-fr.xml\" target=\"_blank\" download>Sample Invoice UBL FR</a>\n- <a href=\"fr/sample-invoice-cii-fr.xml\" target=\"_blank\" download>Sample Invoice CII FR</a>\n\n# Getting started\n\nIn this chapter, we will guide you step by step to send and receive `Invoices` in the Peppol network TEST environment.\nSending and receiving `Credit Notes` and `Orders` is similar.\n\n> **NOTE** Before continuing to the steps below, make sure you have already obtained from us the credentials to access\n> our API.\n\n## Checking access to our API\n\nBefore sending your first `Invoice`, you need to check that you have access to our Ademico Peppol REST API.\n\nIn order to check that you have access, you need to execute a `GET` request against our\n[connectivity service](#tag/Connectivity) using the below curl command. If you get a\nstatus `200` it means that you have access, status `401` means that your authentication credentials are not correct.\n\nYou need to adapt your credentials in the example below as described in the [Authentication](#section/Authentication)\nchapter.\n\nCURL commands (or use [Connectivity REST API](#tag/Connectivity)):\n\nOAuth2:\n\n```shell\ncurl -X GET -H \"Authorization: Bearer YOUR_JWT_ACCESS_TOKEN\" -H \"Accept: application/json\" \"https://test-peppol-api.ademico-software.com/api/peppol/v1/tools/connectivity?accessToken=YOUR_API_ACCESS_TOKEN\"\n```\n\nBasic Authentication:\n\n```shell\ncurl -X GET -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -H \"Accept: application/json\" \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/tools/connectivity?accessToken=YOUR_API_ACCESS_TOKEN\"\n```\n\nYou can proceed to the next step after you have a successful connection.\n\n## Register your legal entity as a participant in the Peppol network\n\n### Introduction\n\nA legal entity is an organization/company that sends and receives documents eg invoices in the Peppol network.\nIt is mandatory to [create your legal entity](#tag/Legal-Entity/operation/createLegalEntity) before sending or receiving\ndocuments in the Peppol network.\n\nAfter you create your legal entity you can send and receive invoices and other documents. Your organization will be also\nlisted the <a href=\"https://directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a> so that it can be\ndiscovered by other participants in the Peppol network.\n\n### Register your legal entity\n\nYou can register your organization as a participant in the Peppol network using the\nAPI [create legal entity](#tag/Legal-Entity/operation/createLegalEntity). Below you can find an example using Basic\nAuthentication and OAuth2:\n\nBasic Authentication:\n\n```shell\ncurl -X POST \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/legal-entities?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\" -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -H \"Content-Type: application/json\" -d @- << EOF \n{\n  \"legalEntityDetails\": {\n    \"publishInPeppolDirectory\": true,\n    \"name\": \"YOUR_COMPANY_NAME\",\n    \"countryCode\": \"YOUR_COMPANY_COUNTRY_CODE\",\n    \"geographicalInformation\": \"YOUR_COMPANY_STREET_AND_NUMBER, YOUR_COMPANY_CITY\",\n    \"websiteURL\": \"YOUR_COMPANY_WEBSITE\",\n    \"contacts\": [\n      {\n        \"contactType\": \"YOUR_COMPANY_CONTACT_TYPE\",\n        \"name\": \"YOUR_COMPANY_CONTACT_NAME\",\n        \"phoneNumber\": \"YOUR_COMPANY_PHONE_NUMBER\",\n        \"email\": \"YOUR_COMPANY_EMAIL\"\n      }\n    ],\n    \"additionalInformation\": \"Our company is specialized in ...\"\n  },\n  \"peppolRegistrations\": [\n    {\n      \"peppolIdentifier\": {\n        \"scheme\": \"YOUR_PEPPOL_PARTICIPANT_SCHEME\",\n        \"identifier\": \"YOUR_PEPPOL_PARTICIPANT_IDENTIFIER\"\n      },\n      \"supportedDocuments\": [\n        \"PEPPOL_BIS_BILLING_UBL_INVOICE_V3\",\n        \"PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3\",\n        \"PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0\",\n        \"PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0\"\n      ],\n      \"peppolRegistration\": true\n    }\n  ]\n}\nEOF \n```\n\nOAuth2:\n\n```shell\ncurl -X POST \"https://test-peppol-api.ademico-software.com/domibus/api/peppol/v1/legal-entities?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"  -H \"Authorization: YOUR_JWT_TOKEN\" -H \"Content-Type: application/json\" -d @- << EOF\nSame JSON as above\nEOF \n```\n\nIf you get a status `200`, it means that you have successfully registered your legal entity as a participant in the\nPeppol network. You can now search your organization by company name in\nthe <a href=\"https://test-directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a> and it will appear in the\nsearch results.\n\nWe will explain the 2 main sections from the register legal entity request from above:\n\n1. `legalEntityDetails`\n\nThis section contains the details of your organization which will be published in\nthe <a href=\"https://test-directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a> such as:\n\n- YOUR_COMPANY_NAME: The name of your company eg Ademico Software\n- YOUR_COMPANY_COUNTRY_CODE: The country in which the legal entity is registered eg BE\n- YOUR_COMPANY_STREET_AND_NUMBER, YOUR_COMPANY_CITY: The address of the legal entity eg 204 My Street, Leuven, Belgium\n- YOUR_COMPANY_WEBSITE: The company website eg https://ademico-software.com\n- YOUR_COMPANY_CONTACT_TYPE: The company contact type eg info, support\n- YOUR_COMPANY_CONTACT_NAME: The company contact name eg John Doe\n- YOUR_COMPANY_PHONE_NUMBER: The company phone number eg +32 123456\n- YOUR_COMPANY_EMAIL: The email of your organization eg info@ademico-software.com\n\nSet the flag `publishInPeppolDirectory` to false if you don't want to publish your legal entity details in the Peppol\nDirectory. In some countries, such as Singapore, it is mandatory to publish your legal entity details in Peppol\nDirectory.\n\n2. `peppolRegistrations`\n\nThis section contains the identifier of your organization in the Peppol network(`peppolIdentifier`) and defines which\ndocuments your organization can send and receive(`supportedDocuments`). A legal entity can be registered in the Peppol\nnetwork multiple times using different identifiers. For instance a legal entity in Belgium can be registered with the\ncompany registration number 0208:0552912569 and with the Belgium VAT number\n9925:BE0552912569.\n\nDepending on the country in which your organization is registered you need to use a\nspecific participant scheme and identifier in the section `peppolIdentifier`. You can have a look in the\nsection [Participant scheme and identifier](#section/Glossary/Participant-scheme-and-identifier) for more details.\n\nThe section `supportedDocuments` defines which documents your organization can send and receive. In the example above,\nthe legal entity can send and receive the following documents:\n\n- Peppol BIS Billing UBL Invoice V3(`PEPPOL_BIS_BILLING_UBL_INVOICE_V3`)\n- Peppol BIS Billing UBL CreditNote V3(`PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3`)\n- BIS Invoice Response(`PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0`)\n- Peppol Message Level Response transaction 3.0(`PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0`)\n\nWhen you create a Peppol registration, the API can add default capabilities such as `PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0`.\nWhen you update an existing Peppol registration, the `supportedDocuments` list is applied as sent in the request, so you\ncan remove `PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0` from the registration update payload.\n\nYou can have a look in the section [Supported Peppol documents](#section/Supported-Peppol-documents) for a full list of\nsupported documents you can send or receive.\n\nBy default, `peppolRegistration=true` publishes the participant and its receiving capabilities in the Peppol network\n(SML/SMP). Set `peppolRegistration=false` to keep a local registration for sending without enabling reception through\nthis API. The sender does not need an existing SML/SMP registration; this option also supports registration managed\nby another provider. A non-empty `supportedDocuments` list is required in both cases, and country-specific registration\nrequirements still apply.\n\n`publishInPeppolDirectory=false` only hides the public Directory listing. It does not disable reception when\n`peppolRegistration=true`. To receive Peppol response documents through this API, the participant needs the corresponding\nreceiving capabilities published in SMP. French sender-only registrations use the dedicated\n[France 0225 profile](#section/Country-Specifics/Getting-started-with-Peppol-in-France/Register-a-France-0225-identifier-for-sending-only)\nwith `peppolRegistration=true` and regulated CDAR support.\n\nYou can use the API `Legal Entity Peppol Registration` to update your Peppol registration details.\n\n## Sending Invoices\n\nAfter registering your legal entity as a participant in the Peppol network, you are now ready to send your\nfirst `Invoice`. You can download an invoice template from  <a href=\"invoice-sending.xml\" target=\"_blank\" download>\nhere</a> and save it\nas `invoice-sending.xml`. Open the `invoice-sending.xml` file in a text editor and replace the following elements:\n\n- INVOICE_ID: The unique identifier of the `Invoice`\n- YOUR_PARTICIPANT_SCHEME: eg 0208 You can find\n  in [Participant scheme and identifier](#section/Glossary/Participant-scheme-and-identifier)\n  an explanation of participant scheme and participant identifier\n- YOUR_PARTICIPANT_IDENTIFIER: eg 0552912569\n\nThe other details from the invoice starting with YOUR_COMPANY_ are optional to fill in.\n\nYou can follow a similar process for sending credit notes.You can download\nfrom <a href=\"credit-note-sending.xml\" target=\"_blank\" download>here</a> a template for a Credit Note.\n\nSend your invoice by executing the following curl command:\n\nCURL commands (or use [Invoice/Credit Note REST API](#tag/InvoiceCredit-Note/operation/submitUblFile)):\n\nBasic Authentication:\n\n```shell\ncurl -X POST -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -F \"file=@invoice-sending.xml\" \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/invoices/ubl-submissions?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"\n```\n\nOAuth2:\n\n```shell\ncurl -X POST -H \"Authorization: YOUR_JWT_TOKEN\" -F \"file=@invoice-sending.xml\" \"https://test-peppol-api.ademico-software.com/api/peppol/v1/invoices/ubl-submissions?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"\n```\n\nIf you get a status `200` it means that you have successfully scheduled your first `Invoice`\nto be sent in the Peppol network. The `Invoice` is sent asynchronously, it is first put on a queue and it will be sent\nalmost immediately.\n\nNow that you have successfully scheduled an `Invoice`, you need to know if it has been correctly received by the `Buyer`\nand if the `Buyer` has accepted or rejected it. You can receive updates when an `Invoice` status changes with the help\nof the `Invoice` notifications.\n\nIn the section [Pull notifications(polling)](#section/Application-integration/Pull-Notifications-(Polling)) or\n[Push notifications(webhooks)](#section/Application-integration/Push-Notifications-(Webhooks)) you can get more details\nhow to get notifications for sent `Invoices`.\n\nHere is sequence diagram which describes the flow of sending an `Invoice` using Pull Notifications:\n\n![Sending Invoice with Pull Notifications](http://ademico-software.com/wp-content/uploads/2025/03/Peppol-sendInvoiceUsingPullNotifications.png)\n\nHere is sequence diagram which describes the flow of sending an `Invoice` using Push(webhook) Notifications:\n\n![Sending Invoice with Push(webhook) Notifications](http://ademico-software.com/wp-content/uploads/2025/03/Peppol-sendInvoiceUsingPushNotifications.png)\n\n## Receiving Invoices\n\nBefore receiving `Invoices`, please make sure that you\nhave [registered your legal entity](#section/Getting-started/Register-your-legal-entity-as-a-participant-in-the-Peppol-network)\nin the Peppol\nnetwork.\n\nDuring the testing phase when you are integrating your ERP or software application with our\nAPI, it is useful to register a\nsecond participant so that you can send and receive invoices or credit notes between them.\nFor instance, you [register](#section/Getting-started/Register-your-legal-entity-as-a-participant-in-the-Peppol-network)\na legal entity as a Peppol participant with\nthe identifier `9938:LU12345678` and a second participant with identifier `9938:LU12345678_part2`.\nNow in your UBL invoice you set the sending participant in the `AccountingSupplierParty`:\n\n```xml \n\n<cac:AccountingSupplierParty>\n    <cac:Party>\n        <cbc:EndpointID schemeID=\"9938\">LU12345678</cbc:EndpointID>\n    </cac:Party>\n    ..........................\n</cac:AccountingSupplierParty>\n```\n\nand the receiver of the invoice in the `AccountingCustomerParty`:\n\n```xml\n\n<cac:AccountingCustomerParty>\n    <cac:Party>\n        <cbc:EndpointID schemeID=\"9938\">LU12345678_part2</cbc:EndpointID>\n    </cac:Party>\n    ..........................\n</cac:AccountingCustomerParty>\n```\n\nOnce you sent the above invoice, you need to call\nthe [notifications endpoint](#tag/Notification/operation/getNotifications) to get\nthe receiving notification.\nThe receiving notification contains the `transmissionId` which you can use\nto [retrieve the UBL invoice](#tag/InvoiceCredit-Note/operation/getInvoiceInUBLFormat).\nSee also in the next sections some examples how to get the receiving notification and how to retrieve the UBL invoice.\n\nWhen a `Seller` sends you as a `Buyer` an `Invoice`, we automatically validate the `Invoice` against the Peppol\ntechnical and\nbusiness rules before informing you that you have received an `Invoice`. We perform the following checks:\n\n- XML validation\n- XSD validation\n- Schematron validation\n\nIf one of the above validation is not passing, we inform automatically the `Seller` with the reasons of the failed\nvalidation. Technically we send an `MLR` message to the `Seller`. If the `Seller` does not support receiving an `MLR`,\nwe send an `AS4 Signal` error.<br>\nIn conclusion, the `Seller` is always informed if the `Invoice` validation is not passing and if you as a `Buyer`\ncould not process the `Invoice`.\n\nIf you receive a valid `Invoice`, you will be notified either via\n[Pull notifications(polling)](#section/Application-integration/Pull-Notifications-(Polling)) or\n[Push notifications(webhooks)](#section/Application-integration/Push-Notifications-(Webhooks))\nand you get the transmission identifier (`transmissionId`) of the received `Invoice`.<br>\nWith the help of the `transmissionId` you can now get the `Invoice` in UBL XML format:\n\nCURL commands (or use [Invoice/Credit Note REST API](#tag/InvoiceCredit-Note/operation/getInvoiceInUBLFormat)):\n\nBasic authentication:\n\n```shell\ncurl -X GET -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -H \"Content-Type: application/json\" \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/invoices/{transmissionId}/ubl?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"\n```\n\nOAuth2:\n\n```shell\ncurl -X GET -H \"Authorization: YOUR_JWT_TOKEN\" -H \"Content-Type: application/json\" \"https://test-peppol-api.ademico-software.com/api/peppol/v1/invoices/{transmissionId}/ubl?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"\n```\n\nExample of a received invoice:\n\n```xml\n\n<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0\n    </cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n\n    <!-- This is the invoice in PDF format -->\n    <cac:AdditionalDocumentReference>\n        <cbc:ID>invoice1</cbc:ID>\n        <cac:Attachment>\n            <cbc:EmbeddedDocumentBinaryObject mimeCode=\"application/pdf\" filename=\"invoice.pdf\">\n                dGhpcyBpcyB0aGUgcGRmIGludm9pY2UgYmFzZTY0IGVuY29kZWQ=\n            </cbc:EmbeddedDocumentBinaryObject>\n        </cac:Attachment>\n    </cac:AdditionalDocumentReference>\n\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID>0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>My street</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"9925\">0123456712</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"9925\">0123456712</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>JohnDoe</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0123456712</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>JohnDoe</cbc:RegistrationName>\n                <cbc:CompanyID>0123456712</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>john.doe@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>\n```\n\nHere is sequence diagram which describes the flow of receiving an `Invoice` using Pull Notifications:\n\n![Receiving Invoice with Pull Notifications](http://ademico-software.com/wp-content/uploads/2025/03/Peppol-receiveInvoiceUsingPullNotifications.png)\n\nHere is sequence diagram which describes the flow of receiving an `Invoice` using Push(webhook) Notifications:\n\n![Receiving Invoice with Push(webhook) Notifications](http://ademico-software.com/wp-content/uploads/2025/03/Peppol-receiveInvoiceUsingPushNotifications.png)\n\n### Receiving invoices via email\n\nIn specific cases, it is useful to be notified by email each time you receive an `Invoice`.\n\nWe will send you an email to your functional mailbox with the following content:\n\n- email subject: the invoice identifier\n- email body: invoice identifier, sender identifier(eg company registration number, VAT), sender name,\n  sender country, receiver identifier(eg company registration number, VAT), receiver name, receiver country\n- 2 email attachments:\n    - the UBL invoice in XML format\n    - the invoice in PDF format\n\nHere is an example of the contents of the email body we will send you:\n\n```html\nDocument type: Invoice\nDocument id: pbe000512-8\nSender id: 0208:0111111111\nSender name: Seller name\nSender country: Belgium\nReceiver id: 0208:0222222222\nReceiver name: Buyer name\nReceiver country: Belgium\n```\n\nAfter receiving the `Invoice` content in UBL XML format, you as a `Buyer` must process the `Invoice` in your ERP or\nsoftware\napplication. After the\nprocessing takes place, you can optionally inform the `Seller` about the status of the `Invoice`\nby sending an [Invoice Response](#tag/Invoice-Response/operation/sendInvoiceResponse) <br>\nFor instance, you might decide to accept the `Invoice` or reject it because of a business reason eg invalid purchase\norder number.\n\nPlease check the section [Invoice Response](#tag/Invoice-Response/operation/sendInvoiceResponse) for the possible values\nyou can use to inform the `Seller` of your decision.\n\n# Application integration\n\nIn this chapter, we will see how you can integrate your ERP or software application with the Ademico Peppol REST API and\nreceive\nnotifications either using [Pull notifications(polling)](#section/Application-integration/Pull-Notifications-(Polling))\nor\n[Push notifications(webhooks)](#section/Application-integration/Push-Notifications-(Webhooks))\n\n## Generating your API client\n\nThe Ademico Peppol REST API is documented using <a href=\"https://swagger.io/specification/\" target=\"_blank\">OpenAPI 3\nspecification</a>.\n\nThis means that you can easily generate the client in your preferred language. We will see below how to generate your\nclient in Java using <a href=\"https://github.com/OpenAPITools/openapi-generator\" target=\"_blank\">OpenAPI Generator</a>.\nThe Java example below is verified with OpenAPI Generator 7.20.0. You can follow a similar approach for generating your client in other languages.\n\nFirst you need to download the OpenAPI Generator from here\n<a href=\"https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.20.0/openapi-generator-cli-7.20.0.jar\" target=\"_blank\">\nhere</a>\nand save it in a directory on your local machine. Then switch into that directory and execute the following command:\n\n```shell\njava -jar openapi-generator-cli-7.20.0.jar generate -i https://ademico-software.com/peppol-rest-api/openapi.json -g java\n```\n\nOpenAPI Generator will generate a Maven/Gradle project with a following structure:\n\n```\n|- api\n|- docs\n|- gradle\n|- src\n|- README.md\n|- build.gradle\n|- build.sbt\n|- git_push.sh\n|- gradle.properties\n|- gradlew\n|- gradlew.bat\n|- pom.xml\n|- settings.gradle\n```\n\nIn the directory `src/main/java/org/openapitools/client/api` you can find the client APIs eg `InvoiceCreditNoteApi.java` that you\ncan use to call the server side REST service. In the directory `docs` you can find the API documentation with examples\nlike the one below eg `InvoiceCreditNoteApi.md`.\n\nHere is an example how to use the client to get the Invoice UBL XML in the TEST environment:\n\n```java\nimport java.util.logging.Level;\nimport java.util.logging.Logger;\nimport org.openapitools.client.ApiClient;\nimport org.openapitools.client.ApiException;\nimport org.openapitools.client.Configuration;\nimport org.openapitools.client.api.InvoiceCreditNoteApi;\nimport org.openapitools.client.auth.HttpBasicAuth;\n\npublic class DownloadInvoiceExample {\n    private static final Logger LOG = Logger.getLogger(DownloadInvoiceExample.class.getName());\n\n    public static void main(String[] args) {\n        ApiClient apiClient = Configuration.getDefaultApiClient();\n        apiClient.setBasePath(\"https://test-peppol-api1.ademico-software.com/domibus\");\n\n        HttpBasicAuth basicAuth = (HttpBasicAuth) apiClient.getAuthentication(\"BasicAuth\");\n        basicAuth.setUsername(\"YOUR_USERNAME\");\n        basicAuth.setPassword(\"YOUR_PASSWORD\");\n\n        InvoiceCreditNoteApi invoiceApi = new InvoiceCreditNoteApi(apiClient);\n        String transmissionId = \"YOUR_TRANSMISSION_ID\";\n        String accessToken = \"YOUR_API_ACCESS_TOKEN\";\n        try {\n            String invoiceXml = invoiceApi.getInvoiceInUBLFormat(transmissionId, accessToken);\n            // Process or save invoiceXml in your application.\n            LOG.info(\"Invoice downloaded successfully\");\n        } catch (ApiException exception) {\n            LOG.log(Level.SEVERE, \"Invoice download failed with HTTP status \" + exception.getCode(), exception);\n        }\n    }\n}\n```\n\nFor more details on how to generate your API client you can check\nthis <a href=\"https://ademico-software.com/how-to-generate-the-client-api-for-an-openapi-rest-service/\" target=\"_blank\">\narticle</a> on our blog.\n\n## Notifications overview\n\nWhen sending or receiving documents, `Invoices/Credit Notes` change their status depending on different events. The\nstatus change happens asynchronously and therefore this is the reason why notifications are needed.\n\nExample of situations when an `Invoice/Credit Note` changes its status:\n\n- the `Buyer` has validated, accepted or rejected your `Invoice/Credit Note` after you have sent it\n- you have received an `Invoice/Credit Note` from a `Seller`.\n\nWe will see below how you can be notified when the status of your `Invoice/Credit Note` changes.\n\n## Pull Notifications (Polling)\n\nWhen using pull notifications, you need to regularly poll the sending or receiving notifications endpoint to check if\nyou have a\npending notification. We recommend polling for notification once every minute or even longer.\n\nFor instance, to check the status of an `Invoice/Credit Note` after sending it to the `Buyer`, you use\n[Notifications Endpoint](#tag/Notification/operation/getNotifications).\n\nLet's suppose you get the following sending notification which indicates that the `Buyer` has accepted your `Invoice`:\n\n```json\n{\n  \"eventType\": \"INVOICE_RESPONSE_RECEIVED\",\n  \"notificationId\": 6,\n  \"transmissionId\": \"7ec22637303b11eda7239a0197b30fe2@ademico-software.com\",\n  \"documentId\": \"pbe000512-4\",\n  \"documentStatus\": \"ACCEPTED\",\n  \"peppolDocumentType\": \"INVOICE\",\n  \"sender\": \"0208:0552912569\",\n  \"receiver\": \"0208:1999999943\",\n  \"notificationDate\": \"2022-09-09T13:09:59.524\",\n  \"invoiceResponse\": {\n    \"invoiceTransmissionId\": \"7ec22637303b11eda7239a0197b30fe2@ademico-software.com\",\n    \"responseCode\": \"AP\",\n    \"note\": null,\n    \"effectiveDate\": \"2022-05-22\",\n    \"invoiceClarifications\": []\n  },\n  \"details\": []\n}\n```\n\nYou need to process the notification and update the status of the `Invoice/Credit Note` in your ERP or software\napplication. The next step is to consume the notification using the `notificationId` retrieved previously:\n\nCURL command (or\nuse [Notifications](#tag/Notification/operation/consumeNotification)):\n\n```shell\ncurl -X DELETE -H \"Authorization: Basic YOUR_USERNAME_AND_PASSWORD_BASE64\" -H \"Content-Type: application/json\" \"https://test-peppol-api1.ademico-software.com/domibus/api/peppol/v1/notifications/{notificationId}?accessToken=ACCESS_T0KEN_YOU_RECEIVED_FROM_US\"\n```\n\nA consumed notification will not be retrieved anymore when getting the next time the notifications list.\n\nThe other pull notifications types follow the same pattern explained above.\n\n## Push Notifications (Webhooks)\n\nWhen you choose to be notified via push notifications (webhooks), we deliver the notification directly to your\napplication. You would need to implement in your ERP or your software application our\n<a href=\"https://ademico-software.com/peppol-webhook-rest-api/\" target=\"_blank\">Webhook Services</a> documented\nusing\nOpenAPI 3 specification.\n\nLet's suppose that you as a `Seller` send an `Invoice` to the the `Buyer` who accepts your `Invoice`. We will push you\nthe following notification by calling your webhook implementation\ndescribed <a href=\"https://ademico-software.com/peppol-webhook-rest-api/#tag/Notifications\" target=\"_blank\">\nhere</a>:\n\n```json\n{\n  \"eventType\": \"INVOICE_RESPONSE_RECEIVED\",\n  \"notificationId\": 6,\n  \"transmissionId\": \"7ec22637303b11eda7239a0197b30fe2@ademico-software.com\",\n  \"documentId\": \"pbe000512-4\",\n  \"documentStatus\": \"ACCEPTED\",\n  \"peppolDocumentType\": \"INVOICE\",\n  \"sender\": \"0208:0552912569\",\n  \"receiver\": \"0208:1999999943\",\n  \"notificationDate\": \"2022-09-09T13:09:59.524\",\n  \"invoiceResponse\": {\n    \"invoiceTransmissionId\": \"7ec22637303b11eda7239a0197b30fe2@ademico-software.com\",\n    \"responseCode\": \"AP\",\n    \"note\": null,\n    \"effectiveDate\": \"2022-05-22\",\n    \"invoiceClarifications\": []\n  },\n  \"details\": []\n}\n```\n\nWe expect that you return status `200` which indicates us that you have successfully processed the webhook. In case you\nreturn a different status, we will retry sending for one six hours every 30 minutes.\n\n> **NOTE** Please make sure to you allow traffic from our servers in your firewall rules. We will provide you the static\n> IP we use\n> to call your service webhooks.\n\nYou can refer to the [Notifications Endpoint](#tag/Notification/operation/getNotifications) documentation to see the\ntypes of notifications we can push to you.\n\n\n# Country Specifics\n\n## Getting started with Peppol in France\n\nFrance is rolling out mandatory B2B e-invoicing starting September 2026.  \n\nThe authoritative source for France's e-invoicing documentation is available at: [https://www.impots.gouv.fr/specifications-externes-b2b](https://www.impots.gouv.fr/specifications-externes-b2b)\n\nWhen working with France-specific flows, keep in mind the following differences from other countries:\n\n#### Legal entities\n\nWhen registering a legal entity for France-specific Peppol flows, you must provide both the platform/participant identifiers used for Peppol routing and the legal identifiers required for regulatory reporting.\n\n**Participant identifier schemes**\n\nFrance uses specific identifier schemes:\n-   The **Peppol participant identifier** typically uses the scheme `0225`, eg `0225:123456789` where `123456789` is the SIREN number of the company. This identifier is used as electronic address in the context of the French Continuous Transactional Control reform on e-invoicing. Variations using the SIRET number, a suffix or an additional routing code are possible. \n-   A **legal identifier** with scheme `0002` (SIREN) is required when registering the legal entity to enable France-specific regulatory reporting (e.g., e-reporting submissions to PPF).\n \n**Partial example JSON payload (create FR legal entity)**\n\n```json\n{\n  \"legalEntityDetails\": {\n    \"name\": \"ADEMICO SOFTWARE SRL\",\n    \"countryCode\": \"FR\",\n    \"legalIdentifiers\": [\n      {\n        \"scheme\": \"0002\",\n        \"identifier\": \"123456789\"\n      }\n    ],\n    \"publishInPeppolDirectory\": true,\n    \"registrationDate\": \"2026-01-19T14:56:22.000Z\",\n    \"websiteURL\": \"https://ademico-software.com\"\n  },\n  \"peppolRegistrations\": [\n    {\n      \"peppolIdentifier\": {\n        \"scheme\": \"0225\",\n        \"identifier\": \"123456789\"\n      },\n      \"peppolRegistration\": true,\n      \"supportedDocuments\": [...]\n    }\n  ]\n}\n```\n\n> **Notes on the example**\n> - The `0225` participant identifier and the `0002` legal identifier both use the company SIREN (9 digits) in this example.\n> - For invoice-receiving registrations, `supportedDocuments` should include all the document types required in France, even if you do not expect to use, in practice, all of them. For sender-only registrations, use the capability profile described below.\n\n---\n\n#### Register a France 0225 identifier for sending only\n\nA French legal entity that sends invoices but does not receive invoices can register a dedicated sender-only participant\nidentifier. The participant remains registered in SML/SMP so that it can receive French invoice lifecycle responses,\nbut it does not need a receiving line in the France Annuaire.\n\nUse the following values for a sender-only registration:\n\n* Set the legal entity `countryCode` to `FR`.\n* Use participant scheme `0225`.\n* Format the participant identifier as `<SIREN>_<suffix>`, where `<SIREN>` is exactly 9 digits and `<suffix>` is\n  non-empty free text. The general participant identifier restrictions also apply: spaces, dots and colons are not\n  allowed. For example: `123456789_SENDER`.\n* Set `peppolRegistration` to `true`. This flag means that our API manages the participant in SML/SMP; it does not mean\n  that the participant can receive invoices.\n* Include `FR_CDAR_REGULATED` in `supportedDocuments`; it is mandatory. You may additionally include\n  `FR_CDAR_NONREGULATED`, which is optional. Non-regulated CDAR alone does not qualify as sender-only.\n* You may also include `PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0` and/or\n  `PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0`. These optional capabilities are not added automatically.\n* Do not include invoice, credit note or other receiving capabilities. If any such capability is present, the\n  registration is treated as a normal France receiving participant and the normal France capability and Annuaire rules\n  apply.\n\n`publishInPeppolDirectory` controls publication in the Peppol Directory independently; it does not create a receiving\nline in the France Annuaire.\n\nYou can create the legal entity and its sender-only registration together using\n[Create a legal entity](#tag/Legal-Entity/operation/createLegalEntity):\n\n```json\n{\n  \"legalEntityDetails\": {\n    \"name\": \"EXAMPLE COMPANY\",\n    \"countryCode\": \"FR\",\n    \"legalIdentifiers\": [\n      {\n        \"scheme\": \"0002\",\n        \"identifier\": \"123456789\"\n      }\n    ],\n    \"publishInPeppolDirectory\": false\n  },\n  \"peppolRegistrations\": [\n    {\n      \"peppolIdentifier\": {\n        \"scheme\": \"0225\",\n        \"identifier\": \"123456789_SENDER\"\n      },\n      \"peppolRegistration\": true,\n      \"supportedDocuments\": [\n        \"FR_CDAR_REGULATED\"\n      ]\n    }\n  ]\n}\n```\n\nIf the French legal entity already exists, use\n[Register a legal entity in the Peppol network](#tag/Legal-Entity-Peppol-Registration/operation/createPeppolRegistrationForLegalEntity)\nwith the following request body:\n\n```json\n{\n  \"peppolRegistrationDetails\": {\n    \"peppolIdentifier\": {\n      \"scheme\": \"0225\",\n      \"identifier\": \"123456789_SENDER\"\n    },\n    \"peppolRegistration\": true,\n    \"supportedDocuments\": [\n      \"FR_CDAR_REGULATED\"\n    ]\n  }\n}\n```\n\nThe same capability rules apply when updating the registration. Requests without mandatory `FR_CDAR_REGULATED` are\nrejected before SMP publication; it is not added automatically. A sender-only registration is published in SMP with\nregulated CDAR and any supplied non-regulated CDAR or optional public response capabilities. It is not registered as an invoice receiver in the France Annuaire.\n\nIf your French `0225` registration contains only optional response capabilities and omits regulated CDAR, creation or\nupdate returns `LEGAL_ENTITY_ERROR` explaining that `FR_CDAR_REGULATED` must be included in `supportedDocuments`.\nAdd regulated CDAR to correct a sender-only request; you do not need to add invoice-receiving capabilities.\n\nFor regulated French invoices between `0225` identifiers, this sender-only exception applies both when submitting an\ninvoice through the API and when receiving an invoice from Peppol. For API submissions, we check the stored registration\nmatching the sender's scheme and identifier: it must have the sender-only capability profile described above, regardless\nof whether `peppolRegistration` is `true` or `false`. That flag controls SMP management, not outgoing sender-only\nclassification. No sender SMP lookup is needed for this check. For incoming invoices, we check the external sender's\ncomplete SMP capability set instead. When the applicable check confirms the sender-only profile, the sender's Annuaire\nreceiving line is not required. When submitting, the sender's Annuaire platform\ncomparison is also skipped, but the sender must still be registered in your workspace and pass the normal submission\nchecks. The receiver must still have a valid Annuaire entry. If the sender advertises other document capabilities or its\nsender-only profile cannot be confirmed from the applicable source, the normal Annuaire checks remain in place.\n\nCDAR lifecycle responses can be sent back to a sender-only invoice issuer without an Annuaire receiving line. CDAR\nsubmissions do not perform the invoice-specific Annuaire checks on either party. The sending participant must still be\nregistered in your workspace, the document must pass the normal submission validations, and the receiver must advertise\nthe corresponding CDAR capability and process in SMP. This applies to API-submitted and automatically generated CDARs.\n\n---\n\n#### Supported documents\n\nThe list of supported documents for France is specific. When registering a legal entity, the following document types are typically supported:\n\nUBL Documents:\n*   `FR_UBL_INVOICE_CIUS_REGULATED`\n*   `FR_UBL_INVOICE_CIUS_NONREGULATED`\n*   `FR_UBL_INVOICE_EXTENSION_REGULATED`\n*   `FR_UBL_INVOICE_EXTENSION_NONREGULATED`\n*   `FR_UBL_CREDIT_NOTE_CIUS_REGULATED`\n*   `FR_UBL_CREDIT_NOTE_CIUS_NONREGULATED`\n*   `FR_UBL_CREDIT_NOTE_EXTENSION_REGULATED`\n*   `FR_UBL_CREDIT_NOTE_EXTENSION_NONREGULATED`\n\nCII (Cross Industry Invoice) Documents:\n*   `FR_CII_INVOICE_CIUS_REGULATED`\n*   `FR_CII_INVOICE_CIUS_NONREGULATED`\n*   `FR_CII_INVOICE_EXTENSION_REGULATED`\n*   `FR_CII_INVOICE_EXTENSION_NONREGULATED`\n*   `FR_FACTUR_X_REGULATED`\n*   `FR_FACTUR_X_NONREGULATED`\n\nAcknowledgement/Response Documents:\n*   `FR_CDAR_REGULATED`\n*   `FR_CDAR_NONREGULATED`\n\n> **Note:** For France CII and CDAR documents, we use the official schemas version `D22B` published by UNECE here: [https://unece.org/trade/documents/2023/06/standards/cross-industry-invoice-d22b](https://unece.org/trade/documents/2023/06/standards/cross-industry-invoice-d22b) and here: [https://unece.org/trade/documents/2023/07/standards/cross-domain-acknowledgement-and-response-d22b](https://unece.org/trade/documents/2023/07/standards/cross-domain-acknowledgement-and-response-d22b)\n>\n> For creating your CII invoice or credit note, use the **uncoupled CII D22B XSDs** from the [official UNECE package](https://unece.org/sites/default/files/2025-07/CII_D22B.zip), located in the ZIP file under: `XSD/uncoupled/Schema/uncefact`.\n> \n> For creating your CII invoice or credit note for Factur-X, use the **Factur-X XSDs** from [fnfe-mpe.org](https://fnfe-mpe.org/ressources/), located in the section `Les Schematrons des profils EN16931 et EXTENDED-CTC-FR ainsi que ceux des règles de gestion additionnelles France BR-FR-CTC, développés par le FNFE-MPE`.\n\n---\n\n#### PA responsibilities towards PPF\n\nIn the French model, the `PA` (*Plateforme agréée*) is the platform through which participants exchange invoices and related France-specific lifecycle messages, while the `PPF` is the French authority platform that receives regulatory reporting.\n\nFor B2B exchanges between French legal entities, it is the responsibility of the `PA` to report the exchanged documents to `PPF`. This means that you continue to send and receive your invoices through Peppol as usual, and we, acting as the platform, perform the corresponding reporting to `PPF` automatically without requiring any extra action from you. We also notify you (the seller) about these authority submissions through the France `PPF / C5` notifications described in the section below.\n\nThe following table details exactly what we report to `PPF` and when, for B2B exchanges:\n\n| What is reported to PPF | When                                                                                 | Initiation | Your role |\n|---|--------------------------------------------------------------------------------------|---|---|\n| The invoice (or credit note) | When you send a Peppol invoice through our platform                                  | Triggered by your invoice submission | Seller |\n| Lifecycle status `Déposée` | At the same time as the invoice submission - confirms the invoice has been deposited | Automatic by our platform (`PA`) | Seller |\n| Lifecycle status `Rejetée` | At the same time as the invoice submission, if the invoice is rejected at submission | Automatic by our platform (`PA`) | Seller |\n| Lifecycle status `Refusée` | When you send a Peppol invoice response with status *Refused*                        | Initiated by you (user action) | Buyer |\n| Lifecycle status `Encaissée` | When you send a Peppol invoice response with status *Collected*                      | Initiated by you (user action) | Seller |\n\n> **Note:** Other lifecycle statuses, such as `Approuvée`, `Mise à disposition`, `Prise en charge`, or `Paiement transmis`, may be supported and exchanged between platforms where applicable. However, under the French e-invoicing reform, the statuses that must be reported to the `PPF` for regulatory purposes are `Déposée`, `Rejetée`, `Refusée`, and, where payment reporting is required, `Encaissée`. The `Encaissée` status is mandatory only for transactions where payment data must be reported, for example where VAT is due on cash receipt.\n\nFor B2C transactions, and also for B2B transactions where the buyer is not a legal company residing in France, the reporting is not triggered automatically from the Peppol exchange flow. In these cases, it is your responsibility to use the dedicated [France e-reporting endpoint](#tag/France-PPF-Submission/operation/submitFranceEReportingXmlForLegalEntity) to submit the reporting payload to `PPF`.\n\n---\n\n#### Notifications\n\nSimilar to other countries, you will receive notifications when sending and receiving documents.  \nAfter a document (e.g. an invoice) is sent, you will receive a `DOCUMENT_SENT` notification. You can then use the `transmissionId` from the notification to retrieve the transport evidence, which serves as proof of delivery to the recipient's platform.  \nWhen you receive a document (e.g. an invoice), you will get a `DOCUMENT_RECEIVED` notification. You can then use the `transmissionId` from the notification to retrieve the received document content in its original format (either UBL XML, CII XML or Factur-X PDF).\n\nFrance also introduces notification types that are specific to the French document lifecycle and French authority reporting flows.\n\n##### CDAR notifications\n\n`CDAR` stands for Cross Domain Acknowledgement And Response. In practice, these notifications are used for France-specific invoice lifecycle updates exchanged over Peppol.\n\n*   `CDAR_SENT`: a France lifecycle CDAR message was successfully sent by our platform. This is different from `DOCUMENT_SENT`, which confirms that the original invoice or credit note was delivered to the recipient Access Point. `CDAR_SENT` is about the lifecycle response itself. For example, when a France invoice is successfully sent, we as a platform (`PA`) will also send a seller-side `Déposée` CDAR in the France flow.\n*   `CDAR_RECEIVED`: a France lifecycle CDAR message was received by our platform for a previously sent or received document. This notification means that the referenced invoice or credit note has received a France-specific status update. For example, after the buyer receives an invoice, they might send a `Rejetée` CDAR back to the seller, which would trigger a `CDAR_RECEIVED` notification for the seller.\n\n##### PPF / C5 reporting notifications\n\nPPF reporting is asynchronous and independent of Peppol delivery. A `DOCUMENT_SENT` notification confirms delivery to the recipient's Access Point; it does not confirm reporting to PPF. PPF entries are sent in bulk, but you receive notifications for each individual invoice, credit note, CDAR or e-reporting payload.\n\nA typical successful lifecycle is `C5_DOCUMENT_ENQUEUED` &rarr; `C5_DOCUMENT_SUBMITTED` &rarr; `C5_DOCUMENT_ACKNOWLEDGED` &rarr; `C5_DOCUMENT_PROCESSED`:\n\n| Event type | Meaning |\n|---|---|\n| `C5_DOCUMENT_ENQUEUED` | The individual entry was created and is waiting to be included in a PPF bulk submission. It has not yet been sent to PPF. |\n| `C5_DOCUMENT_SUBMITTED` | The bulk archive containing the entry was uploaded to PPF. This confirms transport only, not technical or business acceptance. |\n| `C5_DOCUMENT_SUBMISSION_FAILED` | The entry could not be prepared/queued, or its bulk archive could not be uploaded after all retries. `details` contains the available error information. A manual resubmission starts a new reporting lifecycle. |\n| `C5_DOCUMENT_ACKNOWLEDGED` | PPF returned technical status `500` (*Recevable*). The archive passed PPF's initial checks, but business processing is not yet complete. |\n| `C5_DOCUMENT_NOT_ACKNOWLEDGED` | PPF returned technical status `501` (*Irrecevable*). The archive failed PPF's initial checks; rejection information is returned when supplied by PPF. |\n| `C5_DOCUMENT_PROCESSED` | PPF completed business processing successfully (`250` for e-invoicing or `300` for e-reporting). |\n| `C5_DOCUMENT_PROCESSING_FAILED` | PPF completed processing with a business rejection (`251` for e-invoicing, `301` for e-reporting or `601` for a lifecycle report). |\n\nUse the notification fields as follows:\n\n*   `submissionId` identifies the individual PPF entry; `c5TransmissionId` identifies the outbound bulk archive and is therefore normally absent from the initial `C5_DOCUMENT_ENQUEUED` notification.\n*   On PPF response notifications, `acknowledgementId` is the name of the incoming PPF acknowledgement or business-response archive that produced the notification.\n*   For invoices, credit notes and CDAR responses sent through Peppol, use `transmissionId` to correlate the C5 notification with the corresponding Peppol document submission.\n*   Standalone France e-reporting submissions do not have a Peppol `transmissionId`. Correlate their notifications using the `submissionId` returned when the e-reporting submission was initially accepted.\n*   `success` describes the outcome of the current event, not the final outcome of the entire lifecycle. General errors are returned in `details`; PPF business or validation reasons can be returned in `documentStatus`, `documentStatusDetails` and their nested `notes`.\n\nFields that do not apply to the current stage may be omitted. PPF acknowledgements and business responses arrive later, so consumers should use `eventType` and the identifiers above rather than assuming that the notifications will be returned together.\n\n---\n\n##### Detailed France exchange walkthrough\n\nThe following example shows a typical France invoice exchange and the related CDAR and PPF/C5 notifications end to end.\n\nAlthough this flow is representative of real-world exchanges, it is intentionally detailed to illustrate a longer end-to-end scenario. It is not the minimal possible example. In practice, multiple variations are possible, and some production flows can be significantly simpler than the one shown below.\n\n<details open>\n<summary>Detailed France exchange example</summary>\n\n<style>\n    .france-exchange-example-wrapper {\n        overflow-x: auto;\n        margin-top: 12px;\n    }\n\n    .france-exchange-example {\n        border-collapse: collapse;\n        width: 100%;\n        min-width: 960px;\n        color: #222;\n        font-family: Arial, sans-serif;\n        font-size: x-small;\n    }\n\n    .france-exchange-example th,\n    .france-exchange-example td {\n        border: 1px solid #ccc;\n        padding: 10px;\n        vertical-align: top;\n        text-align: left;\n    }\n\n    .france-exchange-example th {\n        background: #f4f4f4;\n    }\n\n    .france-exchange-example td ul {\n        margin: 0;\n        padding-left: 20px;\n    }\n\n    .france-exchange-example td ul li {\n        margin-bottom: 8px;\n    }\n\n    .france-exchange-example td ul li:last-child {\n        margin-bottom: 0;\n    }\n\n    .france-exchange-example td ul ul {\n        margin-top: 4px;\n        padding-left: 20px;\n    }\n\n    .france-exchange-example td ul ul li {\n        margin-bottom: 4px;\n    }\n\n    .france-exchange-example td ul ul li:last-child {\n        margin-bottom: 0;\n    }\n\n    .france-exchange-example .inv-number {\n        padding: 0 4px;\n        border-radius: 4px;\n        font-weight: 600;\n    }\n\n    .france-exchange-example tr.section-separator td {\n        border: none;\n        padding: 0;\n        height: 4px;\n        background: #eee;\n    }\n\n    .france-exchange-example .cdar-number {\n        padding: 0 4px;\n        border-radius: 4px;\n        font-weight: 600;\n    }\n\n    .transmission-id {\n        font-family: \"Courier New\", monospace;\n        padding: 0 4px;\n        border-radius: 4px;\n    }\n\n    .france-exchange-example .inv-seller {\n        background: #e9f7ef;\n        color: #0d5c32;\n    }\n\n    .france-exchange-example .inv-buyer {\n        background: #fdecec;\n        color: #7a1f1f;\n    }\n\n    .france-exchange-example .cdar200-seller {\n        background: #f0eaff;\n        color: #47208a;\n    }\n\n    .france-exchange-example .cdar200-buyer {\n        background: #fff7e6;\n        color: #7a4b00;\n    }\n\n    .france-exchange-example .cdar205-seller {\n        background: #ddeeff;\n        color: #0a3d8f;\n    }\n\n    .france-exchange-example .cdar205-buyer {\n        background: #ffe8cc;\n        color: #b34700;\n    }\n\n    .france-exchange-example .cdar211-seller {\n        background: #eae5ff;\n        color: #371e9a;\n    }\n\n    .france-exchange-example .cdar211-buyer {\n        background: #fff2d6;\n        color: #a35a00;\n    }\n\n    .france-exchange-example .cdar212-seller {\n        background: #eef2fd;\n        color: #0d47a1; \n    }\n    \n    .france-exchange-example .cdar212-buyer {\n        background: #fffde7;\n        color: #f57f17; \n    }\n</style>\n\n<div class=\"france-exchange-example-wrapper\">\n    <table class=\"france-exchange-example\">\n        <thead>\n            <tr>\n                <th>Document</th>\n                <th>Route</th>\n                <th>Seller</th>\n                <th>Buyer</th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr>\n                <td>Invoice<br> <span class=\"inv-number\">INV1775</span></td>\n                <td>Seller&nbsp;→&nbsp;Buyer<br>(via Peppol)</td>\n                <td>\n                    <ul>\n                        <li>initiates the sending by submitting the document</li>\n                        <li>\n                            the submission response contains:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>documentId=<span class=\"inv-number\">INV1775</span></li>\n                            </ul>\n                        </li>\n                        <li>\n                            when the document reaches the recipient's AP, will have a DOCUMENT_SENT notification with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>documentId=<span class=\"inv-number\">INV1775</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td>\n                    <ul>\n                        <li>\n                            receives the document at the AP, will have a DOCUMENT_RECEIVED notification with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id inv-buyer\">abc5dd8c4d0a11f1be530237451f649b</span></li>\n                                <li>documentId=<span class=\"inv-number\">INV1775</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr>\n                <td>Invoice<br> <span class=\"inv-number\">INV1775</span></td>\n                <td>Seller&nbsp;→&nbsp;PPF</td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the PPF submission (automatically)\n                        </li>\n                        <li>\n                            has a C5_DOCUMENT_ENQUEUED notification when the report enters the PPF queue,\n                            followed by C5_DOCUMENT_SUBMITTED after its bulk archive is uploaded, with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>documentId=<span class=\"inv-number\">INV1775</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td></td>\n            </tr>\n            <tr class=\"section-separator\">\n                <td colspan=\"4\"></td>\n            </tr>\n            <tr>\n                <td>CDAR Déposée<br> <span class=\"cdar-number\">INV1775_CDV_200</span></td>\n                <td>Seller&nbsp;→&nbsp;Buyer (via Peppol)</td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the sending of the CDAR (automatically)\n                        </li>\n                        <li>\n                            when the document reaches the recipient's AP, will have a CDAR_SENT notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar200-seller\">b15668d84d0a11f1962d0a1599d5134b</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_200</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td>\n                    <ul>\n                        <li>\n                            receives the document at the AP, will have a CDAR_RECEIVED notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-buyer\">abc5dd8c4d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar200-buyer\">b8ddc14d4d0a11f1962d0a1599d5134b</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_200</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr>\n                <td>CDAR Déposée<br> <span class=\"cdar-number\">INV1775_CDV_200</span></td>\n                <td>Seller&nbsp;→&nbsp;PPF</td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the PPF submission (automatically)\n                        </li>\n                        <li>\n                            has a C5_DOCUMENT_ENQUEUED notification when the report enters the PPF queue,\n                            followed by C5_DOCUMENT_SUBMITTED after its bulk archive is uploaded, with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id cdar200-seller\">b15668d84d0a11f1962d0a1599d5134b</span>\n                                </li>\n                                <li>documentId=<span class=\"cdar-number\">INV1775_CDV_200</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td></td>\n            </tr>\n            <tr class=\"section-separator\">\n                <td colspan=\"4\"></td>\n            </tr>\n            <tr>\n                <td>CDAR Approuvée<br> <span class=\"cdar-number\">INV1775_CDV_205</span></td>\n                <td>Buyer&nbsp;→&nbsp;Seller (via Peppol)</td>\n                <td>\n                    <ul>\n                        <li>\n                            receives the CDAR document at the AP, will have a CDAR_RECEIVED notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar205-seller\">caf263284e0a11f1612d8a159ad5f54b</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_205</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td>\n                    <ul>\n                        <li>\n                            responds to the seller announcing the approval of the invoice (initiates the sending of the\n                            CDAR manually, since this is optional)\n                        </li>\n                        <li>\n                            when the document reaches the recipient's AP, will have a CDAR_SENT notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-buyer\">abc5dd8c4d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar205-buyer\">c9e779214e0a11f1962d8a159ad5134b</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_205</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr>\n                <td>CDAR Approuvée<br> <span class=\"cdar-number\">INV1775_CDV_205</span></td>\n                <td>Buyer&nbsp;→&nbsp;PPF</td>\n                <td></td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the PPF submission (manually, as reporting this lifecycle event is optional)\n                        </li>\n                        <li>\n                            has a C5_DOCUMENT_ENQUEUED notification when the report enters the PPF queue,\n                            followed by C5_DOCUMENT_SUBMITTED after its bulk archive is uploaded, with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id cdar205-buyer\">c9e779214e0a11f1962d8a159ad5134b</span>\n                                </li>\n                                <li>documentId=<span class=\"cdar-number\">INV1775_CDV_205</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr class=\"section-separator\">\n                <td colspan=\"4\"></td>\n            </tr>\n            <tr>\n                <td>CDAR Paiement transmis<br> <span class=\"cdar-number\">INV1775_CDV_211</span></td>\n                <td>Buyer&nbsp;→&nbsp;Seller (via Peppol)</td>\n                <td>\n                    <ul>\n                        <li>\n                            receives the CDAR document at the AP, will have a CDAR_RECEIVED notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar211-seller\">5ab84d9a4f0c11f1a44b0c4a11de5f2c</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_211</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td>\n                    <ul>\n                        <li>\n                            responds to the seller announcing that the payment has been made (initiates the sending of the CDAR manually, since this is optional)\n                        </li>\n                        <li>\n                            when the document reaches the recipient's AP, will have a CDAR_SENT notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-buyer\">abc5dd8c4d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar211-buyer\">6bc95eab4f0c11f1b55c1d5b22ef603d</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_211</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr>\n                <td>CDAR Paiement transmis<br> <span class=\"cdar-number\">INV1775_CDV_211</span></td>\n                <td>Buyer&nbsp;→&nbsp;PPF</td>\n                <td></td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the PPF submission (manually, as reporting this lifecycle event is optional)\n                        </li>\n                        <li>\n                            has a C5_DOCUMENT_ENQUEUED notification when the report enters the PPF queue,\n                            followed by C5_DOCUMENT_SUBMITTED after its bulk archive is uploaded, with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id cdar211-buyer\">6bc95eab4f0c11f1b55c1d5b22ef603d</span>\n                                </li>\n                                <li>documentId=<span class=\"cdar-number\">INV1775_CDV_211</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr class=\"section-separator\">\n                <td colspan=\"4\"></td>\n            </tr>\n            <tr>\n                <td>CDAR Encaissée<br> <span class=\"cdar-number\">INV1775_CDV_212</span></td>\n                <td>Seller&nbsp;→&nbsp;Buyer (via Peppol)</td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the sending of the CDAR (manually; this is mandatory only for transactions where payment data must be reported, eg VAT is due on cash receipt)\n                        </li>\n                        <li>\n                            when the document reaches the recipient's AP, will have a CDAR_SENT notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-seller\">a51631b74d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar212-seller\">d3a41f5c4f0b11f1a12e0b2688e6c25a</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_212</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td>\n                    <ul>\n                        <li>\n                            receives the document at the AP, will have a CDAR_RECEIVED notification with:\n                            <ul>\n                                <li>referencedDocument.transmissionId=<span\n                                        class=\"transmission-id inv-buyer\">abc5dd8c4d0a11f1be530237451f649b</span></li>\n                                <li>referencedDocument.documentId=<span class=\"inv-number\">INV1775</span></li>\n                                <li>currentDocument.transmissionId=<span\n                                        class=\"transmission-id cdar212-buyer\">d4b52a6d4f0b11f1b23f0c3799f7d36b</span>\n                                </li>\n                                <li>currentDocument.documentId=<span class=\"cdar-number\">INV1775_CDV_212</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n            </tr>\n            <tr>\n                <td>CDAR Encaissée<br> <span class=\"cdar-number\">INV1775_CDV_212</span></td>\n                <td>Seller&nbsp;→&nbsp;PPF</td>\n                <td>\n                    <ul>\n                        <li>\n                            initiates the PPF submission (automatically)\n                        </li>\n                        <li>\n                            has a C5_DOCUMENT_ENQUEUED notification when the report enters the PPF queue,\n                            followed by C5_DOCUMENT_SUBMITTED after its bulk archive is uploaded, with:\n                            <ul>\n                                <li>transmissionId=<span\n                                        class=\"transmission-id cdar212-seller\">d3a41f5c4f0b11f1a12e0b2688e6c25a</span>\n                                </li>\n                                <li>documentId=<span class=\"cdar-number\">INV1775_CDV_212</span></li>\n                            </ul>\n                        </li>\n                    </ul>\n                </td>\n                <td></td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n\n</details>\n\n\n\n# Glossary\n\n## Participant scheme and identifier\n\nThe **participant scheme** and **participant identifier** together represent the unique identifier of a participant in\nthe Peppol network. For instance the participant scheme and identifier of Ademico Software is `0208:0522912569`.\n\nThe **participant scheme** describes the **participant identifier** type eg VAT number, Chamber of Commerce number, GLN\nnumber, etc. The participant scheme is usually specific to each country eg for Belgium is `0208` which is the enterprise\nnumber but you can also have an\ninternationally used scheme eg GLN number.\nThe complete list of Peppol participant schemes can be\nfound <a href=\"https://docs.peppol.eu/edelivery/codelists\" target=\"_blank\">on the Peppol website</a> under\nsection `Participant Identifier Schemes`.\n\nThe **participant identifier** can be the participant's VAT number, Chamber of Commerce number, GLN, etc. For instance\nthe\nparticipant number of Ademico Software is the enterprise number from the Belgian Crossroad Bank of Enterprises which is\n0552912569.\n\nA legal entity can be registered in the Peppol network multiple times using different identifiers. For instance a legal\nentity in Belgium can be registered with the company registration number 0208:0552912569 and with the Belgium VAT number\n9925:BE0552912569.\n\nHere are some examples of Peppol identifiers in different countries:\n\n<table>\n  <tr>\n    <th>Country</th>\n    <th>Peppol identifiers</th>\n  </tr>\n  <tr>\n        <td>Belgium</td>\n        <td>\n            <ul>\n                <li>0208:0552912569 where 0208 is the scheme for the company registration number and 0552912569 is\n                    the company registration number value\n                </li>\n                <li>9925:BE0552912569 where 9925 is the scheme for the Belgium VAT number and BE0552912569 is the\n                    VAT number value\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n        <td>Luxembourg</td>\n        <td>\n            <ul>\n                <li>9938:LU12345678 where 9938 is the scheme for the Luxembourg VAT number and LU12345678 is the\n                    VAT number value\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n        <td>Netherlands</td>\n        <td>\n            <ul>\n                <li>0106:12345678 where 0106 is the scheme for the Netherlands KvK number(Chamber of Commerce) and\n                    12345678 is the KvK number value\n                </li>\n                <li>0190:00000001801999999943 where 0190 is the scheme for the Netherlands OIN(Governmental\n                    organization number) and 00000001801999999943 is the OIN value\n                </li>\n                <li>9944:nl001234567b01 where 9944 is the scheme for the Netherlands VAT number and nl001234567b01\n                    is the VAT number value\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n        <td>Australia</td>\n        <td>\n            <ul>\n                <li>0151:12345678901 where 0151 is the scheme for the Australian Business Number and 12345678901 is\n                    the Australian Business Number value\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n        <td>New Zealand</td>\n        <td>\n            <ul>\n                <li>0088:1234567890012 where 0088 is the scheme for the GLN(Global Location Number) and\n                    1234567890012 is the GLN value\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n        <td>Singapore</td>\n        <td>\n            <ul>\n                <li>0195:SGUEN123456789W where 0195 is the scheme for the Singapore UEN and SGUEN123456789W is the\n                    standard identification number of an entity\n                </li>\n            </ul>\n        </td>\n    </tr>\n    <tr>\n      <td>France</td>\n      <td>\n        <p>0225 is the scheme used in France for identifiers used as electronic addresses in the context of the French Continuous Transactional Control reform on e-invoicing.</p>\n        <ul>\n          <li>0225:123456789 is the most common form you'll encounter in practice: 0225 followed by the SIREN number of the company</li>\n          <li>0225:123456789_12345678900001 is the form merging both the SIREN and SIRET number of the legal entity (allows companies to track invoices at the level of each establishment)</li>\n          <li>0225:123456789_A1234 is used to address a specific department, at the company level; it is formed by SIREN followed by a SUFFIX</li>\n          <li>0225:123456789_12345678900001_X123 is used to address a specific department of a specific establishment of the company; it is formed by SIREN followed by SIRET followed by a ROUTINGCODE</li>\n        </ul>\n        <p>Other identifiers used in the context of the French e-invoicing are:</p>\n        <ul>\n          <li>0002:123456789 - the SIREN of the company (9 digits)</li>\n          <li>0009:12345678900001 - the SIRET of the establishment (14 digits)</li>\n          <li>9957:FR123456789 - the VAT number of the company</li>\n        </ul>\n      </td>\n    </tr>\n\n</table>\n\n## Document usage counts\n\nThe [document count endpoint](#tag/Statistics/operation/countDocuments) counts retained\nbusiness transmissions in the authenticated workspace. Optional date filters are\ninclusive and use each record's audit timestamp. The participant filter\nmatches the local sender for outgoing documents and the local recipient for incoming\ndocuments. Recorded failed submissions count as well as successful ones.\n\nIncluded types are `INVOICE`, `CREDIT_NOTE`, `CII_INVOICE`, `FACTURX`,\n`FACTURX_BASIC_WL`, `FACTURX_EN16931`, `FACTURX_EXTENDED`, `ORDER`, `ORDER_ADVANCED`,\n`ORDER_CHANGE`, `ORDER_CANCELLATION`, `ORDER_RESPONSE_ADVANCED`, `SG_ORDER_BALANCE`,\nand France `E_REPORTING`. Invoice/credit-note variants include self-billing and\ncorrective documents across supported profiles and countries.\n\n`CDAR_RESPONSE`, `APPLICATION_RESPONSE` (including Invoice Response, MLR and MLS),\nstatistics reports, envelopes, notifications, PPF responses and bulk archives are\nexcluded. They do not increase customer usage counts.\n\nEach matching audit record counts. Submitting the same invoice five times counts\nas **five**, even when its invoice number is unchanged. Multiple audit records\nsharing a transmission ID are counted separately, using each record's timestamp.\n\nFrance e-reporting counts **one persisted report submission**, not its individual\ntransaction/payment rows or PPF archive. It is attributed to its reporting legal\nidentifier (`0002:SIREN`), which can be used as the participant filter. Usage counts\nare updated asynchronously after the report submission is processed and persisted.\nAcceptance for processing alone does not count. Later transport failures, retries\nand callbacks do not alter its original usage count or date.\n\nCounts are limited to retained audit history. E-reporting audit retention is\nindependent of report-payload retention. The same policy applies to admin\norganization totals and their workspace/company breakdowns. Previously submitted\ne-reporting files are not backfilled into the audit history.\n\n# Changelog\n\n- 1.22 - September 2026\n    - Fixed misleading “not found in Annuaire” errors when a directory lookup fails temporarily.\n    - France e-reporting submission now selects a legal entity using `POST /api/peppol/v1/c5/france/ppf/legal-entities/{legalEntityId}/e-reporting-submissions`. Use the ID of an active legal entity in your workspace that matches the XML reporting SIREN. Multiple entities may share that SIREN.\n    - The previous submission endpoint remains callable but is deprecated and removed from this reference. It still requires an unambiguous reporting SIREN. Existing clients can continue sending the same XML request without additional parameters or headers. XML retrieval is unchanged.\n    - Added French PPF extraction mappings for consolidated credit notes (type `262`, reported as `381` with the contract reference and billing-period start), VAT exemptions, delivery fields, line selection and prices. The original customer document is preserved.\n    - Improved documentation\n- 1.21 - September 2026\n    - Added an endpoint for [retrieving the original France e-reporting XML](#tag/France-PPF-Submission/operation/getFranceEReportingSubmission) by the `submissionId`    \n    - Added support and documentation for French sender-only legal entities. These registrations use scheme `0225`, `peppolRegistration=true`, and mandatory `FR_CDAR_REGULATED`. `FR_CDAR_NONREGULATED`, MLR and Invoice Response are optional and are not added automatically. Their identifier must start with a 9-digit SIREN followed by an underscore and non-empty text. Internal MLS capabilities are not exposed through the public API.    \n- 1.20 - September 2026\n  - Added `claimedByPa` to each result returned when [searching the France Annuaire by SIREN or SIRET](#tag/France-Annuaire/operation/findPeppolIdentifiersBySirenOrSiret). A value of `false` means that the Annuaire record exists but is not routable because no real Plateforme Agréée has claimed it; `true` means that a real PA is assigned. The platform identifier is not exposed.\n  - Corrected the OpenAPI specification to declare the shared `Order` tag only once, allowing strict validators and client generators to process the specification successfully.\n  - Corrected OpenAPI response schemas, examples, date formats, and license metadata so that strict validation and generated-client compilation succeed.\n- 1.19 - August 2026\n  - Added [Factur-X generation from a built-in France CII template](#tag/France-Factur-X-Generation/operation/generateFromTemplate), requiring only the seller and buyer Peppol identifiers and SIRENs, with optional VAT identifiers and an optional human-readable PDF language (`FR`, the default, or `EN`). Generated seller and buyer SIRENs use the French `0002` identifier scheme.\n  - Added [Factur-X generation from a supplied EN16931 CII](#tag/France-Factur-X-Generation/operation/generateFromCii), with an optional readable PDF/A-1 or PDF/A-3 document. When the readable PDF is omitted, it is generated in French by default or in the requested `FR` or `EN` language. Invalid CII responses include the detailed XML, XSD, or Schematron validation report. These generation endpoints return the PDF and do not submit it to Peppol.\n  - Corrected the France PPF submission retrieval contract so generated clients expose the returned `application/xml` response body instead of treating the endpoint as a DTO/no-content response.\n  - Extended structured France CDAR submissions with requested-action code and text, detailed-status sequence numbers, and general document characteristics such as the paired `DIV`/`DVA` VAT-rate correction values from XP Z12-012 Annexe A/B v1.4.\n  - Completed CDAR sending and receiving notifications with root notes, requested actions, amounts, and document characteristics.\n  - Detailed-status sequence numbers are now allocated automatically when omitted, and root CDAR notes preserve their supported content, content-code, and subject-code fields.\n  - Corrected the France CDAR OpenAPI examples to use French motif codes such as `TX_TVA_ERR`; approved status `205` no longer carries the invalid `APP` motif example.\n- 1.18 - August 2026\n  - Added support for embedding Base64 attachments in PA-to-PA CDAR submissions. These attachments are omitted from the PPF-bound CDAR as required by the French PPF profile.\n  - Added support for MEN, RAP, MPA, ESC, RAB, and REM amount details in structured JSON CDAR submissions, including the currency and VAT rate required for the generated CDAR XML.\n- 1.17 - July 2026\n  - Added support for France UBL, CII, and Factur-X self-billing invoices and credit notes identified from their BT-3 document type code\n  - Possibility to search exchanged documents using the legal entity id\n  - Added an endpoint for [retrieving PPF submissions](#tag/France-PPF-Submission/operation/getFranceEInvoicingSubmission) to retrieve the content of the PPF submissions sent to the French authorities.\n  - Added an endpoint for [requesting France PPF C5 reporting](#tag/France-PPF-Submission/operation/requestFranceEInvoicingC5Reporting) for an already sent France e-invoicing document.\n  - Legal entity creation, legal entity updates, and Peppol registration updates now validate that the participant identifier scheme is allowed for the legal entity country; invalid combinations are rejected with a `LEGAL_ENTITY_ERROR`.\n  - Legal entity creation, legal entity updates, and Peppol registration updates now validate that France legal entities support all mandatory France document types; missing document types are rejected with a `LEGAL_ENTITY_ERROR`.\n  - Enhanced C5 notifications to include more details about the C5 submission status and acknowledgements.\n- 1.16 - July 2026\n  - Legal entities can now be deleted even if they have exchanged documents\n  - Added an endpoint for [searching exchanged documents](#tag/Documents/operation/getDocuments), such as invoices and orders, using common document, participant, transmission, country, and direction filters.\n  - Added an endpoint for [searching the France Annuaire by SIREN or SIRET](#tag/France-Annuaire/operation/findPeppolIdentifiersBySirenOrSiret) to retrieve the currently effective Peppol electronic invoicing identifiers.    \n- 1.15 - May 2026\n  - Possibility to skip C5 submission on demand \n- 1.14 - May 2026\n  - Possibility to [ submit a CDAR](#tag/France-CDAR/operation/sendCDAR)\n  - Enhanced support for [CDAR notifications](#tag/Notification/operation/getNotifications)\n  - Support for [France authority e-reporting flow](#tag/France-PPF-Submission/operation/submitFranceEReportingXmlForLegalEntity)\n  - Possibility to [download Factur-X invoices](#tag/InvoiceCredit-Note/operation/getInvoiceInFacturxFormat)  \n  - Added a new `DOCUMENT_RECEIVE_FAILED` [notification type](#tag/Notification/operation/getNotifications) for incoming documents that are rejected due to technical issues (e.g., invalid format, failed validation, etc)\n  - Included more details in the `INVOICE_RESPONSE_SENT` and `INVOICE_RESPONSE_RECEIVED` notifications\n  - The legacy Participant API has been removed\n- 1.13 - March 2026\n  - Ability to [Retrieve the transport evidence](#tag/Transport-Evidences/operation/downloadTransportEvidence) for a transmission ID. This can be used to demonstrate that the document was delivered to the receiver Access Point.\n  - Ability to [Retrieve the number of documents exchanged within a specified period](#tag/Statistics/operation/countDocuments).The period and Peppol identifier are optional filters.\n  - Improved validation error messages when a document cannot be delivered to the receiver Access Point due to a technical issue.\n- 1.12 - February 2026\n  - Possibility to retrieve the transport evidences for a sent or received document\n- 1.11 - January 2026\n  - Possibility to self-manage webhook configuration via the REST API\n  - Possibility to send and receive duplicate documents, allowing the same document (with the same document ID) to be transmitted/received multiple times.\n- 1.10 - December 2025\n  -  Added the Party Identification details to the optional email we send you upon receiving a document (e.g., Invoice, Credit Note, or Order)  \n- 1.9 - October 2025\n    - Support for invoice and credit note Self-Billing\n    - Belgian companies are now automatically de-registered from Hermes when you are trying to register them in\n      Peppol\n- 1.8 - September 2025\n    - Support for Advanced Ordering: Advanced Order, Order Change, Order Cancellation, Advanced Order Response\n    - Support for Singapore Order Balance\n    - The legal entity geographical information and contacts are now optional when registering/updating a legal entity\n- 1.7 - March 2025\n    - New notifications endpoint which makes it easier to get notifications using one endpoint.\n    - Singapore:\n        - Possibility to perform KYC CorpPass process using API\n        - Possibility to report documents to IRAS C5\n- 1.6 - May 2024\n    - New Legal Entity API to better manage Peppol registrations;\n    - Fix an issue when duplicate notifications were created in case the same invoice was submitted in parallel in the\n      same time\n    - Added support for PINT AU-NZ Invoices/Credit Notes used in Australia/New Zealand\n    - Added support for Singapore PINT Invoices/Credit notes\n    - Added support for Japan PINT Invoices/Credit notes\n- 1.5 - January 2024\n    - Removed the suffix \"@ademico-software.com\" from the transmission id\n    - Reduced the time to wait after registering a participant\n- 1.4 - December 2023\n    - Added support for SI-UBL Invoices/Credit Notes used in Netherlands\n    - Added support for OpenPeppol statistics\n    - Possibility to filter on event type in the sending notifications\n\n- 1.3 - October 2023\n    - Possibility to send an email to specific email recipients when receiving a document eg Invoice/Credit Note/Order.\n      The email contains the UBL XML and the attachments contained in the UBL XML eg the Invoice in PDF format\n    - Support for Purchase Order - BIS Order only\n\n- 1.2 - July 2023\n    - Added support for Singapore Invoices/Credit Notes\n    - Added possibility to filter the notifications(sending, receiving and invoice response) based on start date and end\n      date\n    - Possibility to send and receive Invoices/Credit Notes up to 50MB\n    - Updated validation rules to the Peppol May release\n\n- 1.1 - March 2023\n    - Added possibility to filter the notifications(sending, receiving and invoice response) based on the sender and the\n      receiver\n    - Improved documentation\n\n</br></br>\n<h1>Ademico Peppol REST API Documentation</h1>\n","termsOfService":"https://ademico-software.com/terms-and-conditions/","contact":{"name":"Contact","url":"https://ademico-software.com/peppol/peppol-service-provider/","email":"info@ademico-software.com"},"license":{"name":"Proprietary","url":"https://ademico-software.com/terms-and-conditions/"},"version":"v1.22","x-logo":{"altText":"Ademico Logo","url":"https://ademico-software.com/wp-content/uploads/2022/11/PEPPOL-REST-API-redocly-logo.png"}},"servers":[{"url":"https://test-peppol-api.ademico-software.com"},{"url":"https://test-peppol-api1.ademico-software.com/domibus"},{"url":"https://peppol-api.ademico-software.com"},{"url":"https://peppol-api1.ademico-software.com/domibus"}],"tags":[{"name":"Legal Entity KYC(Singapore and Malaysia)","description":"Use the Legal Entity KYC(Know Your Customer) API to manage the KYC process in certain countries eg Singapore using Corppass"},{"name":"Legal Entity C5 Singapore","description":"Use the Legal Entity C5 API to manage C5 activation in Singapore"},{"name":"Legal Entity Peppol Registration","description":"Use the Legal Entity Peppol Registration API in case you want to update the Peppol registration for an existing Legal Entity."},{"name":"France Annuaire","description":"France annuaire lookup API"},{"name":"Webhook Settings API","description":"Use the Webhook Settings API to self configure push notifications (webhooks) mechanism. <p> Push notifications allow you to receive real-time updates about message events, such as when a message is sent, received, or fails to be send. By configuring webhooks, you can automate workflows and improve the efficiency of your messaging processes."},{"name":"Order","description":"Orders API"},{"name":"Singapore IRAS Submission","description":"Singapore IRAS Submission API"},{"name":"Notification","description":"Notifications API"},{"name":"Connectivity","description":"Connectivity API"},{"name":"Legal Entity","description":"A legal entity is an organization/company that sends and receives documents in the Peppol network. It is mandatory to create a legal entity before sending or receiving documents in the Peppol network.</br>Use the Legal Entity API to create a legal entity and register it in the Peppol network."},{"name":"France PPF Submission","description":"France PPF e-invoicing and e-reporting submission API"},{"name":"Invoice Response","description":"Invoice Response API"},{"name":"Statistics","description":"Document statistics"},{"name":"Transport Evidences","description":"Transport Evidences API for retrieving AS4 transport evidences."},{"name":"France Factur-X Generation","description":"Generate France Factur-X PDF documents without submitting them to Peppol"},{"name":"Documents","description":"Search exchanged documents"},{"name":"France CDAR","description":"Cross Domain Acknowledgement and Response API"},{"name":"Invoice/Credit Note","description":"Invoice/Credit Note API"}],"paths":{"/api/peppol/v1/settings/webhooks":{"get":{"tags":["Webhook Settings API"],"summary":"Retrieve webhook notification settings","description":"Retrieve the current configuration for push notifications (webhooks). <p>This endpoint allows users to view and manage their webhook notification preferences. The response includes details such as the webhook URL, activation status, additional headers, and authentication settings. <p>Note that for security reasons, the actual password is not returned in the response; instead, a placeholder is used to indicate that a password is set.","operationId":"getNotificationSettings","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving the settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error retrieving or updating settings"}}}},"200":{"description":"Webhook notification settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSettingsRO"},"examples":{"Notification settings example":{"description":"Notification settings example","value":{"active":true,"webhookUrl":"https://your-url-here.com/webhook","authentication":{"type":"OAUTH2","user":"yourUsername","password":"***","oauth2":{"authorizationPrefix":"Bearer","tokenUrl":"https://auth.your-url-here.com/token","tokenBody":"grant_type=client_credentials&client_id=yourClientId&client_secret=***","tokenExpiresLimitMinutes":10,"tokenHeaders":{"Content-Type":"application/x-www-form-urlencoded"}}},"additionalHeaders":{"Content-Type":"application/json","X-Custom-Header":"value"}}}}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"put":{"tags":["Webhook Settings API"],"summary":"Update webhook notification settings","description":"Update the configuration for push notifications (webhooks). <p>This endpoint allows users to set or modify their webhook notification preferences. When updating the settings, users can specify details such as the webhook URL, activation status, additional headers, and authentication settings. <p>Note that all webhooks settings are overwritten when using this endpoint. To partially update the settings (i.e., merge with existing ones), use the PATCH method instead.","operationId":"updateNotificationSettings","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Notification settings to be applied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSettingsRO"},"examples":{"Notification settings (OAuth2)":{"description":"Notification settings (OAuth2)","value":{"active":true,"webhookUrl":"https://your-url-here.com/webhook","authentication":{"type":"OAUTH2","user":"yourUsername","password":"yourPassword","oauth2":{"authorizationPrefix":"Bearer","tokenUrl":"https://auth.your-url-here.com/token","tokenBody":"grant_type=client_credentials&client_id=yourClientId&client_secret=yourClientSecret","tokenExpiresLimitMinutes":10,"tokenHeaders":{"Content-Type":"application/x-www-form-urlencoded"}}},"additionalHeaders":{"Content-Type":"application/json","X-Custom-Header":"value"}}},"Notification settings (BasicAuth)":{"description":"Notification settings (BasicAuth)","value":{"active":true,"webhookUrl":"https://your-url-here.com/webhook","authentication":{"type":"BASIC_AUTH","user":"yourUsername","password":"yourPassword"},"additionalHeaders":{"Content-Type":"application/json","X-Custom-Header":"value"}}},"Notification settings (No Auth - for test only)":{"description":"Notification settings (No Auth - for test only)","value":{"active":true,"webhookUrl":"https://your-url-here.com/webhook","authentication":{"type":"NONE"}}}}}},"required":true},"responses":{"400":{"description":"Error updating the webhook notification settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error retrieving or updating settings"}}}},"204":{"description":"Webhook notification settings updated successfully."}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"patch":{"tags":["Webhook Settings API"],"summary":"Partially update webhook notification settings","description":"Update the configuration for push notifications (webhooks). <p>This endpoint allows users to set or modify their webhook notification preferences. When updating the settings, users can specify details such as the webhook URL, activation status, additional headers, and authentication settings. <p>Note that only the provided fields are updated; other existing settings remain unchanged. To overwrite all webhook settings, use the PUT method instead.","operationId":"patchNotificationSettings","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Notification settings to be applied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSettingsRO"},"examples":{"Updating the webhook URL":{"description":"Updating the webhook URL","value":{"webhookUrl":"https://your-url-here.com/webhook"}},"Updating the webhook OAuth2 details":{"description":"Updating the webhook OAuth2 details","value":{"authentication":{"oauth2":{"authorizationPrefix":"Bearer","tokenUrl":"https://auth.your-url-here.com/token","tokenBody":"grant_type=client_credentials&client_id=yourClientId&client_secret=yourClientSecret","tokenHeaders":{"Content-Type":"application/x-www-form-urlencoded"}}}}},"Disabling Push notifications":{"description":"Disabling Push notifications","value":{"active":false}}}}},"required":true},"responses":{"400":{"description":"Error updating the webhook notification settings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error retrieving or updating settings"}}}},"204":{"description":"Webhook notification settings updated successfully."}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}":{"put":{"tags":["Legal Entity"],"summary":"Update a legal entity","description":"Update a legal entity and publish it(optionally) in the <a href=\"https://directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a>. For the TEST environment the legal entity is published in <a href=\"https://test-directory.peppol.eu/public\" target=\"_blank\">TEST Peppol Directory</a> </br></br>Set the flag `publishInPeppolDirectory` to false if you don't want to publish the legal entity details in the Peppol Directory. </br>","operationId":"updateLegalEntity","parameters":[{"name":"legalEntityId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Legal entity creation examples","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityUpdateRequestRO"},"examples":{"Legal entity request example":{"description":"Legal entity request example","value":{"legalEntityDetails":{"publishInPeppolDirectory":true,"name":"Ademico Software","countryCode":"BE","geographicalInformation":"204 My street, My City, My Country","registrationDate":"2019-08-24T14:15:22.000","websiteURL":"https://ademico-software.com","contacts":[{"contactType":"public","name":"Your company name","phoneNumber":"+32 123456","email":"info@example.com"}],"additionalInformation":"Our company is specialized in ...","peppolAdditionalIdentifiers":[{"scheme":"0208","identifier":"0552912569"}]}}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Legal entity updated successfully."},"400":{"description":"Error updating legal entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error updating legal entity"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"delete":{"tags":["Legal Entity"],"summary":"Delete a legal entity","description":"Delete a legal entity from the Peppol network(SML/SMP) and from the <a href=\"https://directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a>. For the TEST environment the legal entity is deleted from the <a href=\"https://test-directory.peppol.eu/public\" target=\"_blank\">TEST Peppol Directory</a>. </br></br>","operationId":"deleteLegalEntity","parameters":[{"name":"legalEntityId","in":"path","description":"The identifier of the legal entity you want to delete","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error deleting legal entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Could not delete legal entity: legal entity already sent or receive documents in the Peppol network"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Legal entity deleted successfully"}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}":{"put":{"tags":["Legal Entity Peppol Registration"],"summary":"Update a Peppol registration for a legal entity","description":"Update a Peppol registration for a legal entity(for instance to update the supported documents). You can have a look in the section <a href=\"#section/Getting-started/Register-your-legal-entity-as-a-participant-in-the-Peppol-network\">Register your legal entity as a participant in the Peppol network</a> for more details. For French sender-only capability rules, see <a href=\"#section/Country-Specifics/Getting-started-with-Peppol-in-France/Register-a-France-0225-identifier-for-sending-only\">Register a France 0225 identifier for sending only</a>.","operationId":"updatePeppolRegistrationForLegalEntity","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity you want to update in the Peppol network","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration you want to update","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Peppol registration of legal entities update examples","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationUpdateRequestRO"},"examples":{"Peppol registration of a legal entity update example":{"description":"Peppol registration of a legal entity update example","value":{"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0208","identifier":"0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}}},"Update to a French sender-only 0225 Peppol registration":{"description":"Update to a French sender-only 0225 Peppol registration","value":{"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0225","identifier":"123456789_SENDER"},"supportedDocuments":["FR_CDAR_REGULATED"],"peppolRegistration":true}}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Legal entity updated successfully."},"400":{"description":"Error updating legal entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error creating legal entity"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"delete":{"tags":["Legal Entity Peppol Registration"],"summary":"Delete a Peppol registration for a legal entity","description":"Delete a Peppol registration for a legal entity. The Peppol registration of the legal entity will be also deleted from the Peppol network(SML/SMP). ","operationId":"deletePeppolRegistrationForLegalEntity","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration you want to delete","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Peppol registration deleted successfully"},"400":{"description":"Error deleting Peppol registration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Could not delete the Peppol registration for legal entity"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/kyc/pdf":{"put":{"tags":["Legal Entity KYC(Singapore and Malaysia)"],"summary":"KYC process using PDF authorisation document","description":"This endpoint is used in Singapore and Malaysia. </br> Provide a PDF authorisation document to sign and complete the KYC process for a Peppol registration. </br>For Singapore, you can use this service only in the Test environment. In the Production environment, you must use Corppass to complete the KYC process.","operationId":"signKYCUsingPdfForPeppolRegistration","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to sign the KYC","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to initiate the KYC process using PDF authorisation document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityKycSignRequestRO"},"examples":{"KYC email request example":{"description":"KYC email request example","value":{"pdfDocumentBase64":"VGhlIFBERiBhdXRob3JpemF0aW9uIGRvY3VtZW50IGluIGJhc2U2NA=="}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Signed KYC using PDF successfully."},"400":{"description":"Error signing KYC using PDF","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error signing KYC process using PDF"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/sg-order-balances/ubl-submissions":{"post":{"tags":["Order"],"summary":"Send an UBL Singapore Order Balance to the Seller","description":"The Singapore Order Balance is scheduled in the queue to be sent to the Seller. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the Singapore Order Balance has be received by the Seller. See below for possible validation errors you can get.","operationId":"submitSgOrderBalanceFile","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The SG Order Balance in UBL XML format","format":"binary"}}}}}},"responses":{"400":{"description":"Error sending the UBL SG Order Balance to the Seller. In this case the UBL SG Order Balance is not sent to the Seller. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL SG Order Balance</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>Duplicate document: the SG Order Balance has been already sent</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving an UBL Order</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [Order-invalid.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"Order-invalid.xml","xmlValidationReport":{"validatedWith":"Order-invalid.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Order-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"PEPPOLBIS-T01","reportStatus":"ERROR","warningsCount":0,"errorsCount":1,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.","lineNumber":263,"columnNumber":32,"schematronTest":"if($taxinclusiveAmount and /ubl:Order/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1","errorId":"PEPPOL-T01-R017","xpath":"/*:Order[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Order-2'][1]/*:AnticipatedMonetaryTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]","xpathWithoutNamespaces":"/Order[1]/AnticipatedMonetaryTotal[1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":1,"xmlContent":""}}}}},"200":{"description":"The SG Order Balance has been scheduled in the queue to be sent to the Seller.You get notified either via pull or push mechanism when the SG Order Balance has be received by the Seller. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"803828d52d4911ed85f512ef9c5638d0","documentId":"pbe000512-1","documentTypeEnum":"SG_ORDER_BALANCE","sender":"0195:YOUR_PEPPOL_ID","receiver":"0195:SGTSTKADVORDERING01"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/orders/ubl-submissions":{"post":{"tags":["Order"],"summary":"Send an UBL Order to the Seller","description":"The Order is scheduled in the queue to be sent to the Seller. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the Order has be received by the Seller. See below for possible validation errors you can get.","operationId":"submitOrderFile","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The Order in UBL XML format","format":"binary"}}}}}},"responses":{"200":{"description":"The Order has been scheduled in the queue to be sent to the Seller.You get notified either via pull or push mechanism when the Order has be received by the Seller. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"803828d52d4911ed85f512ef9c5638d0","documentId":"pbe000512-1","documentTypeEnum":"ORDER","sender":"0208:0552912569","receiver":"0208:1999999943"}}}},"400":{"description":"Error sending the UBL Order to the Seller. In this case the UBL Order is not sent to the Seller. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL Order</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>Duplicate order: the Order has been already sent</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving an UBL Order</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [Order-invalid.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"Order-invalid.xml","xmlValidationReport":{"validatedWith":"Order-invalid.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Order-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"PEPPOLBIS-T01","reportStatus":"ERROR","warningsCount":0,"errorsCount":1,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.","lineNumber":263,"columnNumber":32,"schematronTest":"if($taxinclusiveAmount and /ubl:Order/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1","errorId":"PEPPOL-T01-R017","xpath":"/*:Order[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Order-2'][1]/*:AnticipatedMonetaryTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]","xpathWithoutNamespaces":"/Order[1]/AnticipatedMonetaryTotal[1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":1,"xmlContent":""}}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-responses/ubl-submissions":{"post":{"tags":["Order"],"summary":"Send an UBL Order Response to the Buyer","description":"The Order Response is scheduled in the queue to be sent to the Buyer. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the Order Response has be received by the Buyer. See below for possible validation errors you can get.","operationId":"submitOrderResponseFile","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The Order Response in UBL XML format","format":"binary"}}}}}},"responses":{"400":{"description":"Error sending the UBL Order Response to the Buyer. In this case the UBL Order Response is not sent to the Buyer. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL Order Response</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>Duplicate document: the Order Response has been already sent</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving an UBL Order</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [Order-invalid.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"Order-invalid.xml","xmlValidationReport":{"validatedWith":"Order-invalid.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Order-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"PEPPOLBIS-T01","reportStatus":"ERROR","warningsCount":0,"errorsCount":1,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.","lineNumber":263,"columnNumber":32,"schematronTest":"if($taxinclusiveAmount and /ubl:Order/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1","errorId":"PEPPOL-T01-R017","xpath":"/*:Order[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Order-2'][1]/*:AnticipatedMonetaryTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]","xpathWithoutNamespaces":"/Order[1]/AnticipatedMonetaryTotal[1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":1,"xmlContent":""}}}}},"200":{"description":"The Order Response has been scheduled in the queue to be sent to the Buyer.You get notified either via pull or push mechanism when the Order Response has be received by the Buyer. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"803828d52d4911ed85f512ef9c5638d0","documentId":"pbe000512-1","documentTypeEnum":"ORDER_RESPONSE_ADVANCED","sender":"0208:0552912569","receiver":"0208:1999999943"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-changes/ubl-submissions":{"post":{"tags":["Order"],"summary":"Send an UBL Order Change to the Seller","description":"The Order Change is scheduled in the queue to be sent to the Seller. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the Order Change has be received by the Seller. See below for possible validation errors you can get.","operationId":"submitOrderChangeFile","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The Order Change in UBL XML format","format":"binary"}}}}}},"responses":{"400":{"description":"Error sending the UBL Order Change to the Seller. In this case the UBL Order Change is not sent to the Seller. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL Order Change</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>Duplicate document: the Order Change has been already sent</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving an UBL Order</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [Order-invalid.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"Order-invalid.xml","xmlValidationReport":{"validatedWith":"Order-invalid.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Order-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"PEPPOLBIS-T01","reportStatus":"ERROR","warningsCount":0,"errorsCount":1,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.","lineNumber":263,"columnNumber":32,"schematronTest":"if($taxinclusiveAmount and /ubl:Order/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1","errorId":"PEPPOL-T01-R017","xpath":"/*:Order[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Order-2'][1]/*:AnticipatedMonetaryTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]","xpathWithoutNamespaces":"/Order[1]/AnticipatedMonetaryTotal[1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":1,"xmlContent":""}}}}},"200":{"description":"The Order Change has been scheduled in the queue to be sent to the Seller.You get notified either via pull or push mechanism when the Order Change has be received by the Seller. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"803828d52d4911ed85f512ef9c5638d0","documentId":"pbe000512-1","documentTypeEnum":"ORDER_CHANGE","sender":"0208:0552912569","receiver":"0208:1999999943"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-cancellations/ubl-submissions":{"post":{"tags":["Order"],"summary":"Send an UBL Order Cancellation to the Seller","description":"The Order Cancellation is scheduled in the queue to be sent to the Seller. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the Order Cancellation has be received by the Seller. See below for possible validation errors you can get.","operationId":"submitOrderCancellationFile","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The Order Cancellation in UBL XML format","format":"binary"}}}}}},"responses":{"400":{"description":"Error sending the UBL Order Cancellation to the Seller. In this case the UBL Order Cancellation is not sent to the Seller. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL Order Cancellation</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>Duplicate document: the Order Cancellation has been already sent</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving an UBL Order</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [Order-invalid.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"Order-invalid.xml","xmlValidationReport":{"validatedWith":"Order-invalid.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Order-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"PEPPOLBIS-T01","reportStatus":"ERROR","warningsCount":0,"errorsCount":1,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"Expected total amount with TAX = Expected total amount without TAX + Order total TAX amount.","lineNumber":263,"columnNumber":32,"schematronTest":"if($taxinclusiveAmount and /ubl:Order/cac:TaxTotal) then ($taxinclusiveAmount = $taxexclusiveAmount + $TAXamount) else 1","errorId":"PEPPOL-T01-R017","xpath":"/*:Order[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Order-2'][1]/*:AnticipatedMonetaryTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]","xpathWithoutNamespaces":"/Order[1]/AnticipatedMonetaryTotal[1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":1,"xmlContent":""}}}}},"200":{"description":"The Order Cancellation has been scheduled in the queue to be sent to the Seller.You get notified either via pull or push mechanism when the Order Cancellation has be received by the Seller. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"803828d52d4911ed85f512ef9c5638d0","documentId":"pbe000512-1","documentTypeEnum":"ORDER_CANCELLATION","sender":"0208:0552912569","receiver":"0208:1999999943"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities":{"get":{"tags":["Legal Entity"],"summary":"Get the list of the legal entities","description":"Get the list of the legal entities including the Peppol registrations(Peppol identifiers and supported documents)","operationId":"getLegalEntities","parameters":[{"name":"legalEntityId","in":"query","description":"The legal entity identifier","required":false,"schema":{"type":"integer","format":"int64"},"example":15},{"name":"name","in":"query","description":"The legal entity name","required":false,"schema":{"type":"string"},"example":"Company name"},{"name":"country","in":"query","description":"The legal entity country","required":false,"schema":{"$ref":"#/components/schemas/CountryCodeEnum"},"example":"BE"},{"name":"peppolRegistrationScheme","in":"query","description":"The Peppol identifier scheme of the legal entity","required":false,"schema":{"type":"string"},"example":"0208"},{"name":"peppolRegistrationIdentifier","in":"query","description":"The Peppol identifier of the legal entity","required":false,"schema":{"type":"string"},"example":"0552912569"},{"name":"peppolSupportedDocument","in":"query","description":"The document that can be received by the legal entity in the Peppol network","required":false,"schema":{"$ref":"#/components/schemas/PeppolDocumentSchemeEnumRO"},"example":"PEPPOL_BIS_BILLING_UBL_INVOICE_V3"},{"name":"page","in":"query","description":"The starting page number from which we want to retrieve results. The first page is 0.","required":false,"schema":{"type":"integer","format":"int32","default":0},"example":0},{"name":"pageSize","in":"query","description":"How many results we retrieve per page","required":false,"schema":{"type":"integer","format":"int32","default":10},"example":10},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving legal entities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error getting legal entities"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Legal entities retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityListRO"},"example":{"pagination":{"count":2,"page":0,"pageSize":10},"legalEntities":[{"legalEntityId":1,"legalEntityDetails":{"publishInPeppolDirectory":true,"name":"Ademico Software","creationDate":"2024-01-05T07:20:51.068","registrationDate":"2019-08-24T14:15:22.000","countryCode":"BE","geographicalInformation":"204 My street, My City, My Country","websiteURL":"https://ademico-software.com","contacts":[{"contactType":"public","name":"Your company name","phoneNumber":"+32 123456","email":"info@example.com"}],"additionalInformation":"Our company is specialized in Peppol services","peppolAdditionalIdentifiers":[{"scheme":"0208","identifier":"0552912569"},{"scheme":"9925","identifier":"BE0552912569"}]},"peppolRegistrations":[{"peppolRegistrationId":1,"creationDate":"2024-01-05T07:21:15.000","peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0208","identifier":"0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}},{"peppolRegistrationId":2,"creationDate":"2024-01-05T07:21:16.000","peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"9925","identifier":"BE0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}}]},{"legalEntityId":2,"legalEntityDetails":{"publishInPeppolDirectory":true,"name":"Your company","creationDate":"2024-02-01T10:00:00.000","registrationDate":"2023-08-24T14:15:22.000","countryCode":"BE","geographicalInformation":"204 My street, My City, My Country","websiteURL":"https://example.com","contacts":[{"contactType":"public","name":"Your company name","phoneNumber":"+32 123456","email":"info@example.com"}],"additionalInformation":"Our company is specialized in ..."},"peppolRegistrations":[{"peppolRegistrationId":3,"creationDate":"2024-02-01T10:05:00.000","peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0208","identifier":"123456789"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}}]}]}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"post":{"tags":["Legal Entity"],"summary":"Create a legal entity and register it in the Peppol network","description":"Create a legal entity and register it in the Peppol network. In the section <a href=\"#section/Getting-started/Register-your-legal-entity-as-a-participant-in-the-Peppol-network\">Register your legal entity as a participant in the Peppol network</a> we explain in detail how to create your legal entity. For a French 0225 identifier used only for sending, see <a href=\"#section/Country-Specifics/Getting-started-with-Peppol-in-France/Register-a-France-0225-identifier-for-sending-only\">Register a France 0225 identifier for sending only</a>.","operationId":"createLegalEntity","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Legal entity registration examples","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityCreateRequestRO"},"examples":{"Create legal entity and register it in the Peppol network example":{"description":"Create legal entity and register it in the Peppol network example","value":{"legalEntityDetails":{"additionalInformation":"Our company is specialized in ...","contacts":[{"contactType":"public","email":"info@example.com","name":"Your company name","phoneNumber":"+32 123456"}],"countryCode":"BE","geographicalInformation":"204 My street, My City, My Country","name":"Ademico Software","peppolAdditionalIdentifiers":[{"identifier":"0552912569","scheme":"0208"}],"legalIdentifiers":[{"scheme":"9925","identifier":"BE0552912569"}],"publishInPeppolDirectory":true,"registrationDate":"2019-08-24T14:15:22.000","websiteURL":"https://ademico-software.com"},"peppolRegistrations":[{"peppolIdentifier":{"identifier":"0552912569","scheme":"0208"},"peppolRegistration":true,"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"]}]}},"Create French legal entity with a sender-only 0225 registration":{"description":"Create French legal entity with a sender-only 0225 registration","value":{"legalEntityDetails":{"name":"Example Company","countryCode":"FR","legalIdentifiers":[{"scheme":"0002","identifier":"123456789"}],"publishInPeppolDirectory":false},"peppolRegistrations":[{"peppolIdentifier":{"scheme":"0225","identifier":"123456789_SENDER"},"supportedDocuments":["FR_CDAR_REGULATED"],"peppolRegistration":true}]}},"Create legal entity without registering it in the Peppol network example":{"description":"Create legal entity without registering it in the Peppol network example","value":{"legalEntityDetails":{"publishInPeppolDirectory":true,"name":"Ademico Software","countryCode":"BE","geographicalInformation":"204 My street, My City, My Country","registrationDate":"2019-08-24T14:15:22.000","websiteURL":"https://ademico-software.com","contacts":[{"contactType":"public","name":"Your company name","phoneNumber":"+32 123456","email":"info@example.com"}],"additionalInformation":"Our company is specialized in ...","peppolAdditionalIdentifiers":[{"scheme":"0208","identifier":"0552912569"}]}}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Legal entity created and registered in Peppol successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityCreateResponseRO"},"example":{"legalEntityId":0}}}},"400":{"description":"Error creating legal entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error creating legal entity"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations":{"get":{"tags":["Legal Entity Peppol Registration"],"summary":"Get the list of Peppol registrations for a legal entity","description":"You get a list of Peppol registrations with the following details:<ul><li>The scheme and identifier of the legal entity in the Peppol network eg 0208:0552912569</li><li>The list of Peppol supported documents the legal entity can send and receive eg PEPPOL_BIS_BILLING_UBL_INVOICE_V3</li></ul>","operationId":"getPeppolRegistrationsForLegalEntity","parameters":[{"name":"legalEntityId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"peppolRegistrationId","in":"query","description":"The id of the Peppol registration","required":false,"schema":{"type":"integer","format":"int64"},"example":9},{"name":"peppolRegistrationScheme","in":"query","description":"The Peppol identifier scheme of the legal entity","required":false,"schema":{"type":"string"},"example":"0208"},{"name":"peppolRegistrationIdentifier","in":"query","description":"The Peppol identifier of the legal entity","required":false,"schema":{"type":"string"},"example":"0552912569"},{"name":"peppolSupportedDocument","in":"query","description":"The document that can be received by the legal entity in the Peppol network","required":false,"schema":{"$ref":"#/components/schemas/PeppolDocumentSchemeEnumRO"},"example":"PEPPOL_BIS_BILLING_UBL_INVOICE_V3"},{"name":"page","in":"query","description":"The starting page number from which we want to retrieve results. The first page is 0.","required":false,"schema":{"type":"integer","format":"int32","default":0},"example":0},{"name":"pageSize","in":"query","description":"How many results we retrieve per page","required":false,"schema":{"type":"integer","format":"int32","default":10},"example":10},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Peppol registrations for legal entity retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationListRO"},"example":{"pagination":{"count":2,"page":0,"pageSize":10},"peppolRegistrations":[{"peppolRegistrationId":1,"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0208","identifier":"0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}},{"peppolRegistrationId":1,"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"9925","identifier":"BE0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}}]}}}},"400":{"description":"Error retrieving Peppol registrations for legal entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error retrieving Peppol registrations for legal entity"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"post":{"tags":["Legal Entity Peppol Registration"],"summary":"Register a legal entity in the Peppol network","description":"Register a legal entity as a participant in the Peppol network. You can have a look in the section <a href=\"#section/Getting-started/Register-your-legal-entity-as-a-participant-in-the-Peppol-network\">Register your legal entity as a participant in the Peppol network</a> for more details. For a French 0225 identifier used only for sending, see <a href=\"#section/Country-Specifics/Getting-started-with-Peppol-in-France/Register-a-France-0225-identifier-for-sending-only\">Register a France 0225 identifier for sending only</a>.","operationId":"createPeppolRegistrationForLegalEntity","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity you want to register in the Peppol network","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to register a legal entity in the Peppol network(SML/SMP) ","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationCreateRequestRO"},"examples":{"Peppol registration of a legal entity example":{"description":"Peppol registration of a legal entity example","value":{"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0208","identifier":"0552912569"},"supportedDocuments":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0"],"peppolRegistration":true}}},"French sender-only 0225 Peppol registration":{"description":"French sender-only 0225 Peppol registration","value":{"peppolRegistrationDetails":{"peppolIdentifier":{"scheme":"0225","identifier":"123456789_SENDER"},"supportedDocuments":["FR_CDAR_REGULATED"],"peppolRegistration":true}}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error creating Peppol registration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error registering legal entity in the Peppol network"}}}},"200":{"description":"Peppol registration created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationCreateResponseRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/kyc/corppass/initiate":{"post":{"tags":["Legal Entity KYC(Singapore and Malaysia)"],"summary":"Singapore Corppass - Initiate the KYC process","description":"Provide the contact details to initiate the Corppass KYC process. The response contains the Corppass signing URL.","operationId":"initiateKYCCorppassForPeppolRegistration","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to initiate the Corppass KYC process","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to initiate the KYC process","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityKycCorpassInitiateRequestRO"},"examples":{"KYC Corppass request example":{"description":"KYC Corppass request example","value":{"signerName":"John Doe","signerEmail":"john.doe@example.com"}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Corppass KYC initiated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityKycCorpassInitiateResponseRO"}}}},"400":{"description":"Error initiating Corppass KYC request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error initiating KYC in Corppass"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/kyc/corppass/cancel":{"post":{"tags":["Legal Entity KYC(Singapore and Malaysia)"],"summary":"Singapore Corppass - Cancel the KYC process","description":"Cancel an initiated Corppass KYC process","operationId":"cancelKYCCorppassPendingActivationForPeppolRegistration","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to cancel the Corppass KYC process","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error cancelling Corppass KYC request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error cancelling KYC in Corppass"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Corppass KYC cancelled successfully."}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/c5/corppass/deactivate":{"post":{"tags":["Legal Entity C5 Singapore"],"summary":"Singapore - Initiate C5 deactivation","description":"Provide the contact details to initiate the Corppass C5 deactivation. You will receive an email with instructions to complete the Corppass C5 deactivation","operationId":"initiateC5CorppassDeactivation","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to initiate the Corppass C5 deactivation","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to initiate the C5 deactivation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityC5CorpassDeactivateRequestRO"},"examples":{"C5 Corppass deactivation request example":{"description":"C5 Corppass deactivation request example","value":{"signerName":"John Doe","signerEmail":"john.doe@example.com"}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error initiating Corppass C5 deactivation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error initiating C5 in Corppass"}}}},"200":{"description":"Corppass C5 deactivation requested successfully."}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/c5/corppass/cancel":{"post":{"tags":["Legal Entity C5 Singapore"],"summary":"Singapore - Cancel the C5 activation or deactivation","description":"Cancel an initiated Corppass C5 activation or deactivation","operationId":"cancelC5CorppassPendingActivationOrDeactivation","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to cancel the Corppass activation or deactivation process","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error cancelling Corppass C5 activation/deactivation request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error cancelling C5 in Corppass"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Corppass C5 cancelled successfully."}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/c5/corppass/activate":{"post":{"tags":["Legal Entity C5 Singapore"],"summary":"Singapore - Initiate C5 activation","description":"Provide the contact details to initiate the Corppass C5 activation. The response contains the Corppass signing URL.","operationId":"initiateC5CorppassActivation","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to initiate the Corppass C5 activation","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to initiate the C5 activation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityC5CorpassActivateRequestRO"},"examples":{"C5 Corppass activation request example":{"description":"C5 Corppass activation request example","value":{"signerName":"John Doe","signerEmail":"john.doe@example.com"}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error initiating Corppass C5 activation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error initiating C5 in Corppass"}}}},"200":{"description":"Corppass C5 initiated successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityC5CorpassActivateResponseRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/{transmissionId}/cdar":{"get":{"tags":["France CDAR"],"summary":"Get a CDAR document","description":"Get the content of a sent or received CDAR document in XML format. ","operationId":"getCdarInXmlFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"CDAR XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rsm:CrossDomainAcknowledgementAndResponse xmlns:qdt=\"urn:un:unece:uncefact:data:standard:QualifiedDataType:100\" xmlns:rsm=\"urn:un:unece:uncefact:data:standard:CrossDomainAcknowledgementAndResponse:100\" xmlns:ram=\"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100\" xmlns:udt=\"urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n   <rsm:ExchangedDocumentContext>\n      <!-- MDB-1 : Contrôle du processus -->\n      <ram:BusinessProcessSpecifiedDocumentContextParameter>\n         <!-- MDG-2 : Type de processus métier -->\n         <ram:ID>S1</ram:ID>\n         <!-- MDT-2 : Type de profil, permet de préciser le cadre du flux (e-invoicing ou e-reporting) -->\n      </ram:BusinessProcessSpecifiedDocumentContextParameter>\n      <ram:GuidelineSpecifiedDocumentContextParameter>\n         <!-- MDG-3 : Références spécifications -->\n         <ram:ID>urn.cpro.gouv.fr:1p0:CDV:einvoicingF2</ram:ID>\n         <!-- MDT-3 : Id référence spécifications -->\n      </ram:GuidelineSpecifiedDocumentContextParameter>\n   </rsm:ExchangedDocumentContext>\n   <rsm:ExchangedDocument>\n      <!-- MDB-2 : Document d'échange -->\n      <ram:ID>UC1-02-CDV-DEPOSEE</ram:ID>\n      <!-- MDT-4 : Id document, identifiant du flux généré par l'émetteur -->\n      <ram:Name>Cycle de vie - Facture déposée</ram:Name>\n      <!-- MDT-5 : Nom document, nom du flux généré par l'émetteur -->\n      <ram:IssueDateTime>\n         <!-- MDG-4 : Horodatage -->\n         <udt:DateTimeString format=\"204\">20230101180000</udt:DateTimeString>\n         <!-- MDT-8 : Date et heure du flux -->\n      </ram:IssueDateTime>\n      <ram:SenderTradeParty>\n         <!-- MDG-9 : Emetteur du flux PDP -->\n         <ram:GlobalID schemeID=\"0238\">1111</ram:GlobalID>\n         <!-- MDT-19 : Id destinataire (global) @MDT-18 : Type Id récepteur: (0238) Matricule -->\n         <ram:RoleCode>WK</ram:RoleCode>\n         <!-- MDT-21 : Code rôle -->\n      </ram:SenderTradeParty>\n      <ram:IssuerTradeParty>\n         <!-- MDG-16 : Emetteur du document PDP -->\n         <ram:GlobalID schemeID=\"0238\">1111</ram:GlobalID>\n         <!-- MDT-38 : Id destinataire (global) @MDT-37 : Type Id récepteur: (0238) Matricule -->\n         <ram:RoleCode>WK</ram:RoleCode>\n         <!-- MDT-40 : Code rôle -->\n      </ram:IssuerTradeParty>\n      <ram:RecipientTradeParty>\n         <!-- MDG-23 : Destinataire PPF -->\n         <ram:GlobalID schemeID=\"0238\">0000</ram:GlobalID>\n         <!-- MDT-57 : Id destinataire (global) @MDT-56 : Type Id récepteur: (0238) Matricule -->\n         <ram:RoleCode>DFH</ram:RoleCode>\n         <!-- MDT-59 : Code rôle -->\n      </ram:RecipientTradeParty>\n   </rsm:ExchangedDocument>\n   <rsm:AcknowledgementDocument>\n      <!-- MDB-03 : DOCUMENT REPONSE -->\n      <ram:MultipleReferencesIndicator>\n         <!-- MDG-30 : Indicateur de références multiples -->\n         <udt:Indicator>false</udt:Indicator>\n         <!-- MDT-74 : Indicateur, \"false\" = référence à une seule facture/e-reporting -->\n      </ram:MultipleReferencesIndicator>\n      <ram:IssueDateTime>\n         <!-- MDG-31 : Horodatage -->\n         <udt:DateTimeString format=\"204\">20230101170000</udt:DateTimeString>\n         <!-- MDT-78 : Date et heure du bloc Acknowledgement -->\n      </ram:IssueDateTime>\n      <ram:ReferenceReferencedDocument>\n         <!-- MDG-32 : Objet de la réponse -->\n         <ram:IssuerAssignedID>pbe000512-8</ram:IssuerAssignedID>\n         <!-- MDT-87 : ID objet -->\n         <ram:TypeCode>380</ram:TypeCode>\n         <!-- MDT-91 : Code type de l'objet -->\n         <ram:ReceiptDateTime>\n            <!-- MDG-34 : Date réception objet (facture ou e-reporting) -->\n            <udt:DateTimeString format=\"204\">20230101150000</udt:DateTimeString>\n            <!-- MDT-95 : Date-heure -->\n         </ram:ReceiptDateTime>\n         <ram:ReferenceTypeCode>urn.cpro.gouv.fr:1p0:CDV:einvoicingF2</ram:ReferenceTypeCode>\n         <!-- MDT-97 : Code type référence -->\n         <ram:FormattedIssueDateTime>\n            <!-- MDG-35 : Date objet -->\n            <qdt:DateTimeString format=\"204\">20230101120000</qdt:DateTimeString>\n            <!-- MDT-100 : Date d'édition de la facture ou données de e-reporting -->\n         </ram:FormattedIssueDateTime>\n         <ram:ProcessConditionCode>200</ram:ProcessConditionCode>\n         <!-- MDT-105 : Code statut traitement -->\n         <ram:ProcessCondition>Déposée</ram:ProcessCondition>\n         <!-- MDT-106 : Libellé statut traitement -->\n         <ram:IssuerTradeParty>\n            <!-- MDG-40 : Emetteur du document référencé -->\n            <ram:GlobalID schemeID=\"0002\">100000009</ram:GlobalID>\n            <!-- MDT-129 : ID émetteur document référencé -->\n            <ram:RoleCode>SE</ram:RoleCode>\n            <!-- MDT-130 : code rôle -->\n         </ram:IssuerTradeParty>\n      </ram:ReferenceReferencedDocument>\n   </rsm:AcknowledgementDocument>\n</rsm:CrossDomainAcknowledgementAndResponse>\n"}}},"400":{"description":"Error retrieving the CDAR XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]},"post":{"tags":["France CDAR"],"summary":"Send a CDAR (Cross Domain Acknowledgement and Response) to the counterparty","description":"Send a CDAR document for the referenced invoice/credit note. This endpoint is used both by the Buyer to send a CDAR to the Seller (eg when the invoice is approved or refused or paid) and by the Seller to send a CDAR status update to the Buyer (eg payment collected). The CDAR document is built based on the provided information in the request and then scheduled in the queue to be sent to the counterparty. You are notified either via pull or push mechanism when the CDAR document has been received by the counterparty.","operationId":"sendCDAR","parameters":[{"name":"transmissionId","in":"path","description":"The transmission ID of the invoice/credit note referenced by this CDAR document","required":true,"schema":{"type":"string"}},{"name":"X-C5-REPORTING","in":"header","description":"The HTTP header `X-C5-REPORTING` is a flag that specifies whether the reporting to C5 (i.e. the country‑specific fiscal authority) will be done automatically once we successfully send the document to the receiver. This is currently available for France and Singapore. Please find below the default value for specific countries.</br></br>&bull; <b>France</b>: true. For France C5 is <b>PPF</b>. If you do not set this flag, we will report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to false, we will not automatically report to C5. </br></br>&bull; <b>Singapore</b>: false. For Singapore C5 is <b>IRAS</b>. If you do not set this flag, we will not report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to true, we will report the submission to C5 automatically after the document was sent to the receiver.","required":false,"schema":{"type":"boolean"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request to send a CDAR referencing an existing document (invoice or credit note). The CDAR document is built based on the provided information.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdarRO"},"examples":{"Invoice disputed - corrective invoice":{"description":"Invoice disputed - corrective invoice","value":{"id":"F202500006-207","issuer":{"globalId":"0225:100000010","name":"Buyer"},"recipient":{"globalId":"0225:100000009","name":"Seller"},"referencedDocument":{"id":"F202500006","typeCode":"380","issueDate":"2025-07-01T00:00:00","receiptDateTime":"2025-07-01T16:10:00","status":"FR_IN_DISPUTE","issuer":{"globalId":"0225:100000009","legalId":"0002:100000009","name":"Seller"},"detailedStatuses":[{"reasonCode":"TX_TVA_ERR","reasonText":"Taux de TVA erroné","requestedActionCode":"NIN","requestedAction":"Créer une Facture Rectificative","sequenceNumber":1,"documentCharacteristics":[{"id":"BT-152","typeCode":"DIV","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":10.0},{"id":"BT-152","typeCode":"DVA","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":20.0}],"notes":[{"contentCode":"G1.24","content":"The invoiced VAT rate is 10%; the expected rate is 20%.","subjectCode":"ram:RateApplicablePercent"}]}]},"notes":[{"contentCode":"G1.24","content":"Buyer dispute concerning the VAT rate.","subjectCode":"ram:RateApplicablePercent"}]}},"Invoice disputed - full credit note":{"description":"Invoice disputed - full credit note","value":{"id":"F202500007-207","issuer":{"globalId":"0225:100000010","name":"Buyer"},"recipient":{"globalId":"0225:100000009","name":"Seller"},"referencedDocument":{"id":"F202500007","typeCode":"380","issueDate":"2025-07-02T00:00:00","receiptDateTime":"2025-07-02T17:10:00","status":"FR_IN_DISPUTE","issuer":{"globalId":"0225:100000009","legalId":"0002:100000009","name":"Seller"},"detailedStatuses":[{"reasonCode":"TX_TVA_ERR","reasonText":"Taux de TVA erroné","requestedActionCode":"CNF","requestedAction":"Créer un Avoir total","sequenceNumber":1,"documentCharacteristics":[{"id":"BT-152","typeCode":"DIV","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":10.0},{"id":"BT-152","typeCode":"DVA","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":20.0}]}]}}},"Invoice approved":{"description":"Invoice approved","value":{"id":"INV123_205","issuer":{"globalId":"0225:0552912569","name":"Buyer Company"},"recipient":{"globalId":"0225:123456789","name":"Seller Company"},"referencedDocument":{"id":"INV123","typeCode":"380","issueDate":"2025-11-20T00:00:00","receiptDateTime":"2025-11-21T10:00:00","status":"FR_APPROVED","issuer":{"globalId":"0225:123456789","legalId":"0002:123456789","name":"Seller Company"}},"notes":[{"content":"This is a CDAR response indicating that the invoice has been approved."},{"content":"Second note providing additional context about the approval."}]}}}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"The CDAR document has been scheduled in the queue to be sent to the counterparty. ","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"},"example":{"transmissionId":"4a4f4540458211f1af51005056c00001","documentId":"INV123_205","documentTypeEnum":"CDAR_RESPONSE","sender":"0225:0552912569","receiver":"0225:123456789","sbdhInstanceIdentifier":"4a4f453f458211f1af51005056c00001"}}}},"400":{"description":"Error sending the CDAR document to the counterparty","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error sending Invoice Response"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/ubl-submissions":{"post":{"tags":["Invoice/Credit Note"],"summary":"Send an UBL invoice/credit note to the receiver","description":"The invoice/credit note is scheduled in the queue to be sent to the receiver. The UBL is validated before is being sent.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. </br></br> For a standard invoice/credit note, the Seller sends the document to the Buyer. For a self-billing invoice or credit note, the Buyer sends the document to the Seller.","operationId":"submitUblFile","parameters":[{"name":"X-C5-REPORTING","in":"header","description":"The HTTP header `X-C5-REPORTING` is a flag that specifies whether the reporting to C5 (i.e. the country‑specific fiscal authority) will be done automatically once we successfully send the document to the receiver. This is currently available for France and Singapore. Please find below the default value for specific countries.</br></br>&bull; <b>France</b>: true. For France C5 is <b>PPF</b>. If you do not set this flag, we will report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to false, we will not automatically report to C5. </br></br>&bull; <b>Singapore</b>: false. For Singapore C5 is <b>IRAS</b>. If you do not set this flag, we will not report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to true, we will report the submission to C5 automatically after the document was sent to the receiver.","required":false,"schema":{"type":"boolean"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The invoice or credit note in UBL XML format","format":"binary"}}}}}},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error sending the UBL invoice/credit note to the receiver. In this case the UBL invoice/credit note is not sent to the receiver. Examples of cases when you get an error: <ul><li>The submitted file does not contain an UBL invoice/credit note</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving the provided UBL invoice/credit note</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"examples":{"Validation error":{"description":"Validation error","value":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [invoice.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"invoice.xml","xmlValidationReport":{"validatedWith":"invoice.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Invoice-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"EN16931-UBL-validation.xslt","reportStatus":"ERROR","warningsCount":0,"errorsCount":2,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).","lineNumber":3,"columnNumber":73,"schematronTest":"every $Currency in cbc:DocumentCurrencyCode satisfies (count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) = round( (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) + cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) * 10 * 10) div 100)","errorId":"BR-CO-15","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]"},{"errorLevel":"ERROR","description":"[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).","lineNumber":130,"columnNumber":19,"schematronTest":"(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)","errorId":"BR-CO-14","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]/*:TaxTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":2,"xmlContent":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <!-- Incorrect TaxAmount -->\n        <cbc:TaxAmount currencyID=\"EUR\">310.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}}}}}},"200":{"description":"The invoice/credit note has been scheduled in the queue to be sent to the receiver.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/facturx-submissions":{"post":{"tags":["Invoice/Credit Note"],"summary":"Send a Factur-X invoice/credit note to the receiver","description":"The invoice/credit note is scheduled in the queue to be sent to the receiver. The Factur-X is validated before is being sent.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. </br></br> For a standard invoice/credit note, the Seller sends the document to the Buyer. For a self-billing invoice or credit note, the Buyer sends the document to the Seller.","operationId":"submitFacturXFile","parameters":[{"name":"X-C5-REPORTING","in":"header","description":"The HTTP header `X-C5-REPORTING` is a flag that specifies whether the reporting to C5 (i.e. the country‑specific fiscal authority) will be done automatically once we successfully send the document to the receiver. This is currently available for France and Singapore. Please find below the default value for specific countries.</br></br>&bull; <b>France</b>: true. For France C5 is <b>PPF</b>. If you do not set this flag, we will report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to false, we will not automatically report to C5. </br></br>&bull; <b>Singapore</b>: false. For Singapore C5 is <b>IRAS</b>. If you do not set this flag, we will not report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to true, we will report the submission to C5 automatically after the document was sent to the receiver.","required":false,"schema":{"type":"boolean"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The invoice or credit note as a Factur-X PDF (EN16931 or Extended profile)","format":"binary"}}}}}},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error sending the Factur-X invoice/credit note to the receiver. In this case the Factur-X invoice/credit note is not sent to the receiver. Examples of cases when you get an error: <ul><li>The submitted file does not contain a Factur-X invoice/credit note</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving the this particular type of invoice/credit note</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"examples":{"Validation error":{"description":"Validation error","value":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [invoice.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"invoice.xml","xmlValidationReport":{"validatedWith":"invoice.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Invoice-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"EN16931-UBL-validation.xslt","reportStatus":"ERROR","warningsCount":0,"errorsCount":2,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).","lineNumber":3,"columnNumber":73,"schematronTest":"every $Currency in cbc:DocumentCurrencyCode satisfies (count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) = round( (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) + cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) * 10 * 10) div 100)","errorId":"BR-CO-15","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]"},{"errorLevel":"ERROR","description":"[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).","lineNumber":130,"columnNumber":19,"schematronTest":"(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)","errorId":"BR-CO-14","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]/*:TaxTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":2,"xmlContent":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <!-- Incorrect TaxAmount -->\n        <cbc:TaxAmount currencyID=\"EUR\">310.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}}}}}},"200":{"description":"The invoice/credit note has been scheduled in the queue to be sent to the receiver.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/cii-submissions":{"post":{"tags":["Invoice/Credit Note"],"summary":"Send a CII invoice/credit note to the receiver","description":"The invoice/credit note is scheduled in the queue to be sent to the receiver. The CII is validated before is being sent.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. </br></br> For a standard invoice/credit note, the Seller sends the document to the Buyer. For a self-billing invoice or credit note, the Buyer sends the document to the Seller.","operationId":"submitCiiFile","parameters":[{"name":"X-C5-REPORTING","in":"header","description":"The HTTP header `X-C5-REPORTING` is a flag that specifies whether the reporting to C5 (i.e. the country‑specific fiscal authority) will be done automatically once we successfully send the document to the receiver. This is currently available for France and Singapore. Please find below the default value for specific countries.</br></br>&bull; <b>France</b>: true. For France C5 is <b>PPF</b>. If you do not set this flag, we will report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to false, we will not automatically report to C5. </br></br>&bull; <b>Singapore</b>: false. For Singapore C5 is <b>IRAS</b>. If you do not set this flag, we will not report the submission to C5 automatically after the document was sent to the receiver. If you set this flag to true, we will report the submission to C5 automatically after the document was sent to the receiver.","required":false,"schema":{"type":"boolean"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The invoice or credit note in CII XML format","format":"binary"}}}}}},"responses":{"400":{"description":"Error sending the CII invoice/credit note to the receiver. In this case the CII invoice/credit note is not sent to the receiver. Examples of cases when you get an error: <ul><li>The submitted file does not contain a CII invoice/credit note</li><li>The XML validation, XSD validation or Schematron validation fails.</li><li>The receiver is not registered in the Peppol network or it doesn't support receiving the this particular type of invoice/credit note</li></ul>","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"examples":{"Validation error":{"description":"Validation error","value":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [invoice.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"invoice.xml","xmlValidationReport":{"validatedWith":"invoice.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Invoice-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"EN16931-UBL-validation.xslt","reportStatus":"ERROR","warningsCount":0,"errorsCount":2,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).","lineNumber":3,"columnNumber":73,"schematronTest":"every $Currency in cbc:DocumentCurrencyCode satisfies (count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) = round( (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) + cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) * 10 * 10) div 100)","errorId":"BR-CO-15","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]"},{"errorLevel":"ERROR","description":"[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).","lineNumber":130,"columnNumber":19,"schematronTest":"(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)","errorId":"BR-CO-14","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]/*:TaxTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":2,"xmlContent":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <!-- Incorrect TaxAmount -->\n        <cbc:TaxAmount currencyID=\"EUR\">310.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}}}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"The invoice/credit note has been scheduled in the queue to be sent to the receiver.You get notified either via pull or push mechanism when the invoice/credit note has be received by the receiver. Please check for more details in the notification sections.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoice-responses":{"post":{"tags":["Invoice Response"],"summary":"Send the Invoice Response back to the Seller","description":"<p>Send the Invoice Response back to the Seller after we have received an invoice/credit note. The Invoice Response is scheduled in the queue to be sent to the Seller. You get notified either via pull or push mechanism when the Invoice Response has be received by the Seller.</p><p>An Invoice Response can be used to inform the Seller of the status of an invoice in the Buyer's approval and payment processes, based on the Buyer's business rules and/or a Seller/Buyer agreement.The following values can be used for the Invoice Response status codes:<table><tr><th>Code</th><th>Description</th></tr><tr><td>AB</td><td>Buyer acknowledges: Status is used when Buyer has received a readable invoice message that can be understood and submitted for processing by the Buyer.</td></tr><tr><td>IP</td><td>In process: Status is used when the processing of the Invoice has started in Buyers system.</td></tr><tr><td>UQ</td><td>Under query: Status is used when Buyer will not proceed to accept the Invoice without receiving additional information from the Seller.</td></tr><tr><td>CA</td><td>Conditionally accepted: Status is used when Buyer is accepting the Invoice under conditions stated in 'Status Reason' and proceed to pay accordingly unless disputed by Seller.</td></tr><tr><td>RE</td><td>Rejected: MLR reject or Invoice reject. Status is used only when the Buyer will not process the referenced Invoice any further. Buyer is rejecting this invoice but not necessarily the commercial transaction. Although it can be used also for rejection for commercial reasons (invoice not corresponding to delivery).</td></tr><tr><td>AP</td><td>Accepted: Status is used only when the Buyer has given a final approval of the invoice and the next step is payment.</td></tr><tr><td>PD</td><td>Paid: Fully paid or partially paid. When partially paid: Status is used together with Clarification Reason code PPD, only when the Buyer has initiated the payment of the invoice without having paid the accepted amount in full.</td></tr></table><p>You can find <a href=\"https://docs.peppol.eu/poacc/upgrade-3/profiles/63-invoiceresponse/#status-codes-1\" target=\"_blank\">here</a> more details about the Invoice Response status codes</p><p>Depending on the status code, a clarification may be needed to state the Buyer's reason for the status and/or any expected action from the Seller's side. The clarification may be given either as text (in Status Reason) or as code (in StatusReasonCode). The purpose of the clarification is to provide the Seller with structured information which enables him to partially or fully automate his processing. The clarifications are of two types:<ul><li>Reasons for the given status.</li><li>Actions that the Buyer requests from the Seller.</li></ul><p>The following values can be used for the clarification code reason(when clarificationType=<b>OPStatusReason</b>):</p><table><tr><th>Code</th><th>Description</th></tr><tr><td>NO</td><td>No issue</td></tr><tr><td>REF</td><td>References incorrect</td></tr><tr><td>LEG</td><td>Legal information incorrect</td></tr></tr><tr><td>REC</td><td>Receiver unknown</td></tr><tr><td>QUA</td><td>Item quality insufficient</td></tr><tr><td>DEL</td><td>Delivery proposed or provided is not acceptable</td></tr><tr><td>PRI</td><td>Prices incorrect</td></tr><tr><td>QTY</td><td>Quantity incorrect</td></tr><tr><td>ITM</td><td>Items incorrect</td></tr><tr><td>PAY</td><td>Payment terms incorrect</td></tr><tr><td>UNR</td><td>Not recognized</td></tr><tr><td>FIN</td><td>Finance incorrect</td></tr><tr><td>PPD</td><td>Partially Paid</td></tr><tr><td>OTH</td><td>Other</td></tr></table><p>The following values can be used for the clarification code reason(when clarificationType=<b>OPStatusAction</b>):</p><table><tr><th>Code</th><th>Description</th></tr><tr><td>NOA</td><td>No action required</td></tr><tr><td>PIN</td><td>Provide information</td></tr><tr><td>NIN</td><td>Issue new invoice</td></tr><tr><td>CNF</td><td>Credit fully</td></tr><tr><td>CNP</td><td>Credit partially</td></tr><tr><td>CNA</td><td>Credit the amount</td></tr><tr><td>OTH</td><td>Other</td></tr></table><p>You can find <a href=\"https://docs.peppol.eu/poacc/upgrade-3/profiles/63-invoiceresponse/#clarification\" target=\"_blank\">here</a> more details about the Invoice Response clarifications</p></p></p>","operationId":"sendInvoiceResponse","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponseRO"}}},"required":true},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"The Invoice Response has been scheduled in the queue to be sent to the Seller. You get notified either via pull or push mechanism when the Invoice Response has be received by the Seller.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSubmissionResultRO"}}}},"400":{"description":"Error sending the Invoice Response to the Seller","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error sending Invoice Response"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/france/facturx-generations/template":{"post":{"tags":["France Factur-X Generation"],"summary":"Generate Factur-X from the built-in France CII template","description":"Creates a sample EN16931 Factur-X invoice using fixed invoice data and the supplied routing and legal identifiers. The seller and buyer Peppol identifiers and SIRENs are required. VAT identifiers are optional; documented dummy values are used when omitted. The human-readable invoice language is optional and can be FR or EN; it defaults to FR. The generated document is returned only and is not submitted to Peppol.","operationId":"generateFromTemplate","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FranceFacturXTemplateGenerationRequestRO"},"example":{"seller":{"peppolIdentifier":"0225:055291256","siren":"055291256","vatIdentifier":"FR40055291256"},"buyer":{"peppolIdentifier":"0225:120283148_12028314882246","siren":"120283148"},"language":"FR"}}},"required":true},"responses":{"200":{"description":"Factur-X generated successfully","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"The request identifiers are missing or invalid, or the generated CII is not valid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/france/facturx-generations/from-cii":{"post":{"tags":["France Factur-X Generation"],"summary":"Generate Factur-X from a supplied CII","description":"Validates the supplied EN16931 CII and returns a Factur-X PDF/A-3 document. The readable PDF/A-1 or PDF/A-3 document is optional; when omitted, it is generated from the CII in French by default or in the requested language. When a PDF is supplied in the pdf part, it is used as the visual source for the Factur-X output and the language parameter is ignored. The generated document is not submitted to Peppol.","operationId":"generateFromCii","parameters":[{"name":"language","in":"query","description":"Language used when generating the readable PDF from the CII. Ignored when pdf is supplied","required":false,"schema":{"type":"string","default":"FR","enum":["FR","EN"]}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FranceFacturXGenerationFilesRO"}}},"required":true},"responses":{"200":{"description":"Factur-X generated successfully","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"The CII is missing or invalid, or the optional PDF is not PDF/A-1 or PDF/A-3","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/singapore/iras/sales":{"post":{"tags":["Singapore IRAS Submission"],"summary":"Send Sales Invoices/Credit Notes to IRAS.","description":"These are the documents that you have sent to your Buyers. The UBL XML is validated before is being sent.","operationId":"sendSalesToSingaporeIras","parameters":[{"name":"X-SBDH-IDENTIFIER","in":"header","description":"If you provide a value, the API will set this value in the StandardBusinessDocumentHeader->DocumentIdentification->InstanceIdentifier element.If you don't provide any value, the API will generate a random value. This value must be unique for each transmission.","required":false,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The document in UBL XML format","format":"binary"}}}}}},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error sending the document IRAS.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [invoice.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"invoice.xml","xmlValidationReport":{"validatedWith":"invoice.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Invoice-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"EN16931-UBL-validation.xslt","reportStatus":"ERROR","warningsCount":0,"errorsCount":2,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).","lineNumber":3,"columnNumber":73,"schematronTest":"every $Currency in cbc:DocumentCurrencyCode satisfies (count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) = round( (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) + cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) * 10 * 10) div 100)","errorId":"BR-CO-15","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]"},{"errorLevel":"ERROR","description":"[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).","lineNumber":130,"columnNumber":19,"schematronTest":"(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)","errorId":"BR-CO-14","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]/*:TaxTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":2,"xmlContent":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <!-- Incorrect TaxAmount -->\n        <cbc:TaxAmount currencyID=\"EUR\">310.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}}}},"200":{"description":"The document was sent successfully to IRAS.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IrasSubmissionResultRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/singapore/iras/purchases":{"post":{"tags":["Singapore IRAS Submission"],"summary":"Send Purchase Invoices/Credit Notes to IRAS.","description":"These are the documents that you have received from your Sellers. The UBL XML is validated before is being sent.","operationId":"sendPurchasesToSingaporeIras","parameters":[{"name":"X-SBDH_IDENTIFIER","in":"header","description":"If you provide a value, the API will set this value in the StandardBusinessDocumentHeader->DocumentIdentification->InstanceIdentifier element.If you don't provide any value, the API will generate a random value","required":false,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"The document in UBL XML format","format":"binary"}}}}}},"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error sending the document IRAS.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"},"example":{"message":{"code":"SCHEMATRON_VALIDATION_ERROR","message":"The Schematron validation failed has failed for document [invoice.xml]"},"validationReport":{"globalStatus":"ERROR","validatedXmlName":"invoice.xml","xmlValidationReport":{"validatedWith":"invoice.xml","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xmlValidationMessages":[],"validationType":"XML_SYNTAX"},"xsdValidationReport":{"validatedWith":"UBL-Invoice-2.1.xsd","reportStatus":"SUCCESS","warningsCount":0,"errorsCount":0,"xsdValidationMessages":[],"validationType":"XSD_SCHEMA"},"schematronValidationReport":[{"validatedWith":"EN16931-UBL-validation.xslt","reportStatus":"ERROR","warningsCount":0,"errorsCount":2,"schematronValidationMessages":[{"errorLevel":"ERROR","description":"[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).","lineNumber":3,"columnNumber":73,"schematronTest":"every $Currency in cbc:DocumentCurrencyCode satisfies (count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) = round( (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) + cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) * 10 * 10) div 100)","errorId":"BR-CO-15","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]"},{"errorLevel":"ERROR","description":"[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).","lineNumber":130,"columnNumber":19,"schematronTest":"(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)","errorId":"BR-CO-14","xpath":"/*:Invoice[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'][1]/*:TaxTotal[namespace-uri()='urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2'][1]"}],"validationType":"SCHEMATRON"}],"warningsCount":0,"errorsCount":2,"xmlContent":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n                <cbc:CityName>Kessel-Lo</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <!-- Incorrect TaxAmount -->\n        <cbc:TaxAmount currencyID=\"EUR\">310.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}}}},"200":{"description":"The document was sent successfully to IRAS.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IrasSubmissionResultRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/france/ppf/legal-entities/{legalEntityId}/e-reporting-submissions":{"post":{"tags":["France PPF Submission"],"summary":"Submit a France e-reporting XML to PPF.","description":"Uploads a user-provided France e-reporting XML, validates it, and submits it to PPF. The selected legal entity must be active in your workspace and match the XML reporting SIREN. Peppol registration is not required.","operationId":"submitFranceEReportingXmlForLegalEntity","parameters":[{"name":"legalEntityId","in":"path","description":"Legal entity ID in your authenticated workspace.","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","description":"France e-reporting XML file.","format":"binary"}}}}}},"responses":{"400":{"description":"The uploaded XML is malformed or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"The France e-reporting XML was submitted successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/C5SubmissionResultRO"},"examples":{"Successful submission result":{"description":"Successful submission result","value":{"submissionId":"FFE1025A_PPF230_PPF2301025177737471354460","documentId":"TR123457_01022026_28022026","reporter":"0002:123456789","receiver":"PPF","status":"SUBMITTED"}}}}}},"403":{"description":"The reporting SIREN is not available in the current workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"}}}},"503":{"description":"The XML could not be submitted to PPF.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSubmissionResultError"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/france/ppf/e-invoicing-submissions/{transmissionId}":{"post":{"tags":["France PPF Submission"],"summary":"Request France PPF C5 reporting for an already sent France e-invoicing document.","description":"Requests C5 reporting for an already sent France e-invoicing document identified by its Peppol transmission id.","operationId":"requestFranceEInvoicingC5Reporting","parameters":[{"name":"transmissionId","in":"path","description":"The Peppol transmission id of the France e-invoicing submission to report to C5.","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"202":{"description":"The France PPF C5 reporting request was accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/C5SubmissionResultRO"},"examples":{"Accepted C5 reporting request":{"description":"Accepted C5 reporting request","value":{"submissionId":"FFE1025A_PPF230_PPF2301025177711742550002","documentId":"INV-2026-001","reporter":"0225:123456789","receiver":"PPF","status":"SCHEDULED"}}}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/transport-evidences/{transmissionId}":{"get":{"tags":["Transport Evidences"],"summary":"Download Transport Evidence","description":"Downloads the transport evidence as a ZIP archive containing the non-repudiation data related to the submitted document. This transport evidence can be used as proof in case the receiver claims that the sent document was not received. The ZIP file includes: <ul><li>sbdh.xml - the Standard Business Document Header (SBDH) generated by the Access Point based on the submitted document;</li><li>envelope.xml - the AS4 SOAP envelope sent by Ademico Access Point to the receiver's Access Point;</li><li>receipt.xml - the AS4 SOAP envelope containing the delivery receipt, which proves that the receiver's Access Point successfully received the SBDH envelope.</li></ul>","operationId":"downloadTransportEvidence","parameters":[{"name":"transmissionId","in":"path","description":"The transmission ID","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/zip":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Transport evidence ZIP retrieved successfully","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Error retrieving the transport evidence","content":{"application/zip":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/tools/documents/count":{"get":{"tags":["Statistics"],"summary":"Count documents exchanged","description":"Counts retained business-document audit records: invoices and credit notes (including self-billing and corrective variants), CII and all supported Factur-X representations, ORDER, ORDER_ADVANCED, ORDER_CHANGE, ORDER_CANCELLATION, ORDER_RESPONSE_ADVANCED, SG_ORDER_BALANCE, and France e-reporting submissions. CDAR, Invoice Response, MLR/MLS, technical acknowledgements, notifications, envelopes and statistics reports are excluded. Each matching audit record counts: submitting the same invoice five times counts as five. Multiple audit records sharing a transmission ID are counted separately. France e-reporting counts one persisted report submission, regardless of its transaction/payment row count or PPF archive. Date filters include both boundaries and use each record's audit timestamp.","operationId":"countDocuments","parameters":[{"name":"startDateTime","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"endDateTime","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"peppolIdentifier","in":"query","description":"Optional Peppol identifier filter in the format scheme:identifier","required":false,"schema":{"type":"string"},"example":"0208:0552912569"},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentCountRO"},"example":{"documentCount":12}}}},"400":{"description":"Error performing operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/tools/connectivity":{"get":{"tags":["Connectivity"],"summary":"Check access to our service","description":"If you get a status `200` it means that you have access, status `401` means that your authentication credentials are not correct.","operationId":"testConnectivity","parameters":[{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Connectivity test successful"},"401":{"description":"Connectivity test failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/sg-order-balances/{transmissionId}/ubl":{"get":{"tags":["Order"],"summary":"Get an SG Order Balance in UBL format","description":"Get the content of a sent or received SG Order Balance in UBL format","operationId":"getSgOrderBalanceInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"SG Order Balance UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<Order xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Order-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n\t\t<cbc:CustomizationID>urn:fdc:imda.gov.sg:trns:order_balance:1</cbc:CustomizationID>\n\t\t<cbc:ProfileID>urn:fdc:imda.gov.sg:bis:order_balance:1</cbc:ProfileID>\n\t\t<cbc:ID>34</cbc:ID>\n\t\t<cbc:IssueDate>2025-02-28</cbc:IssueDate>\n\t\t<cbc:IssueTime>12:30:00</cbc:IssueTime>\n\t\t<cbc:OrderTypeCode>348</cbc:OrderTypeCode>\n\t\t<cbc:Note></cbc:Note>\n\t\t<cbc:DocumentCurrencyCode>SGD</cbc:DocumentCurrencyCode>\n\t\t<cbc:CustomerReference>9000012345</cbc:CustomerReference>\n\t\t<cac:OrderDocumentReference>\n\t\t\t<cbc:ID>OrderID321</cbc:ID>\n\t\t\t<cbc:IssueDate>2025-01-02</cbc:IssueDate>\n\t\t</cac:OrderDocumentReference>\n\t\t<cac:BuyerCustomerParty>\n\t\t\t<cac:Party>\n\t\t\t\t<cbc:EndpointID schemeID=\"0195\">YOUR_PEPPOL_ID</cbc:EndpointID>\n\t\t\t\t<cac:PartyIdentification>\n\t\t\t\t\t<cbc:ID>Buyers-additionalID</cbc:ID>\n\t\t\t\t</cac:PartyIdentification>\n\t\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t\t<cbc:RegistrationName>AP Testing - Buyer</cbc:RegistrationName>\n\t\t\t\t\t<cbc:CompanyID>UENBuyer</cbc:CompanyID>\n\t\t\t\t</cac:PartyLegalEntity>\n\t\t\t\t<cac:Contact>\n\t\t\t\t\t<cbc:Name>Bill</cbc:Name>\n\t\t\t\t\t<cbc:Telephone>5121230</cbc:Telephone>\n\t\t\t\t\t<cbc:ElectronicMail>buyer@buyer.com</cbc:ElectronicMail>\n\t\t\t\t</cac:Contact>\n\t\t\t</cac:Party>\n\t\t</cac:BuyerCustomerParty>\n\t\t<cac:SellerSupplierParty>\n\t\t\t<cac:Party>\n\t\t\t\t<cbc:EndpointID schemeID=\"0195\">SGTSTKADVORDERING01</cbc:EndpointID>\n\t\t\t\t<cac:PartyIdentification>\n\t\t\t\t\t<cbc:ID>VendorID</cbc:ID>\n\t\t\t\t</cac:PartyIdentification>\n\t\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t\t<cbc:RegistrationName>Gallery Photo Supplier</cbc:RegistrationName>\n\t\t\t\t\t<cbc:CompanyID>UENSeller</cbc:CompanyID>\n\t\t\t\t</cac:PartyLegalEntity>\n\t\t\t\t<cac:Contact>\n\t\t\t\t\t<cbc:Name>Avery Lee</cbc:Name>\n\t\t\t\t\t<cbc:Telephone>4621230</cbc:Telephone>\n\t\t\t\t\t<cbc:ElectronicMail>einvoice@imda.gov.sg</cbc:ElectronicMail>\n\t\t\t\t</cac:Contact>\n\t\t\t</cac:Party>\n\t\t</cac:SellerSupplierParty>\n\t\t<cac:AnticipatedMonetaryTotal>\n\t\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">6000</cbc:LineExtensionAmount>\n\t\t\t<cbc:PayableAmount currencyID=\"SGD\">6000</cbc:PayableAmount>\n\t\t</cac:AnticipatedMonetaryTotal>\n\t\t<cac:OrderLine>\n\t\t\t<cbc:Note>Freetext note on line 1</cbc:Note>\n\t\t\t<cac:LineItem>\n\t\t\t\t<cbc:ID>1</cbc:ID>\n\t\t\t\t<cbc:Quantity unitCode=\"EA\">120</cbc:Quantity>\n\t\t\t\t<cbc:LineExtensionAmount currencyID=\"SGD\">6000.00</cbc:LineExtensionAmount>\n\t\t\t\t<cac:Price>\n\t\t\t\t\t<cbc:PriceAmount currencyID=\"SGD\">50.000</cbc:PriceAmount>\n\t\t\t\t</cac:Price>\n\t\t\t\t<cac:Item>\n\t\t\t\t\t<cbc:Name>Stapler</cbc:Name>\n\t\t\t\t</cac:Item>\n\t\t\t</cac:LineItem>\n\t\t</cac:OrderLine>\n\t</Order>"}}},"400":{"description":"Error retrieving the SG Order Balance UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/orders/{transmissionId}/ubl":{"get":{"tags":["Order"],"summary":"Get an Order in UBL format","description":"Get the content of a sent or received Order in UBL format","operationId":"getOrderInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving the Order UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"Order UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<Order xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Order-2\"\n\t   xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n\t   xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n\t<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order:3</cbc:CustomizationID>\n\t<cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:order_only:3</cbc:ProfileID>\n\t<cbc:ID>pbe000512-8</cbc:ID>\n\t<cbc:SalesOrderID>112233</cbc:SalesOrderID>\n\t<cbc:IssueDate>2018-09-01</cbc:IssueDate>\n\t<cbc:IssueTime>12:30:00</cbc:IssueTime>\n\t<cbc:OrderTypeCode>220</cbc:OrderTypeCode>\n\t<cbc:Note>Information text for the whole order</cbc:Note>\n\t<cbc:DocumentCurrencyCode>NOK</cbc:DocumentCurrencyCode>\n\t<cbc:CustomerReference>123456</cbc:CustomerReference>\n\t<cbc:AccountingCost>Project123</cbc:AccountingCost>\n\t<cac:ValidityPeriod>\n\t\t<cbc:EndDate>2013-01-31</cbc:EndDate>\n\t</cac:ValidityPeriod>\n\t<cac:QuotationDocumentReference>\n\t\t<cbc:ID>QuoteID123</cbc:ID>\n\t</cac:QuotationDocumentReference>\n\t<cac:OrderDocumentReference>\n\t\t<cbc:ID>my reference</cbc:ID>\n\t</cac:OrderDocumentReference>\n\t<cac:OriginatorDocumentReference>\n\t\t<cbc:ID>MAFO</cbc:ID>\n\t</cac:OriginatorDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>Doc1</cbc:ID>\n\t\t<cbc:DocumentType>Timesheet</cbc:DocumentType>\n\t\t<cac:Attachment>\n\t\t\t<cac:ExternalReference>\n\t\t\t\t<cbc:URI>http://www.example.com/sheet001.html</cbc:URI>\n\t\t\t</cac:ExternalReference>\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\n\t<cac:AdditionalDocumentReference>\n\t\t<cbc:ID>Doc2</cbc:ID>\n\t\t<cbc:DocumentType>Order</cbc:DocumentType>\n\t\t<cac:Attachment>\n\t\t\t<cbc:EmbeddedDocumentBinaryObject mimeCode=\"application/pdf\" filename=\"order.pdf\">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi\n\t\t\t</cbc:EmbeddedDocumentBinaryObject>\n\t\t</cac:Attachment>\n\t</cac:AdditionalDocumentReference>\n\t<cac:Contract>\n\t\t<cbc:ID>34322</cbc:ID>\n\t</cac:Contract>\n\t<cac:BuyerCustomerParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID>0552912569</cbc:ID>\n\t\t\t</cac:PartyIdentification>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Ademico Software</cbc:Name>\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>Heidebergstraat 204</cbc:StreetName>\n\t\t\t\t<cbc:CityName>Kessel-Lo</cbc:CityName>\n\t\t\t\t<cbc:PostalZone>3010</cbc:PostalZone>\n\t\t\t\t<cbc:CountrySubentity>Region</cbc:CountrySubentity>\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Address Line 3</cbc:Line>\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyTaxScheme>\n\t\t\t\t<cbc:CompanyID>BE0552912569</cbc:CompanyID>\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:PartyTaxScheme>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n\t\t\t\t<cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n\t\t\t\t<cac:RegistrationAddress>\n\t\t\t\t\t<cbc:CityName>Leuven</cbc:CityName>\n\t\t\t\t\t<cac:Country>\n\t\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t\t</cac:Country>\n\t\t\t\t</cac:RegistrationAddress>\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>John Doe</cbc:Name>\n\t\t\t\t<cbc:Telephone>1234567</cbc:Telephone>\n\t\t\t\t<cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:BuyerCustomerParty>\n\t<cac:SellerSupplierParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"9925\">0552912569_order1</cbc:EndpointID>\n\t\t\t<cac:PartyIdentification>\n\t\t\t\t<cbc:ID>0552912569_order1</cbc:ID>\n\t\t\t</cac:PartyIdentification>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Ademico Software Order</cbc:Name>\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>My street</cbc:StreetName>\n\t\t\t\t<cbc:CityName>Leuven</cbc:CityName>\n\t\t\t\t<cbc:PostalZone>3010</cbc:PostalZone>\n\t\t\t\t<cbc:CountrySubentity>Region</cbc:CountrySubentity>\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Address Line 3</cbc:Line>\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>Ademico Software Order</cbc:RegistrationName>\n\t\t\t\t<cbc:CompanyID>0552912569_order1</cbc:CompanyID>\n\t\t\t\t<cac:RegistrationAddress>\n\t\t\t\t\t<cbc:CityName>Leuven</cbc:CityName>\n\t\t\t\t\t<cac:Country>\n\t\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t\t</cac:Country>\n\t\t\t\t</cac:RegistrationAddress>\n\t\t\t</cac:PartyLegalEntity>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>John doe</cbc:Name>\n\t\t\t\t<cbc:Telephone>123456</cbc:Telephone>\n\t\t\t\t<cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:SellerSupplierParty>\n\t<cac:OriginatorCustomerParty>\n\t\t<cac:Party>\n\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Ademico</cbc:Name>\n\t\t\t</cac:PartyName>\n\t\t\t<cac:Contact>\n\t\t\t\t<cbc:Name>John Doe</cbc:Name>\n\t\t\t\t<cbc:Telephone>123456</cbc:Telephone>\n\t\t\t\t<cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n\t\t\t</cac:Contact>\n\t\t</cac:Party>\n\t</cac:OriginatorCustomerParty>\n\t<cac:AccountingCustomerParty>\n\t\t<cac:Party>\n\t\t\t<cbc:EndpointID schemeID=\"0192\">123456785</cbc:EndpointID>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Accounting</cbc:Name>\n\t\t\t</cac:PartyName>\n\t\t\t<cac:PostalAddress>\n\t\t\t\t<cbc:StreetName>My street</cbc:StreetName>\n\t\t\t\t<cbc:CityName>Oslo</cbc:CityName>\n\t\t\t\t<cbc:PostalZone>3010</cbc:PostalZone>\n\t\t\t\t<cbc:CountrySubentity>Region</cbc:CountrySubentity>\n\t\t\t\t<cac:AddressLine>\n\t\t\t\t\t<cbc:Line>Address Line 3</cbc:Line>\n\t\t\t\t</cac:AddressLine>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t</cac:Country>\n\t\t\t</cac:PostalAddress>\n\t\t\t<cac:PartyTaxScheme>\n\t\t\t\t<cbc:CompanyID>BE0552912569</cbc:CompanyID>\n\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t\t</cac:TaxScheme>\n\t\t\t</cac:PartyTaxScheme>\n\t\t\t<cac:PartyLegalEntity>\n\t\t\t\t<cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n\t\t\t\t<cbc:CompanyID schemeID=\"0082\">123486723</cbc:CompanyID>\n\t\t\t\t<cac:RegistrationAddress>\n\t\t\t\t\t<cbc:CityName>Leuven</cbc:CityName>\n\t\t\t\t\t<cac:Country>\n\t\t\t\t\t\t<cbc:IdentificationCode>BE</cbc:IdentificationCode>\n\t\t\t\t\t</cac:Country>\n\t\t\t\t</cac:RegistrationAddress>\n\t\t\t</cac:PartyLegalEntity>\n\t\t</cac:Party>\n\t</cac:AccountingCustomerParty>\n\t<cac:Delivery>\n\t\t<cac:DeliveryLocation>\n\t\t\t<cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n\t\t\t<cac:Address>\n\t\t\t\t<cbc:StreetName>Delivery street 2</cbc:StreetName>\n\t\t\t\t<cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n\t\t\t\t<cbc:CityName>Stockholm</cbc:CityName>\n\t\t\t\t<cbc:PostalZone>21234</cbc:PostalZone>\n\t\t\t\t<cac:Country>\n\t\t\t\t\t<cbc:IdentificationCode>SE</cbc:IdentificationCode>\n\t\t\t\t</cac:Country>\n\t\t\t</cac:Address>\n\t\t</cac:DeliveryLocation>\n\t\t<cac:RequestedDeliveryPeriod>\n\t\t\t<cbc:StartDate>2012-10-10</cbc:StartDate>\n\t\t\t<cbc:EndDate>2012-10-20</cbc:EndDate>\n\t\t</cac:RequestedDeliveryPeriod>\n\t\t<cac:DeliveryParty>\n\t\t\t<cac:PartyName>\n\t\t\t\t<cbc:Name>Delivery party Name</cbc:Name>\n\t\t\t</cac:PartyName>\n\t\t</cac:DeliveryParty>\n\t</cac:Delivery>\n\t<cac:DeliveryTerms>\n\t\t<cbc:ID>FOB</cbc:ID>\n\t\t<cbc:SpecialTerms>CAD</cbc:SpecialTerms>\n\t\t<cac:DeliveryLocation>\n\t\t\t<cbc:ID>FOB Oslo</cbc:ID>\n\t\t</cac:DeliveryLocation>\n\t</cac:DeliveryTerms>\n\t<cac:PaymentTerms>\n\t\t<cbc:Note>Payment terms description</cbc:Note>\n\t</cac:PaymentTerms>\n\t<cac:AllowanceCharge>\n\t\t<cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n\t\t<cbc:AllowanceChargeReasonCode>ABK</cbc:AllowanceChargeReasonCode>\n\t\t<cbc:AllowanceChargeReason>Miscellaneous services</cbc:AllowanceChargeReason>\n\t\t<cbc:Amount currencyID=\"NOK\">400.00</cbc:Amount>\n\t\t<cac:TaxCategory>\n\t\t\t<cbc:ID>Z</cbc:ID>\n\t\t\t<cbc:Percent>0</cbc:Percent>\n\t\t\t<cac:TaxScheme>\n\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t</cac:TaxScheme>\n\t\t</cac:TaxCategory>\n\t</cac:AllowanceCharge>\n\t<cac:AllowanceCharge>\n\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n\t\t<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>\n\t\t<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>\n\t\t<cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>\n\t\t<cbc:Amount currencyID=\"NOK\">652.50</cbc:Amount>\n\t\t<cbc:BaseAmount currencyID=\"NOK\">6525.00</cbc:BaseAmount>\n\t\t<cac:TaxCategory>\n\t\t\t<cbc:ID>S</cbc:ID>\n\t\t\t<cbc:Percent>25</cbc:Percent>\n\t\t\t<cac:TaxScheme>\n\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t</cac:TaxScheme>\n\t\t</cac:TaxCategory>\n\t</cac:AllowanceCharge>\n\t<cac:TaxTotal>\n\t\t<cbc:TaxAmount currencyID=\"NOK\">100.00</cbc:TaxAmount>\n\t</cac:TaxTotal>\n\t<cac:AnticipatedMonetaryTotal>\n\t\t<cbc:LineExtensionAmount currencyID=\"NOK\">6525.00</cbc:LineExtensionAmount>\n\t\t<cbc:TaxExclusiveAmount currencyID=\"NOK\">6272.50</cbc:TaxExclusiveAmount>\n\t\t<cbc:TaxInclusiveAmount currencyID=\"NOK\">6372.50</cbc:TaxInclusiveAmount>\n\t\t<cbc:AllowanceTotalAmount currencyID=\"NOK\">652.50</cbc:AllowanceTotalAmount>\n\t\t<cbc:ChargeTotalAmount currencyID=\"NOK\">400.00</cbc:ChargeTotalAmount>\n\t\t<cbc:PrepaidAmount currencyID=\"NOK\">10.00</cbc:PrepaidAmount>\n\t\t<cbc:PayableRoundingAmount currencyID=\"NOK\">0.50</cbc:PayableRoundingAmount>\n\t\t<cbc:PayableAmount currencyID=\"NOK\">6363</cbc:PayableAmount>\n\t</cac:AnticipatedMonetaryTotal>\n\t<cac:OrderLine>\n\t\t<cbc:Note>Freetext note on line 1</cbc:Note>\n\t\t<cac:LineItem>\n\t\t\t<cbc:ID>1</cbc:ID>\n\t\t\t<cbc:Quantity unitCode=\"EA\">120</cbc:Quantity>\n\t\t\t<cbc:LineExtensionAmount currencyID=\"NOK\">6300.00</cbc:LineExtensionAmount>\n\t\t\t<cbc:PartialDeliveryIndicator>false</cbc:PartialDeliveryIndicator>\n\t\t\t<cbc:AccountingCost>12345678</cbc:AccountingCost>\n\t\t\t<cac:Delivery>\n\t\t\t\t<cac:RequestedDeliveryPeriod>\n\t\t\t\t\t<cbc:StartDate>2010-02-10</cbc:StartDate>\n\t\t\t\t\t<cbc:EndDate>2010-02-25</cbc:EndDate>\n\t\t\t\t</cac:RequestedDeliveryPeriod>\n\t\t\t</cac:Delivery>\n\t\t\t<cac:OriginatorParty>\n\t\t\t\t<cac:PartyIdentification>\n\t\t\t\t\t<cbc:ID schemeID=\"0082\">1234567890</cbc:ID>\n\t\t\t\t</cac:PartyIdentification>\n\t\t\t\t<cac:PartyName>\n\t\t\t\t\t<cbc:Name>John K.</cbc:Name>\n\t\t\t\t</cac:PartyName>\n\t\t\t</cac:OriginatorParty>\n\t\t\t<cac:AllowanceCharge>\n\t\t\t\t<cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n\t\t\t\t<cbc:AllowanceChargeReasonCode>ABK</cbc:AllowanceChargeReasonCode>\n\t\t\t\t<cbc:AllowanceChargeReason>Miscellaneous services</cbc:AllowanceChargeReason>\n\t\t\t\t<cbc:Amount currencyID=\"NOK\">600.00</cbc:Amount>\n\t\t\t</cac:AllowanceCharge>\n\t\t\t<cac:AllowanceCharge>\n\t\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n\t\t\t\t<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>\n\t\t\t\t<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>\n\t\t\t\t<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric>\n\t\t\t\t<cbc:Amount currencyID=\"NOK\">300.00</cbc:Amount>\n\t\t\t\t<cbc:BaseAmount currencyID=\"NOK\">6000.00</cbc:BaseAmount>\n\t\t\t</cac:AllowanceCharge>\n\t\t\t<cac:Price>\n\t\t\t\t<cbc:PriceAmount currencyID=\"NOK\">50.000</cbc:PriceAmount>\n\t\t\t\t<cbc:BaseQuantity unitCode=\"EA\">1</cbc:BaseQuantity>\n\t\t\t\t<cac:AllowanceCharge>\n\t\t\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n\t\t\t\t\t<cbc:Amount currencyID=\"NOK\">10.00</cbc:Amount>\n\t\t\t\t\t<cbc:BaseAmount currencyID=\"NOK\">60.00</cbc:BaseAmount>\n\t\t\t\t</cac:AllowanceCharge>\n\t\t\t</cac:Price>\n\t\t\t<cac:Item>\n\t\t\t\t<cbc:Description>Needle 4mm</cbc:Description>\n\t\t\t\t<cbc:Name>Needle 4mm</cbc:Name>\n\t\t\t\t<cac:BuyersItemIdentification>\n\t\t\t\t\t<cbc:ID>123456</cbc:ID>\n\t\t\t\t</cac:BuyersItemIdentification>\n\t\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t\t<cbc:ID>121212</cbc:ID>\n\t\t\t\t</cac:SellersItemIdentification>\n\t\t\t\t<cac:StandardItemIdentification>\n\t\t\t\t\t<cbc:ID schemeID=\"0160\">0060000012345</cbc:ID>\n\t\t\t\t</cac:StandardItemIdentification>\n\t\t\t\t<cac:ItemSpecificationDocumentReference>\n\t\t\t\t\t<cbc:ID>12345678</cbc:ID>\n\t\t\t\t</cac:ItemSpecificationDocumentReference>\n\t\t\t\t<cac:CommodityClassification>\n\t\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\" listVersionID=\"19.0501\">12345678</cbc:ItemClassificationCode>\n\t\t\t\t</cac:CommodityClassification>\n\n\t\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t\t<cbc:ID>S</cbc:ID>\n\t\t\t\t\t<cbc:Percent>25</cbc:Percent>\n\t\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t\t\t</cac:TaxScheme>\n\t\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t\t<cac:AdditionalItemProperty>\n\t\t\t\t\t<cbc:Name>Length</cbc:Name>\n\t\t\t\t\t<cbc:Value>30 mm</cbc:Value>\n\t\t\t\t\t<cbc:ValueQuantity unitCode=\"C62\">30</cbc:ValueQuantity>\n\t\t\t\t\t<cbc:ValueQualifier>descr</cbc:ValueQualifier>\n\t\t\t\t</cac:AdditionalItemProperty>\n\t\t\t\t<cac:ItemInstance>\n\t\t\t\t\t<cbc:SerialID>SE-123456</cbc:SerialID>\n\t\t\t\t\t<cac:LotIdentification>\n\t\t\t\t\t\t<cbc:LotNumberID>LO-123456</cbc:LotNumberID>\n\t\t\t\t\t</cac:LotIdentification>\n\t\t\t\t</cac:ItemInstance>\n\t\t\t</cac:Item>\n\t\t</cac:LineItem>\n\t</cac:OrderLine>\n\t<cac:OrderLine>\n\t\t<cbc:Note>Freetext note on line 2</cbc:Note>\n\t\t<cac:LineItem>\n\t\t\t<cbc:ID>2</cbc:ID>\n\t\t\t<cbc:Quantity unitCode=\"EA\">15</cbc:Quantity>\n\t\t\t<cbc:LineExtensionAmount currencyID=\"NOK\">225.00</cbc:LineExtensionAmount>\n\t\t\t<cbc:PartialDeliveryIndicator>true</cbc:PartialDeliveryIndicator>\n\t\t\t<cbc:AccountingCost>ProjectID123</cbc:AccountingCost>\n\t\t\t<cac:Delivery>\n\t\t\t\t<cac:RequestedDeliveryPeriod>\n\t\t\t\t\t<cbc:StartDate>2012-10-15</cbc:StartDate>\n\t\t\t\t\t<cbc:EndDate>2012-10-31</cbc:EndDate>\n\t\t\t\t</cac:RequestedDeliveryPeriod>\n\t\t\t</cac:Delivery>\n\t\t\t<cac:OriginatorParty>\n\t\t\t\t<cac:PartyIdentification>\n\t\t\t\t\t<cbc:ID schemeID=\"0082\">1234567890</cbc:ID>\n\t\t\t\t</cac:PartyIdentification>\n\t\t\t\t<cac:PartyName>\n\t\t\t\t\t<cbc:Name>John K.</cbc:Name>\n\t\t\t\t</cac:PartyName>\n\t\t\t</cac:OriginatorParty>\n\t\t\t<cac:Price>\n\t\t\t\t<cbc:PriceAmount currencyID=\"NOK\">15.000</cbc:PriceAmount>\n\t\t\t\t<cbc:BaseQuantity unitCode=\"EA\">1</cbc:BaseQuantity>\n\t\t\t\t<cac:AllowanceCharge>\n\t\t\t\t\t<cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n\t\t\t\t\t<cbc:Amount currencyID=\"NOK\">100.0000</cbc:Amount>\n\t\t\t\t\t<cbc:BaseAmount currencyID=\"NOK\">115.0000</cbc:BaseAmount>\n\t\t\t\t</cac:AllowanceCharge>\n\t\t\t</cac:Price>\n\t\t\t<cac:Item>\n\t\t\t\t<cbc:Description>Wet tissues for children</cbc:Description>\n\t\t\t\t<cbc:Name>Wet tissues</cbc:Name>\n\t\t\t\t<cac:SellersItemIdentification>\n\t\t\t\t\t<cbc:ID>SItemNo011</cbc:ID>\n\t\t\t\t</cac:SellersItemIdentification>\n\t\t\t\t<cac:CommodityClassification>\n\t\t\t\t\t<cbc:ItemClassificationCode listID=\"MP\" listVersionID=\"19.0501\">56789123</cbc:ItemClassificationCode>\n\t\t\t\t</cac:CommodityClassification>\n\t\t\t\t<cac:ClassifiedTaxCategory>\n\t\t\t\t\t<cbc:ID>S</cbc:ID>\n\t\t\t\t\t<cbc:Percent>25</cbc:Percent>\n\t\t\t\t\t<cac:TaxScheme>\n\t\t\t\t\t\t<cbc:ID>VAT</cbc:ID>\n\t\t\t\t\t</cac:TaxScheme>\n\t\t\t\t</cac:ClassifiedTaxCategory>\n\t\t\t\t<cac:AdditionalItemProperty>\n\t\t\t\t\t<cbc:Name>Weight</cbc:Name>\n\t\t\t\t\t<cbc:Value>100 g</cbc:Value>\n\t\t\t\t</cac:AdditionalItemProperty>\n\t\t\t</cac:Item>\n\t\t</cac:LineItem>\n\t</cac:OrderLine>\n</Order>\n"}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-responses/{transmissionId}/ubl":{"get":{"tags":["Order"],"summary":"Get an Order Response in UBL format","description":"Get the content of a sent or received Order Response in UBL format","operationId":"getOrderResponseInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving the Order Response UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"Order Response UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<OrderResponse\n   xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2\"\n   xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n   xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n   xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n  <cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order_response_advanced:3</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3</cbc:ProfileID>\n  <cbc:ID>pbe000512-8</cbc:ID>\n  <cbc:IssueDate>2022-02-01</cbc:IssueDate>\n  <cbc:OrderResponseCode>CA</cbc:OrderResponseCode>\n  <cbc:Note>Response message with amendments in the details</cbc:Note>\n  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n  <cac:OrderReference>\n    <cbc:ID>Order-1</cbc:ID>\n  </cac:OrderReference>\n  <cac:SellerSupplierParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:SellerSupplierParty>\n  <cac:BuyerCustomerParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>The Supplier AB</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:BuyerCustomerParty>\n  <cac:Delivery>\n    <cac:PromisedDeliveryPeriod>\n      <cbc:StartDate>2022-02-15</cbc:StartDate>\n      <cbc:EndDate>2022-02-20</cbc:EndDate>\n    </cac:PromisedDeliveryPeriod>\n  </cac:Delivery>\n  <cac:OrderLine>\n    <cac:LineItem>\n      <cbc:ID>1</cbc:ID>\n      <cbc:Note>Reduced quantity to 5 and added Sellers item identification</cbc:Note>\n      <cbc:LineStatusCode>3</cbc:LineStatusCode>\n      <cbc:Quantity unitCode=\"NAR\">5</cbc:Quantity>\n      <cac:Item>\n        <cbc:Name>Item 1</cbc:Name>\n        <cac:SellersItemIdentification>\n          <cbc:ID>SN-1</cbc:ID>\n        </cac:SellersItemIdentification>\n      </cac:Item>\n    </cac:LineItem>\n    <cac:OrderLineReference>\n      <cbc:LineID>1</cbc:LineID>\n    </cac:OrderLineReference>\n  </cac:OrderLine>\n  <cac:OrderLine>\n    <cac:LineItem>\n      <cbc:ID>2</cbc:ID>\n      <cbc:Note>Added Sellers item identification</cbc:Note>\n      <cbc:LineStatusCode>3</cbc:LineStatusCode>\n      <cac:Item>\n        <cbc:Name>Item 2</cbc:Name>\n        <cac:SellersItemIdentification>\n          <cbc:ID>SN-2</cbc:ID>\n        </cac:SellersItemIdentification>\n      </cac:Item>\n    </cac:LineItem>\n    <cac:OrderLineReference>\n      <cbc:LineID>2</cbc:LineID>\n    </cac:OrderLineReference>\n  </cac:OrderLine>\n</OrderResponse>\n"}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-changes/{transmissionId}/ubl":{"get":{"tags":["Order"],"summary":"Get an Order Change in UBL format","description":"Get the content of a sent or received Order Change in UBL format","operationId":"getOrderChangeInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving the Order Change UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"Order Change UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<OrderChange\n    xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:OrderChange-2\"\n    xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n    xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n    xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n  <cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order_change:3</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3</cbc:ProfileID>\n  <cbc:ID>pbe000512-8</cbc:ID>\n  <cbc:IssueDate>2022-02-01</cbc:IssueDate>\n  <cbc:SequenceNumberID>1</cbc:SequenceNumberID>\n  <cbc:Note>Changes according to Order reponse</cbc:Note>\n  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n  <cac:ValidityPeriod>\n    <cbc:EndDate>2022-03-01</cbc:EndDate>\n  </cac:ValidityPeriod>\n  <cac:OrderReference>\n    <cbc:ID>pbe000512-9</cbc:ID>\n  </cac:OrderReference>\n  <cac:BuyerCustomerParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID>0552912569</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PostalAddress>\n        <cac:Country>\n          <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n        <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n        <cac:RegistrationAddress>\n          <cbc:CityName>Leuven</cbc:CityName>\n          <cac:Country>\n            <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n          </cac:Country>\n        </cac:RegistrationAddress>\n      </cac:PartyLegalEntity>\n      <cac:Contact>\n        <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n      </cac:Contact>\n    </cac:Party>\n  </cac:BuyerCustomerParty>\n  <cac:SellerSupplierParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PartyName>\n        <cbc:Name>The Supplier AB</cbc:Name>\n      </cac:PartyName>\n      <cac:PostalAddress>\n        <cac:Country>\n          <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>The Supplier</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:SellerSupplierParty>\n  <cac:Delivery>\n    <cac:DeliveryLocation>\n      <cac:Address>\n        <cbc:StreetName>Lower street 5</cbc:StreetName>\n        <cbc:AdditionalStreetName>Reception</cbc:AdditionalStreetName>\n        <cbc:CityName>Stockholm</cbc:CityName>\n        <cbc:PostalZone>11120</cbc:PostalZone>\n        <cac:AddressLine>\n\t\t\t<cbc:Line>Right</cbc:Line>\n        </cac:AddressLine>\n        <cac:Country>\n          <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:Address>\n    </cac:DeliveryLocation>\n    <cac:RequestedDeliveryPeriod>\n      <cbc:StartDate>2013-07-15</cbc:StartDate>\n      <cbc:EndDate>2013-07-16</cbc:EndDate>\n    </cac:RequestedDeliveryPeriod>\n    <cac:DeliveryParty>\n      <cac:PartyName>\n        <cbc:Name>Hospital Tourist Department</cbc:Name>\n      </cac:PartyName>\n      <cac:Contact>\n        <cbc:Name>John</cbc:Name>        \n        <cbc:ElectronicMail>john@example.com</cbc:ElectronicMail>\n      </cac:Contact>\n    </cac:DeliveryParty>\n  </cac:Delivery>\n  <cac:TaxTotal>\n    <cbc:TaxAmount currencyID=\"EUR\">100</cbc:TaxAmount>\n  </cac:TaxTotal>\n  <cac:AnticipatedMonetaryTotal>\n\t\t<cbc:LineExtensionAmount currencyID=\"EUR\">500</cbc:LineExtensionAmount>\n\t\t<cbc:TaxExclusiveAmount currencyID=\"EUR\">500</cbc:TaxExclusiveAmount>\n\t\t<cbc:TaxInclusiveAmount currencyID=\"EUR\">600</cbc:TaxInclusiveAmount>\n\t\t<cbc:PayableAmount currencyID=\"EUR\">600</cbc:PayableAmount>\n\t</cac:AnticipatedMonetaryTotal>\n  <cac:OrderLine>\n    <cac:LineItem>\n      <cbc:ID>1</cbc:ID>\n      <cbc:LineStatusCode>3</cbc:LineStatusCode>\n      <cbc:Quantity unitCode=\"NAR\">5</cbc:Quantity>\n      <cbc:LineExtensionAmount currencyID=\"EUR\">200</cbc:LineExtensionAmount>\n      <cac:Price>\n        <cbc:PriceAmount currencyID=\"EUR\">40</cbc:PriceAmount>\n      </cac:Price>\n      <cac:Item>\n        <cbc:Name>Item 1</cbc:Name>\n        <cac:ClassifiedTaxCategory>\n          <cbc:ID>S</cbc:ID>\n          <cbc:Percent>20</cbc:Percent>\n          <cac:TaxScheme>\n            <cbc:ID>VAT</cbc:ID>\n          </cac:TaxScheme>\n        </cac:ClassifiedTaxCategory>\n      </cac:Item>\n    </cac:LineItem>\n  </cac:OrderLine>\n  <cac:OrderLine>\n    <cac:LineItem>\n      <cbc:ID>2</cbc:ID>\n      <cbc:LineStatusCode>3</cbc:LineStatusCode>\n      <cbc:Quantity unitCode=\"NAR\">50</cbc:Quantity>\n      <cbc:LineExtensionAmount currencyID=\"EUR\">300</cbc:LineExtensionAmount>\n      <cac:Price>\n        <cbc:PriceAmount currencyID=\"EUR\">6</cbc:PriceAmount>\n      </cac:Price>\n      <cac:Item>\n        <cbc:Name>Item 2</cbc:Name>\n        <cac:ClassifiedTaxCategory>\n          <cbc:ID>S</cbc:ID>\n          <cbc:Percent>20</cbc:Percent>\n          <cac:TaxScheme>\n            <cbc:ID>VAT</cbc:ID>\n          </cac:TaxScheme>\n        </cac:ClassifiedTaxCategory>\n      </cac:Item>\n    </cac:LineItem>\n  </cac:OrderLine>\n</OrderChange>\n"}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/order-cancellations/{transmissionId}/ubl":{"get":{"tags":["Order"],"summary":"Get an Order Cancellation in UBL format","description":"Get the content of a sent or received Order Cancellation in UBL format","operationId":"getOrderCancellationInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error retrieving the Order Cancellation UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"Order Cancellation UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<OrderCancellation\n   xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:OrderCancellation-2\"\n   xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n   xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n   xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n  <cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order_cancellation:3</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:advanced_ordering:3</cbc:ProfileID>\n  <cbc:ID>pbe000512-8</cbc:ID>\n  <cbc:IssueDate>2022-02-01</cbc:IssueDate>\n   <cbc:CancellationNote>With reference to phone call</cbc:CancellationNote>\n  <cac:OrderReference>\n    <cbc:ID>Order-1</cbc:ID>\n  </cac:OrderReference>\n  <cac:BuyerCustomerParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID>0552912569</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PostalAddress>\n        <cac:Country>\n          <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:BuyerCustomerParty>\n  <cac:SellerSupplierParty>\n    <cac:Party>\n      <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n      <cac:PartyIdentification>\n        <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n      </cac:PartyIdentification>\n      <cac:PostalAddress>\n        <cac:Country>\n          <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n        </cac:Country>\n      </cac:PostalAddress>\n      <cac:PartyLegalEntity>\n        <cbc:RegistrationName>The Supplier AB</cbc:RegistrationName>\n      </cac:PartyLegalEntity>\n    </cac:Party>\n  </cac:SellerSupplierParty>\n</OrderCancellation>\n"}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/notifications":{"get":{"tags":["Notification"],"summary":"Get the list of notifications","description":"The API creates notifications to inform you when a document was sent successfully or when you receive a document from other legal entities.</br></br>The following status values are possible when you, acting as a Seller, are sending an invoice/credit note to a Buyer. You will get notified via the notification `InvoiceSendingNotificationRO`:<table><tr><th>Code</th><th>Description</th></tr><tr><td>QUEUED</td><td>Waiting to be sent to the Buyer</td></tr><tr><td>SENT</td><td>Acknowledged by the receiver Access Point C3</td></tr><tr><td>SEND_FAILED</td><td>Failed to send to the receiver's Access Point C3</td></tr></table></br>The following status values are possible when you, acting as a Seller, have sent an invoice/credit note to the Access Point of the Buyer and it was received. You will get notified via the notification `MLRReceivingNotificationRO`:<table><tr><th>Code</th><th>Description</th></tr><tr><td>TECHNICAL_ACCEPTANCE</td><td>Document received and accepted by the Access Point of the Buyer, but it was not (yet) read by Buyer</td></tr><tr><td>REJECTED</td><td>MLR reject. Status is used when the Access Point of the Buyer will not process the referenced document any further due to validation errors.</td></tr></table></br>When you, acting as a Buyer, are receiving an invoice/credit note from the Seller you will get notified via the notification `InvoiceReceivingNotificationRO`. This notification contains a unique identifier called `transmissionId` which you will use to get the incoming invoice/credit note using the endpoint <a href=\"#tag/InvoiceCredit-Note/operation/getInvoiceInUBLFormat\">Get Invoice/Credit Note</a>.</br></br>The following status values are possible when you, acting as a Seller, are receiving an InvoiceResponse notification(IR) from the Buyer. Not all Buyers are sending an InvoiceResponse.You will get notified via the notification `InvoiceResponseReceivingNotificationRO`:<table><tr><th>Code</th><th>Description</th></tr><tr><td>BUYER_ACKNOWLEDGE</td><td>Status is used when Buyer has received a readable invoice message that can be understood and submitted for processing by the Buyer.</td></tr><tr><td>IN_PROCESS</td><td>Status is used when the processing of the Invoice has started in Buyers system.</td></tr><tr><td>UNDER_QUERY</td><td>Status is used when Buyer will not proceed to accept the Invoice without receiving additional information from the Seller.</td></tr><tr><td>CONDITIONALLY_ACCEPTED</td><td>Status is used when Buyer is accepting the Invoice under conditions stated in 'Status Reason' and proceed to pay accordingly unless disputed by Seller.</td></tr><tr><td>REJECTED</td><td>Invoice reject. Status is used only when the Buyer will not process the referenced Invoice any further. Buyer is rejecting this invoice but not necessarily the commercial transaction. Although it can be used also for rejection for commercial reasons (invoice not corresponding to delivery).</td></tr><tr><td>ACCEPTED</td><td>Status is used only when the Buyer has given a final approval of the invoice and the next step is payment</td></tr><tr><td>PARTIALLY_PAID</td><td>Status is used together with Clarification Reason code PPD, only when the Buyer has initiated the payment of the invoice without having paid the accepted amount in full.</td></tr><tr><td>FULLY_PAID</td><td>Status is used only when the Buyer has initiated the payment of the invoice.</td></tr></table></br></br><b>France PPF/C5 notifications</b></br>PPF reporting is asynchronous and independent of Peppol delivery. A typical successful lifecycle is <code>C5_DOCUMENT_ENQUEUED</code> &rarr; <code>C5_DOCUMENT_SUBMITTED</code> &rarr; <code>C5_DOCUMENT_ACKNOWLEDGED</code> &rarr; <code>C5_DOCUMENT_PROCESSED</code>. <code>C5_DOCUMENT_ENQUEUED</code> means that the entry is queued locally and has not yet been sent to PPF. <code>C5_DOCUMENT_SUBMITTED</code> means that the bulk archive containing the entry was uploaded to PPF; it does not confirm technical or business acceptance. <code>C5_DOCUMENT_SUBMISSION_FAILED</code> reports a submission failure, including an upload failure after retries are exhausted. PPF technical acceptance or rejection is reported by <code>C5_DOCUMENT_ACKNOWLEDGED</code> or <code>C5_DOCUMENT_NOT_ACKNOWLEDGED</code>; business processing results are reported by <code>C5_DOCUMENT_PROCESSED</code> or <code>C5_DOCUMENT_PROCESSING_FAILED</code>. <code>C5SendingNotificationRO</code> reports queueing and upload outcomes; <code>C5ReceivingNotificationRO</code> reports PPF technical and business responses. The <code>success</code> field applies only to the stage identified by <code>eventType</code>. <code>submissionId</code> identifies the individual entry, <code>c5TransmissionId</code> the outbound bulk archive, and <code>acknowledgementId</code> the incoming PPF response archive. <code>c5TransmissionId</code> can be absent while the entry is only enqueued. The Peppol <code>transmissionId</code> can be absent for standalone e-reporting. Use <code>details</code> and, when present, <code>documentStatusDetails</code> for rejection reasons.</br></br><b>France CDAR notifications</b></br><code>CDAR_SENT</code> confirms that a France invoice lifecycle CDAR message was sent successfully; <code>CDAR_SEND_FAILED</code> reports that sending the CDAR failed. Both use <code>CDARSendingNotificationRO</code>. <code>CDAR_RECEIVED</code> uses <code>CDARReceivingNotificationRO</code> and reports a received CDAR status update for a referenced invoice or credit note. These events concern the lifecycle message itself, including messages generated automatically by the platform. <code>DOCUMENT_SENT</code> and <code>DOCUMENT_RECEIVED</code> concern the original document exchange. In CDAR notifications, <code>currentDocument</code> identifies the CDAR and <code>referencedDocument</code> identifies the invoice or credit note. <code>documentStatus</code> carries the French lifecycle status (for example, <code>FR_DEPOSITED</code> or <code>FR_APPROVED</code>), while <code>detailedStatuses</code> and <code>details</code> provide additional information when available. Reporting a CDAR to PPF has its own <code>C5_DOCUMENT_*</code> notifications.</br>Here is a list of all notifications defined in our OpenAPI specifications that you can receive:<table><tr><th>Name</th><th>Event Type</th><th>Description</th></tr><tr><td>InvoiceSendingNotificationRO</td><td>DOCUMENT_SENT</br>DOCUMENT_SEND_FAILED</td><td>Notification created when you, acting as a Seller, send an invoice/credit note to a Buyer. This notifies you whether the invoice was sent successfully or failed to be sent.</td></tr><tr><td>InvoiceReceivingNotificationRO</td><td>DOCUMENT_RECEIVED</td><td>Notification created when you, acting as a Buyer, receive an invoice/credit note from a Seller.</td></tr><tr><td>MLRReceivingNotificationRO</td><td>MLR_RECEIVED</td><td>Notification created when you, acting as a Seller, have sent an invoice/credit note to the Buyer's Access Point and it has been received. This notifies you whether the Buyer's Access Point has accepted or rejected the invoice for technical reasons.</td></tr><tr><td>InvoiceResponseSendingNotificationRO</td><td>INVOICE_RESPONSE_SENT</br>INVOICE_RESPONSE_SEND_FAILED</td><td>Notification created when you, acting as a Buyer, send an Invoice Response (IR) to a Seller. This notifies you whether the Invoice Response was sent successfully or failed to be sent.</td></tr><tr><td>InvoiceResponseReceivingNotificationRO</td><td>INVOICE_RESPONSE_RECEIVED</td><td>Notification created when you, acting as a Seller, receive an Invoice Response (IR) from a Buyer. This notifies you whether the invoice you sent to the Buyer was accepted, rejected, paid, etc.</td></tr><tr><td>CDARSendingNotificationRO</td><td>CDAR_SENT</br>CDAR_SEND_FAILED</td><td>Notification created when you, acting as a Buyer, send a CDAR document to a Seller. The same notification type is also created when you, acting as a Seller, send a CDAR with a status update to the Buyer. This notifies you whether the CDAR document was sent successfully or failed to be sent.</td></tr><tr><td>CDARReceivingNotificationRO</td><td>CDAR_RECEIVED</td><td>Notification created when you, acting as a Seller, receive a CDAR document from a Buyer. The same notification type is also created when you, acting as a Buyer, receive a CDAR with a status update from the Seller.</td></tr><tr><td>OrderSendingNotificationRO</td><td>DOCUMENT_SENT</br>DOCUMENT_SEND_FAILED</td><td>Notification created when you, acting as a Buyer, send an order to a Seller. This notifies you whether the order was sent successfully or failed to be sent.</td></tr><tr><td>OrderReceivingNotificationRO</td><td>DOCUMENT_RECEIVED</td><td>Notification created when you, acting as a Seller, receive an order from a Buyer.</td></tr><tr><td>LegalEntityCorppassKycNotificationRO</td><td>LEGAL_ENTITY_KYC_CORPPASS_ACTIVATED</br>LEGAL_ENTITY_KYC_CORPPASS_ACTIVATION_ERROR</td><td>Specific to Singapore only: Notification created to inform you about the status of the legal entity KYC in Corppass.</td></tr><tr><td>LegalEntityCorppassC5NotificationRO</td><td>LEGAL_ENTITY_C5_ACTIVATED</br>LEGAL_ENTITY_C5_ACTIVATION_ERROR</br>LEGAL_ENTITY_C5_DEACTIVATED</br>LEGAL_ENTITY_C5_DEACTIVATION_ERROR</td><td>Specific to Singapore only: Notification created to inform you about the status of the legal entity C5 activation/deactivation in Corppass.</td></tr><tr><td>IrasSendingNotificationRO</td><td>IRAS_DOCUMENT_SENT</br>IRAS_DOCUMENT_SEND_FAILED</td><td>Specific to Singapore only: Notification created when you, acting as a Seller, send an invoice/credit note to a Buyer and you have indicated to our API to automatically report to IRAS via the HTTP header X-C5-REPORTING.</td></tr><tr><td>C5SendingNotificationRO</td><td>C5_DOCUMENT_ENQUEUED</br>C5_DOCUMENT_SUBMITTED</br>C5_DOCUMENT_SUBMISSION_FAILED</td><td>Notification created when a document is either queued for submission or submitted to C5 (i.e. the country‑specific fiscal authority), or its submission to C5 failed.</td></tr><tr><td>C5ReceivingNotificationRO</td><td>C5_DOCUMENT_ACKNOWLEDGED</br>C5_DOCUMENT_NOT_ACKNOWLEDGED</br>C5_DOCUMENT_PROCESSED</br>C5_DOCUMENT_PROCESSING_FAILED</td><td>Notification created when C5 technical acknowledgement, rejection or processing results are received for a previously submitted document.</td></tr></table>","operationId":"getNotifications","parameters":[{"name":"transmissionId","in":"query","description":"The transmission id of the notification","required":false,"schema":{"type":"string"},"example":"803828d52d4911ed85f512ef9c5638d0"},{"name":"documentId","in":"query","description":"The document id of a document eg Invoice/Credit Note","required":false,"schema":{"type":"string"},"example":"pbe000512-1"},{"name":"eventType","in":"query","description":"The notification event type","required":false,"schema":{"$ref":"#/components/schemas/EventTypeRO"},"example":"INVOICE_RESPONSE_RECEIVED"},{"name":"peppolDocumentType","in":"query","description":"The document type: INVOICE, CREDIT_NOTE, ORDER","required":false,"schema":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"example":"INVOICE"},{"name":"sender","in":"query","description":"The sender of the notification","required":false,"schema":{"type":"string"},"example":"0208:0552912569"},{"name":"receiver","in":"query","description":"The receiver of the notification","required":false,"schema":{"type":"string"},"example":"0208:0552912569"},{"name":"startDateTime","in":"query","description":"The start date time of the period to filter the notifications. To filter all notifications for a specific time E.g. `2023-07-25T11:03:26.688Z` use `startDateTime=2023-07-25T11:03:26.688Z` and `endDateTime=2023-07-29T11:03:26.688Z","required":false,"schema":{"type":"string","format":"date-time"},"example":"2023-07-25T11:03:26.688Z"},{"name":"endDateTime","in":"query","description":"The end date time of the period to filter the notifications.","required":false,"schema":{"type":"string","format":"date-time"},"example":"2023-07-29T11:03:26.688Z"},{"name":"page","in":"query","description":"The starting page number from which we want to retrieve results. The first page is 0.","required":false,"schema":{"type":"integer","format":"int32","default":0},"example":0},{"name":"pageSize","in":"query","description":"How many results we retrieve per page","required":false,"schema":{"type":"integer","format":"int32","default":10},"example":10},{"name":"sort","in":"query","description":"Whether to sort the results in ascending ('asc') or descending ('desc') order","required":false,"schema":{"type":"string","default":"asc"},"example":"asc"},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Notifications retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationsResponseRO"},"examples":{"All notification types":{"description":"All notification types","value":{"notifications":[{"documentId":"pbe000512-AUNZ-1","documentStatus":"SENT","eventType":"DOCUMENT_SENT","notificationDate":"2025-03-25T13:28:59.878","notificationId":1,"peppolDocumentType":"INVOICE","receiver":"0151:20234567890","sbdhTransmissionId":"1a5363fd097d11f083b9c2b5d1f6eb7f","sender":"0151:47555222000","transmissionId":"1a5363fe097d11f083b9c2b5d1f6eb7f","details":[]},{"documentId":"pbe000512-2","documentStatus":"SEND_FAILED","eventType":"DOCUMENT_SEND_FAILED","notificationDate":"2025-03-25T13:29:05.931","notificationId":5,"peppolDocumentType":"INVOICE","receiver":"0208:1999999943","sbdhTransmissionId":"1faf4efd097d11f083b9c2b5d1f6eb7f","sender":"0208:0552912569","transmissionId":"1faf4efe097d11f083b9c2b5d1f6eb7f","details":[{"code":"DOCUMENT_TRANSMISSION_ERROR","message":"Error dispatching the message to http://receiver:8080/msh"},{"code":"DOCUMENT_TRANSMISSION_ERROR","message":"Error2"}]},{"documentId":"pbe000512-3","documentStatus":"REJECTED","eventType":"MLR_RECEIVED","notificationDate":"2025-03-25T13:29:07.536","notificationId":7,"peppolDocumentType":"INVOICE","receivedDate":"2025-03-25T13:29:07.536","receiver":"0208:0552912569","sender":"0208:1999999943","transmissionId":"20029f22097d11f083b9c2b5d1f6eb7f","details":[{"code":"GENERIC_ERROR","message":"/Invoice[1]/InvoiceLine[1]/Item[1]/ClassifiedTaxCategory[1]:[BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is \"Standard rated\" the Invoiced item VAT rate (BT-152) shall be greater than zero."},{"code":"GENERIC_ERROR","message":"/Invoice[1]/LegalMonetaryTotal[1]:[BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108)."},{"code":"GENERIC_ERROR","message":"/Invoice[1]/TaxTotal[1]/TaxSubtotal[1]/TaxCategory[1]:[BR-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is \"Standard rated\", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is \"Standard rated\" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119)."},{"code":"GENERIC_ERROR","message":"/Invoice[1]:[BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110)."}]},{"details":[],"documentId":"pbe000512-4","documentStatus":"ACCEPTED","eventType":"INVOICE_RESPONSE_RECEIVED","invoiceResponse":{"invoiceResponseId":"5eb4a831508b11f1a85c005056c00001","effectiveDate":"2022-05-22","invoiceClarifications":[],"invoiceTransmissionId":"221ca588097d11f083b9c2b5d1f6eb7f","note":null,"responseCode":"AP"},"notificationDate":"2025-03-25T13:29:09.937","notificationId":9,"peppolDocumentType":"INVOICE","receiver":"0208:0552912569","sender":"0208:1999999943","transmissionId":"221ca588097d11f083b9c2b5d1f6eb7f","sbdhInstanceIdentifier":"5eb4a831508b11f1a85c005056c00001"},{"details":[],"documentId":"pbe000512-5","documentStatus":"REJECTED","eventType":"INVOICE_RESPONSE_RECEIVED","invoiceResponse":{"invoiceResponseId":"e042941e508811f18900005056c00001","effectiveDate":"2022-08-24","invoiceClarifications":[{"clarification":"VAT Reference not found","clarificationCode":"LEG","clarificationType":"OPStatusReason"},{"clarification":"Credit fully","clarificationCode":"CNF","clarificationType":"OPStatusAction"},{"clarification":"Issue new invoice","clarificationCode":"NIN","clarificationType":"OPStatusAction"}],"invoiceTransmissionId":"22578bae097d11f083b9c2b5d1f6eb7f","note":"custom note","responseCode":"RE"},"notificationDate":"2025-03-25T13:29:10.460","notificationId":11,"peppolDocumentType":"INVOICE","receiver":"0208:0552912569","sender":"0208:1999999943","transmissionId":"22578bae097d11f083b9c2b5d1f6eb7f","sbdhInstanceIdentifier":"e042941e508811f18900005056c00001"},{"details":[],"documentId":"pbe000512-6","eventType":"DOCUMENT_RECEIVED","notificationDate":"2025-03-25T13:29:11.011","notificationId":12,"peppolDocumentType":"INVOICE","receivedDate":"2025-03-25T13:29:11.011","receiver":"0208:0552912569","sbdhTransmissionId":"5555555","sender":"0208:1999999943","transmissionId":"22e76fa4097d11f083b9c2b5d1f6eb7f"},{"details":[],"documentId":"pbe000512-8","documentStatus":"ACCEPTED","eventType":"INVOICE_RESPONSE_SENT","notificationDate":"2025-03-25T13:29:14.982","notificationId":15,"receiver":"0208:1999999943","sender":"0208:0552912569","transmissionId":"250ebc83097d11f083b9c2b5d1f6eb7f","sbdhInstanceIdentifier":"8348abc5508b11f1a85c005056c00001"},{"details":[],"documentId":"pbe000512-9","documentStatus":"REJECTED","eventType":"INVOICE_RESPONSE_SENT","notificationDate":"2025-03-25T13:29:17.621","notificationId":17,"receiver":"0208:1999999943","sender":"0208:0552912569","transmissionId":"26cf584a097d11f083b9c2b5d1f6eb7f","sbdhInstanceIdentifier":"8059a223508b11f1a85c005056c00001"},{"eventType":"CDAR_RECEIVED","notificationId":18,"notificationDate":"2025-03-25T13:29:20.000","documentStatus":"FR_IN_DISPUTE","sender":"0225:100000010","receiver":"0225:100000009","currentDocument":{"documentId":"F202500006-207","peppolDocumentType":"CDAR_RESPONSE","transmissionId":"2edcea46a44e11f18d216045bd1accf2"},"referencedDocument":{"documentId":"F202500006","peppolDocumentType":"INVOICE","transmissionId":"87bce77ca3dd11f18efc0a1599d5134b"},"details":[],"detailedStatuses":[{"reasonCode":"TX_TVA_ERR","reasonText":"Taux de TVA erroné","requestedActionCode":"NIN","requestedAction":"Créer une Facture Rectificative","sequenceNumber":1,"notes":[{"contentCode":"G1.24","content":"The invoiced VAT rate is 10%; the expected rate is 20%.","subjectCode":"ram:RateApplicablePercent"}],"documentCharacteristics":[{"id":"BT-152","typeCode":"DIV","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":10.0},{"id":"BT-152","typeCode":"DVA","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":20.0}]}],"notes":[{"contentCode":"G1.24","content":"Buyer dispute concerning the VAT rate.","subjectCode":"ram:RateApplicablePercent"}]},{"activationDate":"2025-03-25T14:29:45.897","eventType":"LEGAL_ENTITY_KYC_CORPPASS_ACTIVATED","initiatedDate":"2025-03-25T14:29:45.828","legalEntityId":2,"legalEntityRegistrationId":2,"notificationDate":"2025-03-25T14:29:45.899","notificationId":1,"signerEmail":"john.doe@example.com","signerName":"John Doe"},{"activationDate":"2025-03-25T14:29:47.524","eventType":"LEGAL_ENTITY_C5_ACTIVATED","initiatedDate":"2025-03-25T14:29:47.500","legalEntityId":5,"legalEntityRegistrationId":5,"notificationDate":"2025-03-25T14:29:47.524","notificationId":2,"signerEmail":"john.doe@example.com","signerName":"John Doe"},{"activationErrorDate":"2025-03-25T14:29:48.143","details":[{"code":null,"message":"Corppass error detail"}],"eventType":"LEGAL_ENTITY_C5_ACTIVATION_ERROR","initiatedDate":"2025-03-25T14:29:48.126","legalEntityId":6,"legalEntityRegistrationId":6,"notificationDate":"2025-03-25T14:29:48.143","notificationId":3,"signerEmail":"john.doe@example.com","signerName":"John Doe"},{"activationErrorDate":"2025-03-25T14:29:48.612","details":[{"code":null,"message":"Corppass error detail"}],"eventType":"LEGAL_ENTITY_KYC_CORPPASS_ACTIVATION_ERROR","initiatedDate":"2025-03-25T14:29:48.598","legalEntityId":7,"legalEntityRegistrationId":7,"notificationDate":"2025-03-25T14:29:48.612","notificationId":4,"signerEmail":"john.doe@example.com","signerName":"John Doe"}],"pagination":{"count":13,"page":0,"pageSize":20}}},"Complete CDAR received notification":{"description":"Complete CDAR received notification","value":{"pagination":{"count":1,"page":0,"pageSize":10},"notifications":[{"eventType":"CDAR_RECEIVED","notificationId":4311,"notificationDate":"2026-08-30T08:39:01.000","documentStatus":"FR_IN_DISPUTE","sender":"0225:100000010","receiver":"0225:100000009","currentDocument":{"documentId":"F202500006-207","peppolDocumentType":"CDAR_RESPONSE","transmissionId":"2edcea46a44e11f18d216045bd1accf2"},"referencedDocument":{"documentId":"F202500006","peppolDocumentType":"INVOICE","transmissionId":"87bce77ca3dd11f18efc0a1599d5134b"},"details":[],"detailedStatuses":[{"reasonCode":"TX_TVA_ERR","reasonText":"Taux de TVA erroné","requestedActionCode":"NIN","requestedAction":"Créer une Facture Rectificative","sequenceNumber":1,"notes":[{"contentCode":"G1.24","content":"The invoiced VAT rate is 10%; the expected rate is 20%.","subjectCode":"ram:RateApplicablePercent"}],"documentCharacteristics":[{"id":"BT-152","typeCode":"DIV","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":10.0},{"id":"BT-152","typeCode":"DVA","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":20.0}]}],"notes":[{"contentCode":"G1.24","content":"Buyer dispute concerning the VAT rate.","subjectCode":"ram:RateApplicablePercent"}]}]}},"Complete CDAR sent notification":{"description":"Complete CDAR sent notification","value":{"pagination":{"count":1,"page":0,"pageSize":10},"notifications":[{"eventType":"CDAR_SENT","notificationId":4310,"notificationDate":"2026-08-30T08:38:59.000","documentStatus":"FR_IN_DISPUTE","sender":"0225:100000010","receiver":"0225:100000009","currentDocument":{"documentId":"F202500006-207","peppolDocumentType":"CDAR_RESPONSE","transmissionId":"2edcea46a44e11f18d216045bd1accf2"},"referencedDocument":{"documentId":"F202500006","peppolDocumentType":"INVOICE","transmissionId":"87bce77ca3dd11f18efc0a1599d5134b"},"details":[],"detailedStatuses":[{"reasonCode":"TX_TVA_ERR","reasonText":"Taux de TVA erroné","requestedActionCode":"NIN","requestedAction":"Créer une Facture Rectificative","sequenceNumber":1,"notes":[{"contentCode":"G1.24","content":"The invoiced VAT rate is 10%; the expected rate is 20%.","subjectCode":"ram:RateApplicablePercent"}],"documentCharacteristics":[{"id":"BT-152","typeCode":"DIV","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":10.0},{"id":"BT-152","typeCode":"DVA","valueChanged":true,"name":"Taux TVA","location":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent","valuePercent":20.0}]}],"notes":[{"contentCode":"G1.24","content":"Buyer dispute concerning the VAT rate.","subjectCode":"ram:RateApplicablePercent"}]}]}}}}}},"400":{"description":"Error getting the Notifications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error getting notifications"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/legal-entities/{legalEntityId}/peppol-registrations/{peppolRegistrationId}/c5/corppass":{"get":{"tags":["Legal Entity C5 Singapore"],"summary":"Singapore - Get the details of the C5 activation","description":"The details of the C5 activation.<ul><li>ACTIVATED= The C5 activation has been signed</li><li>INITIATED_ACTIVATION= Signing of a C5 activation has been initiated</li><li>INITIATED_DEACTIVATION= Signing of a deactivation of an existing C5 activation has been initiated</li><li>PENDING_KYC= C5 Activation has been initiated but participant is still waiting for KYC signing</li></ul>","operationId":"getLegalEntityC5Activation","parameters":[{"name":"legalEntityId","in":"path","description":"The id of the legal entity","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"peppolRegistrationId","in":"path","description":"The id of the Peppol registration for which you want to get the Corppass activation details","required":true,"schema":{"type":"integer","format":"int64"},"example":1},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error getting Corppass C5 activation details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"LEGAL_ENTITY_ERROR","message":"Error getting the Corppass C5 activation details"}}}},"200":{"description":"Corppass C5 activation retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalEntityC5ActivationGetResponseRO"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/{transmissionId}/ubl":{"get":{"tags":["Invoice/Credit Note"],"summary":"Get an Invoice/Credit Note in UBL format","description":"Get the content of a sent or received Invoice/Credit Note in UBL format","operationId":"getInvoiceInUBLFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Invoice/Credit Note UBL XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<Invoice xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\"\n         xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\"\n         xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>\n    <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n    <cbc:ID>pbe000512-8</cbc:ID>\n    <cbc:IssueDate>2022-05-19</cbc:IssueDate>\n    <cbc:DueDate>2022-06-19</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cbc:AccountingCost>4025:123:4343</cbc:AccountingCost>\n    <cbc:BuyerReference>0150abc</cbc:BuyerReference>\n    <cac:OrderReference>\n        <cbc:ID>test-ademico-001</cbc:ID>\n        <cbc:SalesOrderID>test-ademico-001</cbc:SalesOrderID>\n    </cac:OrderReference>\n    <cac:AdditionalDocumentReference>\n        <cbc:ID>invoice1</cbc:ID>\n        <cac:Attachment>\n            <cbc:EmbeddedDocumentBinaryObject mimeCode=\"application/pdf\" filename=\"invoice.pdf\">\n               dGhpcyBpcyB0aGUgcGRmIGludm9pY2UgYmFzZTY0IGVuY29kZWQ=\n            </cbc:EmbeddedDocumentBinaryObject>\n        </cac:Attachment>\n    </cac:AdditionalDocumentReference>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">0552912569</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">0552912569</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Ademico Software</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>My street, my number</cbc:StreetName>\n                <cbc:CityName>Leuven</cbc:CityName>\n                <cbc:PostalZone>3010</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE0552912569</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Ademico Software</cbc:RegistrationName>\n                <cbc:CompanyID schemeID=\"0208\">0552912569</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@ademico-software.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cbc:EndpointID schemeID=\"0208\">1999999943</cbc:EndpointID>\n            <cac:PartyIdentification>\n                <cbc:ID schemeID=\"0208\">1999999943</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PartyName>\n                <cbc:Name>Company name</cbc:Name>\n            </cac:PartyName>\n            <cac:PostalAddress>\n                <cbc:StreetName>Simon Bolivarlaan</cbc:StreetName>\n                <cbc:CityName>Brussel</cbc:CityName>\n                <cbc:PostalZone>1000</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>BE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>BE1999999943</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:RegistrationName>Company name</cbc:RegistrationName>\n                <cbc:CompanyID>1999999943</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n            <cac:Contact>\n                <cbc:ElectronicMail>info@example.com</cbc:ElectronicMail>\n            </cac:Contact>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:Delivery>\n        <cbc:ActualDeliveryDate>2017-11-01</cbc:ActualDeliveryDate>\n        <cac:DeliveryLocation>\n            <cbc:ID schemeID=\"0088\">9483759475923478</cbc:ID>\n            <cac:Address>\n                <cbc:StreetName>Delivery street 2</cbc:StreetName>\n                <cbc:AdditionalStreetName>Building 56</cbc:AdditionalStreetName>\n                <cbc:CityName>Stockholm</cbc:CityName>\n                <cbc:PostalZone>21234</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>SE</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:Address>\n        </cac:DeliveryLocation>\n        <cac:DeliveryParty>\n            <cac:PartyName>\n                <cbc:Name>Delivery party Name</cbc:Name>\n            </cac:PartyName>\n        </cac:DeliveryParty>\n    </cac:Delivery>\n    <cac:PaymentMeans>\n        <cbc:PaymentMeansCode name=\"Credit transfer\">30</cbc:PaymentMeansCode>\n        <cbc:PaymentID>Snippet1</cbc:PaymentID>\n        <cac:PayeeFinancialAccount>\n            <cbc:ID>IBAN32423940</cbc:ID>\n            <cbc:Name>AccountName</cbc:Name>\n            <cac:FinancialInstitutionBranch>\n                <cbc:ID>BIC324098</cbc:ID>\n            </cac:FinancialInstitutionBranch>\n        </cac:PayeeFinancialAccount>\n    </cac:PaymentMeans>\n    <cac:PaymentTerms>\n        <cbc:Note>Payment within 10 days, 2% discount</cbc:Note>\n    </cac:PaymentTerms>\n    <cac:AllowanceCharge>\n        <cbc:ChargeIndicator>true</cbc:ChargeIndicator>\n        <cbc:AllowanceChargeReason>Insurance</cbc:AllowanceChargeReason>\n        <cbc:Amount currencyID=\"EUR\">10</cbc:Amount>\n        <cac:TaxCategory>\n            <cbc:ID>E</cbc:ID>\n            <cbc:Percent>0</cbc:Percent>\n            <cac:TaxScheme>\n                <cbc:ID>VAT</cbc:ID>\n            </cac:TaxScheme>\n        </cac:TaxCategory>\n    </cac:AllowanceCharge>\n    <cac:TaxTotal>\n        <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1481.4</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">311.09</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">30</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">0</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cbc:TaxExemptionReasonCode>VATEX-EU-F</cbc:TaxExemptionReasonCode>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1501.4</cbc:LineExtensionAmount>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1511.4</cbc:TaxExclusiveAmount>\n        <cbc:TaxInclusiveAmount currencyID=\"EUR\">1822.49</cbc:TaxInclusiveAmount>\n        <cbc:ChargeTotalAmount currencyID=\"EUR\">10</cbc:ChargeTotalAmount>\n        <cbc:PayableAmount currencyID=\"EUR\">1822.49</cbc:PayableAmount>\n    </cac:LegalMonetaryTotal>\n\n    <cac:InvoiceLine>\n        <cbc:ID>1</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">2</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">20</cbc:LineExtensionAmount>\n        <cbc:AccountingCost>Consulting Fees</cbc:AccountingCost>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>TEST 0%</cbc:Description>\n            <cbc:Name>TEST 0%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>E</cbc:ID>\n                <cbc:Percent>0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">10</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:ID>2</cbc:ID>\n        <cbc:InvoicedQuantity unitCode=\"DAY\">12</cbc:InvoicedQuantity>\n        <cbc:LineExtensionAmount currencyID=\"EUR\">1481.4</cbc:LineExtensionAmount>\n        <cac:OrderLineReference>\n            <cbc:LineID>test-ademico-001</cbc:LineID>\n        </cac:OrderLineReference>\n        <cac:Item>\n            <cbc:Description>Description 2</cbc:Description>\n            <cbc:Name>TEST 21%</cbc:Name>\n            <cac:StandardItemIdentification>\n                <cbc:ID schemeID=\"0088\">21382183120983</cbc:ID>\n            </cac:StandardItemIdentification>\n            <cac:OriginCountry>\n                <cbc:IdentificationCode>NO</cbc:IdentificationCode>\n            </cac:OriginCountry>\n            <cac:CommodityClassification>\n                <cbc:ItemClassificationCode listID=\"SRV\">09348023</cbc:ItemClassificationCode>\n            </cac:CommodityClassification>\n            <cac:ClassifiedTaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>21.0</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:ClassifiedTaxCategory>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">123.45</cbc:PriceAmount>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}},"400":{"description":"Error retrieving the Invoice/Credit Note UBL XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/{transmissionId}/facturx":{"get":{"tags":["Invoice/Credit Note"],"summary":"Get an Invoice/Credit Note in Factur-X format","description":"Get the content of a sent or received Invoice/Credit Note in Factur-X format","operationId":"getInvoiceInFacturxFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/pdf":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"Invoice/Credit Note Factur-X retrieved successfully","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Error retrieving the Invoice/Credit Note Factur-X","content":{"application/pdf":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"DOCUMENT_NOT_FOUND","message":"Could not find Invoice/Credit Note with transmission id [803828d52d4911ed85f512ef9c5638d0]"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/invoices/{transmissionId}/cii":{"get":{"tags":["Invoice/Credit Note"],"summary":"Get an Invoice/Credit Note in CII format","description":"Get the content of a sent or received Invoice/Credit Note in CII format","operationId":"getInvoiceInCIIFormat","parameters":[{"name":"transmissionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Invoice/Credit Note CII XML retrieved successfully","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rsm:CrossIndustryInvoice xmlns:rsm=\"urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100\"\n                          xmlns:ram=\"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100\"\n                          xmlns:qdt=\"urn:un:unece:uncefact:data:standard:QualifiedDataType:100\"\n                          xmlns:udt=\"urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100\">\n\n    <rsm:ExchangedDocumentContext>\n        <ram:BusinessProcessSpecifiedDocumentContextParameter>\n            <ram:ID>S1</ram:ID>\n        </ram:BusinessProcessSpecifiedDocumentContextParameter>\n        <ram:GuidelineSpecifiedDocumentContextParameter>\n            <ram:ID>urn:cen.eu:en16931:2017</ram:ID>\n        </ram:GuidelineSpecifiedDocumentContextParameter>\n    </rsm:ExchangedDocumentContext>\n\n    <rsm:ExchangedDocument>\n        <ram:ID>INV1234</ram:ID>\n        <ram:TypeCode>380</ram:TypeCode>\n        <ram:IssueDateTime>\n            <udt:DateTimeString format=\"102\">20251120</udt:DateTimeString>\n        </ram:IssueDateTime>\n        <ram:IncludedNote>\n            <ram:Content>Les frais de recouvrement sont de 40 euros.</ram:Content>\n            <ram:SubjectCode>PMT</ram:SubjectCode>\n        </ram:IncludedNote>\n        <ram:IncludedNote>\n            <ram:Content>En cas de retard de paiement, des pénalités de 3 fois le taux d'intérêt légal seront appliquées.</ram:Content>\n            <ram:SubjectCode>PMD</ram:SubjectCode>\n        </ram:IncludedNote>\n        <ram:IncludedNote>\n            <ram:Content>Aucun escompte n'est accordé pour paiement anticipé.</ram:Content>\n            <ram:SubjectCode>AAB</ram:SubjectCode>\n        </ram:IncludedNote>\n    </rsm:ExchangedDocument>\n\n    <rsm:SupplyChainTradeTransaction>\n        <ram:IncludedSupplyChainTradeLineItem>\n            <ram:AssociatedDocumentLineDocument>\n                <ram:LineID>1</ram:LineID>\n            </ram:AssociatedDocumentLineDocument>\n            <ram:SpecifiedTradeProduct>\n                <ram:Name>Produit A</ram:Name>\n            </ram:SpecifiedTradeProduct>\n            <ram:SpecifiedLineTradeAgreement>\n                <ram:NetPriceProductTradePrice>\n                    <ram:ChargeAmount>50.00</ram:ChargeAmount>\n                </ram:NetPriceProductTradePrice>\n            </ram:SpecifiedLineTradeAgreement>\n            <ram:SpecifiedLineTradeDelivery>\n                <ram:BilledQuantity unitCode=\"C62\">10</ram:BilledQuantity>\n            </ram:SpecifiedLineTradeDelivery>\n            <ram:SpecifiedLineTradeSettlement>\n                <ram:ApplicableTradeTax>\n                    <ram:TypeCode>VAT</ram:TypeCode>\n                    <ram:CategoryCode>S</ram:CategoryCode>\n                    <ram:RateApplicablePercent>20.00</ram:RateApplicablePercent>\n                </ram:ApplicableTradeTax>\n                <ram:SpecifiedTradeSettlementLineMonetarySummation>\n                    <ram:LineTotalAmount>500.00</ram:LineTotalAmount>\n                </ram:SpecifiedTradeSettlementLineMonetarySummation>\n            </ram:SpecifiedLineTradeSettlement>\n        </ram:IncludedSupplyChainTradeLineItem>\n\n        <ram:IncludedSupplyChainTradeLineItem>\n            <ram:AssociatedDocumentLineDocument>\n                <ram:LineID>2</ram:LineID>\n            </ram:AssociatedDocumentLineDocument>\n            <ram:SpecifiedTradeProduct>\n                <ram:Name>Service B</ram:Name>\n            </ram:SpecifiedTradeProduct>\n            <ram:SpecifiedLineTradeAgreement>\n                <ram:NetPriceProductTradePrice>\n                    <ram:ChargeAmount>100.00</ram:ChargeAmount>\n                </ram:NetPriceProductTradePrice>\n            </ram:SpecifiedLineTradeAgreement>\n            <ram:SpecifiedLineTradeDelivery>\n                <ram:BilledQuantity unitCode=\"C62\">5</ram:BilledQuantity>\n            </ram:SpecifiedLineTradeDelivery>\n            <ram:SpecifiedLineTradeSettlement>\n                <ram:ApplicableTradeTax>\n                    <ram:TypeCode>VAT</ram:TypeCode>\n                    <ram:CategoryCode>S</ram:CategoryCode>\n                    <ram:RateApplicablePercent>20.00</ram:RateApplicablePercent>\n                </ram:ApplicableTradeTax>\n                <ram:SpecifiedTradeSettlementLineMonetarySummation>\n                    <ram:LineTotalAmount>500.00</ram:LineTotalAmount>\n                </ram:SpecifiedTradeSettlementLineMonetarySummation>\n            </ram:SpecifiedLineTradeSettlement>\n        </ram:IncludedSupplyChainTradeLineItem>\n\n        <ram:ApplicableHeaderTradeAgreement>\n            <ram:BuyerReference>S1</ram:BuyerReference>\n            <ram:SellerTradeParty>\n                <ram:ID schemeID=\"0002\">51278912300015</ram:ID>\n                <ram:GlobalID schemeID=\"0009\">51278912300015</ram:GlobalID>\n                <ram:Name>Société Example SARL</ram:Name>\n                <ram:SpecifiedLegalOrganization>\n                    <ram:ID schemeID=\"0002\">512789123</ram:ID>\n                    <ram:TradingBusinessName>Société Example SARL</ram:TradingBusinessName>\n                </ram:SpecifiedLegalOrganization>\n                <ram:PostalTradeAddress>\n                    <ram:PostcodeCode>75001</ram:PostcodeCode>\n                    <ram:LineOne>12 rue des Lilas</ram:LineOne>\n                    <ram:CityName>Paris</ram:CityName>\n                    <ram:CountryID>FR</ram:CountryID>\n                </ram:PostalTradeAddress>\n                <ram:URIUniversalCommunication>\n                    <ram:URIID schemeID=\"9925\">0552912569</ram:URIID>\n                </ram:URIUniversalCommunication>\n                <ram:SpecifiedTaxRegistration>\n                    <ram:ID schemeID=\"VA\">FR12512789123</ram:ID>\n                </ram:SpecifiedTaxRegistration>\n            </ram:SellerTradeParty>\n            <ram:BuyerTradeParty>\n                <ram:ID schemeID=\"0002\">81234567800029</ram:ID>\n                <ram:GlobalID schemeID=\"0009\">81234567800029</ram:GlobalID>\n                <ram:Name>Client Français SA</ram:Name>\n                <ram:SpecifiedLegalOrganization>\n                    <ram:ID schemeID=\"0002\">812345678</ram:ID>\n                </ram:SpecifiedLegalOrganization>\n                <ram:PostalTradeAddress>\n                    <ram:PostcodeCode>69001</ram:PostcodeCode>\n                    <ram:LineOne>45 avenue de la République</ram:LineOne>\n                    <ram:CityName>Lyon</ram:CityName>\n                    <ram:CountryID>FR</ram:CountryID>\n                </ram:PostalTradeAddress>\n                <ram:URIUniversalCommunication>\n                    <ram:URIID schemeID=\"9957\">FR55812345678</ram:URIID>\n                </ram:URIUniversalCommunication>\n                <ram:SpecifiedTaxRegistration>\n                    <ram:ID schemeID=\"VA\">FR55812345678</ram:ID>\n                </ram:SpecifiedTaxRegistration>\n            </ram:BuyerTradeParty>\n        </ram:ApplicableHeaderTradeAgreement>\n        <ram:ApplicableHeaderTradeDelivery>\n            <ram:ActualDeliverySupplyChainEvent>\n                <ram:OccurrenceDateTime>\n                    <udt:DateTimeString format=\"102\">20251120</udt:DateTimeString>\n                </ram:OccurrenceDateTime>\n            </ram:ActualDeliverySupplyChainEvent>\n        </ram:ApplicableHeaderTradeDelivery>\n        <ram:ApplicableHeaderTradeSettlement>\n            <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>\n            <ram:SpecifiedTradeSettlementPaymentMeans>\n                <ram:TypeCode>31</ram:TypeCode>\n                <ram:PayeePartyCreditorFinancialAccount>\n                    <ram:IBANID>FR7612345678901234567890123</ram:IBANID>\n                </ram:PayeePartyCreditorFinancialAccount>\n            </ram:SpecifiedTradeSettlementPaymentMeans>\n            <ram:ApplicableTradeTax>\n                <ram:CalculatedAmount>200.00</ram:CalculatedAmount>\n                <ram:TypeCode>VAT</ram:TypeCode>\n                <ram:BasisAmount>1000.00</ram:BasisAmount>\n                <ram:CategoryCode>S</ram:CategoryCode>\n                <ram:RateApplicablePercent>20.00</ram:RateApplicablePercent>\n            </ram:ApplicableTradeTax>\n            <ram:SpecifiedTradePaymentTerms>\n                <ram:Description>Paiement à 30 jours</ram:Description>\n                <ram:DueDateDateTime>\n                    <udt:DateTimeString format=\"102\">20251220</udt:DateTimeString>\n                </ram:DueDateDateTime>\n            </ram:SpecifiedTradePaymentTerms>\n            <ram:SpecifiedTradeSettlementHeaderMonetarySummation>\n                <ram:LineTotalAmount>1000.00</ram:LineTotalAmount>\n                <ram:TaxBasisTotalAmount>1000.00</ram:TaxBasisTotalAmount>\n                <ram:TaxTotalAmount currencyID=\"EUR\">200.00</ram:TaxTotalAmount>\n                <ram:GrandTotalAmount>1200.00</ram:GrandTotalAmount>\n                <ram:DuePayableAmount>1200.00</ram:DuePayableAmount>\n            </ram:SpecifiedTradeSettlementHeaderMonetarySummation>\n        </ram:ApplicableHeaderTradeSettlement>\n    </rsm:SupplyChainTradeTransaction>\n\n</rsm:CrossIndustryInvoice>\n"}}},"400":{"description":"Error retrieving the Invoice/Credit Note CII XML ","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"401":{"description":"Authentication failure","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/documents":{"get":{"tags":["Documents"],"summary":"Search exchanged documents","description":"Search exchanged documents by type, identifier, sender, receiver, transmission details, direction, or date range.","operationId":"getDocuments","parameters":[{"name":"peppolDocumentType","in":"query","description":"The document type: Eg INVOICE, CREDIT_NOTE, ORDER","required":false,"schema":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"example":"INVOICE"},{"name":"documentId","in":"query","description":"The document id","required":false,"schema":{"type":"string"},"example":"INV-100"},{"name":"sender","in":"query","description":"The sender participant identifier","required":false,"schema":{"type":"string"},"example":"0208:0552912569"},{"name":"senderCountry","in":"query","description":"The sender party country","required":false,"schema":{"$ref":"#/components/schemas/CountryCodeEnum"},"example":"BE"},{"name":"receiver","in":"query","description":"The receiver participant identifier","required":false,"schema":{"type":"string"},"example":"0208:1999999943"},{"name":"receiverCountry","in":"query","description":"The receiver party country","required":false,"schema":{"$ref":"#/components/schemas/CountryCodeEnum"},"example":"BE"},{"name":"sbdhTransmissionId","in":"query","description":"The SBDH transmission identifier","required":false,"schema":{"type":"string"},"example":"6b56b28947e511eda0b802bb4e4747f9"},{"name":"transmissionId","in":"query","description":"The transmission identifier","required":false,"schema":{"type":"string"},"example":"803828d52d4911ed85f512ef9c5638d0"},{"name":"direction","in":"query","description":"The transmission direction","required":false,"schema":{"$ref":"#/components/schemas/TransmissionDirectionEnumRO"},"example":"SENDING"},{"name":"startDateTime","in":"query","description":"The start date time of the period to filter the documents.","required":false,"schema":{"type":"string","format":"date-time"},"example":"2023-07-25T11:03:26.688Z"},{"name":"endDateTime","in":"query","description":"The end date time of the period to filter the documents.","required":false,"schema":{"type":"string","format":"date-time"},"example":"2023-07-29T11:03:26.688Z"},{"name":"legalEntityId","in":"query","description":"The id of the legal entity to filter the documents.","required":false,"schema":{"type":"integer","format":"int64"},"example":12345},{"name":"page","in":"query","description":"The starting page number from which we want to retrieve results. The first page is 0.","required":false,"schema":{"type":"integer","format":"int32","default":0},"example":0},{"name":"pageSize","in":"query","description":"How many results we retrieve per page","required":false,"schema":{"type":"integer","format":"int32","default":10},"example":10},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Documents retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentSearchResponseRO"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"400":{"description":"Error retrieving documents","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/france/ppf/e-reporting-submissions/{submissionId}/xml":{"get":{"tags":["France PPF Submission"],"summary":"Get a France PPF e-reporting submission.","description":"Retrieves the France PPF e-reporting submission XML for the provided submission id.","operationId":"getFranceEReportingSubmission","parameters":[{"name":"submissionId","in":"path","description":"The submission id returned when the France e-reporting XML was submitted.","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"500":{"description":"The France PPF e-reporting submission XML could not be retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"400":{"description":"No France PPF e-reporting submission was found for the provided submission id in the current workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"401":{"description":"Authentication failure","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"200":{"description":"The France PPF e-reporting submission XML was retrieved successfully.","headers":{"X-C5-SUBMISSION-ID":{"description":"Identifier of the exact individual PPF submission returned.","required":true,"style":"simple","schema":{"type":"string"}},"X-C5-TRANSMISSION-DATE":{"description":"Creation timestamp of the bulk C5 transmission, when assigned.","style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-STATUS":{"description":"Status derived from the PPF acknowledgement, when received.","style":"simple","schema":{"type":"string","enum":["ACKNOWLEDGED","REJECTED"]}},"Content-Disposition":{"description":"Attachment disposition with a safe XML download filename.","required":true,"style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-DATE":{"description":"Timestamp when the PPF acknowledgement was received.","style":"simple","schema":{"type":"string"}},"X-C5-TRANSMISSION-ID":{"description":"Identifier of the bulk C5 transmission containing this submission, when assigned.","style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-ID":{"description":"Identifier of the PPF acknowledgement archive, when received.","style":"simple","schema":{"type":"string"}}},"content":{"application/xml":{"schema":{"type":"string"},"example":"<Report>\n    <ReportDocument>\n        <Id>REPORT-EXAMPLE-001</Id>\n        <Name>Example e-reporting submission</Name>\n        <IssueDateTime>\n            <DateTimeString>2026-01-15T10:30:00</DateTimeString>\n        </IssueDateTime>\n        <TypeCode>10</TypeCode>\n        <Sender>\n            <Id schemeId=\"0238\">0000</Id>\n            <Name>Example Platform</Name>\n            <RoleCode>WK</RoleCode>\n        </Sender>\n        <Issuer>\n            <Id schemeId=\"0002\">000000000</Id>\n            <Name>Example Reporting Entity</Name>\n            <RoleCode>SE</RoleCode>\n        </Issuer>\n    </ReportDocument>\n    <TransactionsReport>\n        <ReportPeriod>\n            <StartDate>2026-01-01</StartDate>\n            <EndDate>2026-01-31</EndDate>\n        </ReportPeriod>\n    </TransactionsReport>\n</Report>"}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/france/ppf/e-invoicing-submissions/{transmissionId}/xml":{"get":{"tags":["France PPF Submission"],"summary":"Get a France PPF e-invoicing submission.","description":"Retrieves the France PPF e-invoicing submission XML for the provided Peppol transmission id in your workspace, together with available transmission headers.","operationId":"getFranceEInvoicingSubmission","parameters":[{"name":"transmissionId","in":"path","description":"The Peppol transmission id of the France e-invoicing submission.","required":true,"schema":{"type":"string"}},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/xml;charset=UTF-8":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"The France PPF e-invoicing submission XML was retrieved successfully.","headers":{"X-C5-SUBMISSION-ID":{"description":"Identifier of the exact individual PPF submission returned.","required":true,"style":"simple","schema":{"type":"string"}},"X-C5-TRANSMISSION-DATE":{"description":"Creation timestamp of the bulk C5 transmission, when assigned.","style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-STATUS":{"description":"Status derived from the PPF acknowledgement, when received.","style":"simple","schema":{"type":"string","enum":["ACKNOWLEDGED","REJECTED"]}},"Content-Disposition":{"description":"Attachment disposition with a safe XML download filename.","required":true,"style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-DATE":{"description":"Timestamp when the PPF acknowledgement was received.","style":"simple","schema":{"type":"string"}},"X-C5-TRANSMISSION-ID":{"description":"Identifier of the bulk C5 transmission containing this submission, when assigned.","style":"simple","schema":{"type":"string"}},"X-C5-ACKNOWLEDGEMENT-ID":{"description":"Identifier of the PPF acknowledgement archive, when received.","style":"simple","schema":{"type":"string"}}},"content":{"application/xml":{"schema":{"type":"string"},"example":"<Invoice xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">\n    <cbc:CustomizationID>urn.cpro.gouv.fr:1p0:einvoicingextract#Full</cbc:CustomizationID>\n    <cbc:ProfileID>S1</cbc:ProfileID>\n    <cbc:ID>P_INV-2026-001</cbc:ID>\n    <cbc:IssueDate>2026-08-20</cbc:IssueDate>\n    <cbc:DueDate>2026-09-20</cbc:DueDate>\n    <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n    <cbc:Note>#PMT# Les frais de recouvrement sont de 40 euros.</cbc:Note>\n    <cbc:Note>#PMD# En cas de retard de paiement, des pénalités de 3 fois le taux d'intérêt légal seront appliquées.</cbc:Note>\n    <cbc:Note>#AAB# Aucun escompte n'est accordé pour paiement anticipé.</cbc:Note>\n    <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>\n    <cac:AccountingSupplierParty>\n        <cac:Party>\n            <cac:PostalAddress>\n                <cbc:StreetName>1 rue de l'Exemple</cbc:StreetName>\n                <cbc:CityName>Paris</cbc:CityName>\n                <cbc:PostalZone>75001</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>FR</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>FR00000000001</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:CompanyID schemeID=\"0002\">000000001</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n        </cac:Party>\n    </cac:AccountingSupplierParty>\n    <cac:AccountingCustomerParty>\n        <cac:Party>\n            <cac:PartyIdentification>\n                <cbc:ID>000000002_RECEIVER</cbc:ID>\n            </cac:PartyIdentification>\n            <cac:PostalAddress>\n                <cbc:StreetName>2 avenue de l'Exemple</cbc:StreetName>\n                <cbc:CityName>Lyon</cbc:CityName>\n                <cbc:PostalZone>69001</cbc:PostalZone>\n                <cac:Country>\n                    <cbc:IdentificationCode>FR</cbc:IdentificationCode>\n                </cac:Country>\n            </cac:PostalAddress>\n            <cac:PartyTaxScheme>\n                <cbc:CompanyID>FR00000000002</cbc:CompanyID>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:PartyTaxScheme>\n            <cac:PartyLegalEntity>\n                <cbc:CompanyID schemeID=\"0002\">000000002</cbc:CompanyID>\n            </cac:PartyLegalEntity>\n        </cac:Party>\n    </cac:AccountingCustomerParty>\n    <cac:TaxTotal>\n        <cbc:TaxAmount currencyID=\"EUR\">200</cbc:TaxAmount>\n        <cac:TaxSubtotal>\n            <cbc:TaxableAmount currencyID=\"EUR\">1000</cbc:TaxableAmount>\n            <cbc:TaxAmount currencyID=\"EUR\">200</cbc:TaxAmount>\n            <cac:TaxCategory>\n                <cbc:ID>S</cbc:ID>\n                <cbc:Percent>20</cbc:Percent>\n                <cac:TaxScheme>\n                    <cbc:ID>VAT</cbc:ID>\n                </cac:TaxScheme>\n            </cac:TaxCategory>\n        </cac:TaxSubtotal>\n    </cac:TaxTotal>\n    <cac:LegalMonetaryTotal>\n        <cbc:TaxExclusiveAmount currencyID=\"EUR\">1000</cbc:TaxExclusiveAmount>\n    </cac:LegalMonetaryTotal>\n    <cac:InvoiceLine>\n        <cbc:InvoicedQuantity unitCode=\"C62\">10</cbc:InvoicedQuantity>\n        <cac:Item>\n            <cbc:Name>Produit A</cbc:Name>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">50</cbc:PriceAmount>\n            <cac:AllowanceCharge>\n                <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n                <cbc:BaseAmount currencyID=\"EUR\">50</cbc:BaseAmount>\n            </cac:AllowanceCharge>\n        </cac:Price>\n    </cac:InvoiceLine>\n    <cac:InvoiceLine>\n        <cbc:InvoicedQuantity unitCode=\"C62\">5</cbc:InvoicedQuantity>\n        <cac:Item>\n            <cbc:Name>Service B</cbc:Name>\n        </cac:Item>\n        <cac:Price>\n            <cbc:PriceAmount currencyID=\"EUR\">100</cbc:PriceAmount>\n            <cac:AllowanceCharge>\n                <cbc:ChargeIndicator>false</cbc:ChargeIndicator>\n                <cbc:BaseAmount currencyID=\"EUR\">100</cbc:BaseAmount>\n            </cac:AllowanceCharge>\n        </cac:Price>\n    </cac:InvoiceLine>\n</Invoice>"}}},"500":{"description":"The France PPF e-invoicing submission XML could not be retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"400":{"description":"No France PPF e-invoicing submission was found for the provided transmission id in the current workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/c5/france/annuaire/peppol-identifiers":{"get":{"tags":["France Annuaire"],"summary":"Find France annuaire Peppol identifiers by SIREN or SIRET","description":"Search the France annuaire by SIREN or SIRET (exactly one must be provided) and return all annuaire registrations effective on the provided date. If the date is omitted, the current date is used. The returned Peppol identifiers are the annuaire IDENTIFIANT values prefixed with the 0225 scheme (for example 0225:996158478_99615847867544). Each record includes claimedByPa: false means that the record exists but is not routable because no real Plateforme Agréée (PA) has claimed it, while true means that a real PA is assigned. The platform identifier is not exposed. An empty list is returned when no effective registrations match.","operationId":"findPeppolIdentifiersBySirenOrSiret","parameters":[{"name":"siren","in":"query","description":"SIREN with exactly 9 digits; mutually exclusive with siret","required":false,"schema":{"type":"string"},"example":"996158478"},{"name":"siret","in":"query","description":"SIRET with exactly 14 digits; mutually exclusive with siren","required":false,"schema":{"type":"string"},"example":"99615847867544"},{"name":"effectiveDate","in":"query","description":"Optional lookup date in ISO format yyyy-MM-dd. If omitted, the current date is used.","required":false,"schema":{"type":"string","format":"date"},"example":"2026-07-08"},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Error performing the France annuaire Peppol identifiers lookup","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"}}}},"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"200":{"description":"France annuaire Peppol identifiers lookup performed successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnuaireSearchResponseRO"},"example":{"identifiers":[{"peppolIdentifier":"0225:996158478_99615847867544","siren":"996158478","siret":"99615847867544","routage":null,"suffixe":null,"claimedByPa":true,"dateDebut":"2026-07-08","dateFin":null,"dateFinEffective":null}]}}}}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}},"/api/peppol/v1/notifications/{notificationId}":{"delete":{"tags":["Notification"],"summary":"Consume a notification to remove it from the queue","description":"Once consumed, the notification will not be returned anymore when getting the notifications list","operationId":"consumeNotification","parameters":[{"name":"notificationId","in":"path","description":"The id of the notification we want to consume","required":true,"schema":{"type":"integer","format":"int64"},"example":7},{"name":"accessToken","in":"query","description":"The Ademico API access token supplied for your environment. Send this query parameter with every request, using either Basic authentication or OAuth2.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Authentication failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"SECURITY_ERROR","message":"Invalid authentication credentials"}}}},"400":{"description":"Error consuming notification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationMessage"},"example":{"code":"GENERIC_ERROR","message":"Error consuming notification"}}}},"200":{"description":"Notification consumed successfully"}},"security":[{"BasicAuth":[]},{"OAuth2":[]}]}}},"components":{"schemas":{"AuthenticationSettingsRO":{"type":"object","properties":{"type":{"type":"string","description":"Type of authentication to use for the webhook notifications URL","enum":["NONE","BASIC_AUTH","OAUTH2"]},"user":{"type":"string","description":"Username for BASIC authentication or for OAuth2 token request"},"password":{"type":"string","description":"Password for BASIC authentication or for OAuth2 token request. This field is write-only and will not be returned in responses."},"oauth2":{"$ref":"#/components/schemas/OAuth2SettingsRO"}},"description":"Authentication settings for the URL to which the webhook notifications will be sent"},"OAuth2SettingsRO":{"type":"object","properties":{"authorizationPrefix":{"type":"string","description":"The prefix to use in the Authorization header when sending the OAuth2 token. Typically 'Bearer'."},"tokenUrl":{"type":"string","description":"The URL from which to obtain the OAuth2 token"},"tokenBody":{"type":"string","description":"The body to send in the request to obtain the OAuth2 token. Use key-value pairs separated by '&', e.g. 'grant_type=password&client_id=yourClientId&username=api.user&password=yourPassword'. Each value needs to be URL-encoded, for example if you use special characters like '&', '=', '#', etc. in the password, they should be URL-encoded to '%26', '%3D', '%23', etc."},"tokenExpiresLimitMinutes":{"type":"integer","description":"The number of minutes before the token's expiry when a new token should be obtained. For example, if the token is valid for 60 minutes and this value is set to 5, a new token will be obtained after 55 minutes.","format":"int32"},"tokenHeaders":{"type":"object","additionalProperties":{"type":"string","description":"Additional headers to include in the request to obtain the OAuth2 token"},"description":"Additional headers to include in the request to obtain the OAuth2 token"}},"description":"OAuth2 specific settings. Required if authentication type is OAUTH2."},"WebhookSettingsRO":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether or not webhook notifications are active"},"bulk":{"type":"boolean","description":"Whether or not bulk webhook notifications are supported. If true, multiple events may be sent in a single webhook notification request. If false, each event will be sent in a separate webhook notification request."},"webhookUrl":{"type":"string","description":"The URL to which webhook notifications will be sent"},"authentication":{"$ref":"#/components/schemas/AuthenticationSettingsRO"},"additionalHeaders":{"type":"object","additionalProperties":{"type":"string","description":"Additional headers to include in the webhook notification requests"},"description":"Additional headers to include in the webhook notification requests"}},"description":"Webhooks settings"},"ApplicationMessage":{"type":"object","properties":{"code":{"type":"string","description":"The message code","nullable":true,"example":"GENERIC_ERROR"},"message":{"type":"string","description":"The message description","example":"Details of the occurred error"}},"description":"Contains the details of a message"},"CountryCodeEnumRO":{"type":"string","description":"The country in which the legal entity is registered","example":"BE","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","YE","YT","ZA","ZM","ZW"]},"LegalEntityContactRO":{"required":["contactType","email","name"],"type":"object","properties":{"contactType":{"type":"string","description":"The type of the contact (sales, support, etc.)","example":"public"},"name":{"type":"string","description":"The name of the contact (individual or organisational unit)","example":"Your company name"},"phoneNumber":{"type":"string","description":"The public telephone number of the contact","example":"+32 123456"},"email":{"type":"string","description":"The public email address of the contact","example":"info@example.com"}},"description":"The list of contacts"},"LegalEntityDetailsRO":{"required":["countryCode","name"],"type":"object","properties":{"publishInPeppolDirectory":{"type":"boolean","description":"True if the legal entity details are published in the <a href=\"https://directory.peppol.eu/public\" target=\"_blank\">Peppol Directory</a>","example":true},"name":{"type":"string","description":"The legal entity name","example":"Ademico Software"},"countryCode":{"$ref":"#/components/schemas/CountryCodeEnumRO"},"geographicalInformation":{"type":"string","description":"The legal entity's address","example":"204 My street, My City, My Country"},"creationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the legal entity was created in our system","readOnly":true},"registrationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the legal entity was registered in the Peppol network"},"websiteURL":{"type":"string","description":"The legal entity's website","example":"https://ademico-software.com"},"contacts":{"type":"array","description":"The list of contacts","items":{"$ref":"#/components/schemas/LegalEntityContactRO"}},"additionalInformation":{"type":"string","description":"Any additional information relevant to the legal entity"},"peppolAdditionalIdentifiers":{"type":"array","description":"The legal entity's Peppol additional identifiers","items":{"$ref":"#/components/schemas/LegalEntityIdentifierRO"}},"legalIdentifiers":{"type":"array","description":"The legal entity's legal identifiers. For France, include at least one legal identifier with scheme `0002` (SIREN), for example `0002:123456789`.","items":{"$ref":"#/components/schemas/LegalEntityIdentifierRO"}}},"description":"The details of the legal entity which is registered in the Peppol network"},"LegalEntityIdentifierRO":{"required":["identifier","scheme"],"type":"object","properties":{"scheme":{"type":"string","description":"The Participant scheme","example":"0208"},"identifier":{"type":"string","description":"The Participant unique identifier","example":"0552912569"}},"description":"The legal entity identifier is composed of the peppol registration scheme and it's unique identifier eg company registration number. You can have a look for more details in section <a href=\"#section/Glossary/Participant-scheme-and-identifier\">Participant scheme and identifier</a>"},"LegalEntityUpdateRequestRO":{"required":["legalEntityDetails"],"type":"object","properties":{"legalEntityDetails":{"$ref":"#/components/schemas/LegalEntityDetailsRO"}},"description":"The details needed to update a legal entity"},"LegalEntityPeppolRegistrationDetailsRO":{"required":["peppolIdentifier","supportedDocuments"],"type":"object","properties":{"peppolIdentifier":{"$ref":"#/components/schemas/LegalEntityIdentifierRO"},"supportedDocuments":{"type":"array","description":"The list of supported documents the legal entity can receive. You can have a look for more details in section <a href=\"#section/Supported-Peppol-documents\">Supported Peppol documents</a>. For a French sender-only 0225 registration, FR_CDAR_REGULATED is mandatory. FR_CDAR_NONREGULATED, PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0 (MLR) and PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0 (Invoice Response) are optional. No other capabilities are allowed in this profile.","items":{"$ref":"#/components/schemas/PeppolDocumentSchemeEnumRO"}},"peppolRegistration":{"type":"boolean","description":"True to publish the participant and its receiving capabilities in the Peppol network (SML/SMP). False keeps the registration local for sending documents without enabling reception through this API. The sender does not need an existing SML/SMP registration; registration managed by another provider is also supported. A non-empty supportedDocuments list is required in both cases. Setting publishInPeppolDirectory to false only hides the Directory listing; it does not disable reception. For a French sender-only participant using scheme 0225, set this flag to true and provide mandatory FR_CDAR_REGULATED. FR_CDAR_NONREGULATED, MLR and Invoice Response may also be provided, but are not added by default. Requests without FR_CDAR_REGULATED are rejected; it is not added automatically. The identifier must start with a 9-digit SIREN followed by an underscore and non-empty text. See <a href=\"#section/Country-Specifics/Getting-started-with-Peppol-in-France/Register-a-France-0225-identifier-for-sending-only\">Register a France 0225 identifier for sending only</a>.","example":true}},"description":"The details of the Peppol registration: legal entity scheme, unique identifier and supported Peppol documents. A French sender-only registration uses scheme 0225 and an identifier composed of a 9-digit SIREN, an underscore and a non-empty suffix, for example 123456789_SENDER."},"LegalEntityPeppolRegistrationUpdateRequestRO":{"required":["peppolRegistrationDetails"],"type":"object","properties":{"peppolRegistrationDetails":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationDetailsRO"}},"description":"The Peppol registration update details"},"PeppolDocumentSchemeEnumRO":{"type":"string","description":"The supported documents the participant can receive.","enum":["PEPPOL_BIS_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_BILLING_UBL_CREDIT_NOTE_V3","PEPPOL_BIS_SELF_BILLING_UBL_INVOICE_V3","PEPPOL_BIS_SELF_BILLING_UBL_CREDIT_NOTE_V3","XRECHNUNG_UBL_INVOICE_V3_0","XRECHNUNG_UBL_CREDIT_NOTE_V3_0","AU_NZ_UBL_INVOICE_V3","AU_NZ_UBL_CREDIT_NOTE_V3","A_NZ_PINT_INVOICE_V1_0","A_NZ_PINT_CREDIT_NOTE_V1_0","A_NZ_PINT_INVOICE_V1_0_WILDCARD","A_NZ_PINT_CREDIT_NOTE_V1_0_WILDCARD","SG_PEPPOL_BIS_BILLING_3_0_INVOICE","SG_PEPPOL_BIS_BILLING_3_0_CREDIT_NOTE","SG_PINT_INVOICE_V1_0","SG_PINT_CREDIT_NOTE_V1_0","PEPPOL_SG_ORDER_BALANCE","MY_PINT_INVOICE_V1_0","MY_PINT_INVOICE_V1_0_WILDCARD","MY_PINT_SELF_BILLING_INVOICE_V1_0","MY_PINT_SELF_BILLING_INVOICE_V1_0_WILDCARD","MY_PINT_CREDIT_NOTE_V1_0","MY_PINT_CREDIT_NOTE_V1_0_WILDCARD","MY_PINT_SELF_BILLING_CREDIT_NOTE_V1_0","MY_PINT_SELF_BILLING_CREDIT_NOTE_V1_0_WILDCARD","SI_UBL_2_0_INVOICE","SI_UBL_2_0_CREDITNOTE","UBL_BE_INVOICE_3_0","UBL_BE_CREDIT_NOTE_3_0","PEPPOL_ORDER_TRANSACTION_3_0_ORDER_ONLY","PEPPOL_ORDER_TRANSACTION_3_0_ADVANCED","PEPPOL_ORDER_CHANGE","PEPPOL_ORDER_CANCELLATION","PEPPOL_ORDER_RESPONSE_ADVANCED","PEPPOL_MESSAGE_LEVEL_RESPONSE_TRANSACTION_3_0","PEPPOL_INVOICE_RESPONSE_TRANSACTION_3_0","JP_PINT_INVOICE_V1_0","JP_PINT_INVOICE_V1_0_WILDCARD","PEPPOL_PINT_INVOICE_1_0","PEPPOL_PINT_CREDIT_NOTE_V1_0","FR_CII_INVOICE_CIUS_REGULATED","FR_CII_INVOICE_CIUS_NONREGULATED","FR_CII_INVOICE_EXTENSION_REGULATED","FR_CII_INVOICE_EXTENSION_NONREGULATED","FR_UBL_INVOICE_CIUS_REGULATED","FR_UBL_INVOICE_CIUS_NONREGULATED","FR_UBL_INVOICE_EXTENSION_REGULATED","FR_UBL_INVOICE_EXTENSION_NONREGULATED","FR_UBL_CREDIT_NOTE_CIUS_REGULATED","FR_UBL_CREDIT_NOTE_CIUS_NONREGULATED","FR_UBL_CREDIT_NOTE_EXTENSION_REGULATED","FR_UBL_CREDIT_NOTE_EXTENSION_NONREGULATED","FR_CDAR_REGULATED","FR_CDAR_NONREGULATED","FR_FACTUR_X_REGULATED","FR_FACTUR_X_NONREGULATED"]},"LegalEntityKycSignRequestRO":{"required":["pdfDocumentBase64"],"type":"object","properties":{"pdfDocumentBase64":{"type":"string","description":"The PDF authorisation document"}},"description":"The PDF authorisation request"},"FileSubmissionResultError":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/ApplicationMessage"},"validationReport":{"$ref":"#/components/schemas/PeppolValidationReportRO"}}},"PeppolValidationReportRO":{"type":"object","properties":{"globalStatus":{"$ref":"#/components/schemas/ValidationReportStatus"},"validatedXmlName":{"type":"string"},"xmlValidationReport":{"$ref":"#/components/schemas/XmlValidationReportRO"},"xsdValidationReport":{"$ref":"#/components/schemas/XsdValidationReportRO"},"schematronValidationReport":{"type":"array","items":{"$ref":"#/components/schemas/SchematronValidationReportRO"}},"warningsCount":{"type":"integer","format":"int32"},"errorsCount":{"type":"integer","format":"int32"},"xmlContent":{"type":"string"}}},"SchematronValidationMessageRO":{"type":"object","properties":{"errorLevel":{"$ref":"#/components/schemas/ValidationErrorLevel"},"description":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"columnNumber":{"type":"integer","format":"int32"},"schematronTest":{"type":"string"},"errorId":{"type":"string"},"xpath":{"type":"string"},"xpathWithoutNamespaces":{"type":"string"}}},"SchematronValidationReportRO":{"type":"object","properties":{"validatedWith":{"type":"string"},"reportStatus":{"$ref":"#/components/schemas/ValidationReportStatus"},"warningsCount":{"type":"integer","format":"int32"},"errorsCount":{"type":"integer","format":"int32"},"schematronValidationMessages":{"type":"array","items":{"$ref":"#/components/schemas/SchematronValidationMessageRO"}},"validationType":{"$ref":"#/components/schemas/ValidationType"}}},"ValidationErrorLevel":{"type":"string","enum":["INFO","WARNING","ERROR"]},"ValidationReportStatus":{"type":"string","enum":["SUCCESS","WARNING","ERROR"]},"ValidationType":{"type":"string","enum":["XML_SYNTAX","XSD_SCHEMA","SCHEMATRON"]},"XmlValidationMessageRO":{"type":"object","properties":{"errorLevel":{"$ref":"#/components/schemas/ValidationErrorLevel"},"description":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"columnNumber":{"type":"integer","format":"int32"}}},"XmlValidationReportRO":{"type":"object","properties":{"validatedWith":{"type":"string"},"reportStatus":{"$ref":"#/components/schemas/ValidationReportStatus"},"warningsCount":{"type":"integer","format":"int32"},"errorsCount":{"type":"integer","format":"int32"},"xmlValidationMessages":{"type":"array","items":{"$ref":"#/components/schemas/XmlValidationMessageRO"}},"validationType":{"$ref":"#/components/schemas/ValidationType"}}},"XsdValidationMessageRO":{"type":"object","properties":{"errorLevel":{"$ref":"#/components/schemas/ValidationErrorLevel"},"description":{"type":"string"},"lineNumber":{"type":"integer","format":"int32"},"columnNumber":{"type":"integer","format":"int32"}}},"XsdValidationReportRO":{"type":"object","properties":{"validatedWith":{"type":"string"},"reportStatus":{"$ref":"#/components/schemas/ValidationReportStatus"},"warningsCount":{"type":"integer","format":"int32"},"errorsCount":{"type":"integer","format":"int32"},"xsdValidationMessages":{"type":"array","items":{"$ref":"#/components/schemas/XsdValidationMessageRO"}},"validationType":{"$ref":"#/components/schemas/ValidationType"}}},"C5DocumentSubmissionResultRO":{"type":"object","properties":{"status":{"type":"string","enum":["NOT_SENDING","SCHEDULED","SUBMITTED","ERROR","ACKNOWLEDGED","REJECTED"]},"details":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The C5 submission result if C5 is activated","example":{"status":"SCHEDULED","details":[]}},"DocumentSubmissionResultRO":{"type":"object","properties":{"transmissionId":{"type":"string","description":"Document transmission id","example":"803828d52d4911ed85f512ef9c5638d0"},"documentId":{"type":"string","description":"The document id","example":"pbe000512-1"},"documentTypeEnum":{"$ref":"#/components/schemas/PeppolDocumentTypeEnum"},"sender":{"type":"string","description":"The sender of the document eg the Seller","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document eg the Buyer","example":"0208:1999999943"},"sbdhInstanceIdentifier":{"type":"string","description":"The SBDH instance identifier used when sending the document","example":"6b56b28947e511eda0b802bb4e4747f9"},"c5SubmissionResult":{"$ref":"#/components/schemas/C5DocumentSubmissionResultRO"}},"description":"Contains the transmission details(eg transmissionId) that can be used later on to identify the document transmission"},"PeppolDocumentTypeEnum":{"type":"string","description":"The type of the document reported to C5","example":"INVOICE","enum":["INVOICE","CREDIT_NOTE","CII_INVOICE","FACTURX","ORDER","ORDER_ADVANCED","ORDER_CHANGE","ORDER_CANCELLATION","ORDER_RESPONSE_ADVANCED","SG_ORDER_BALANCE","APPLICATION_RESPONSE","CDAR_RESPONSE","E_REPORTING"]},"LegalEntityCreateRequestRO":{"required":["legalEntityDetails"],"type":"object","properties":{"legalEntityDetails":{"$ref":"#/components/schemas/LegalEntityDetailsRO"},"peppolRegistrations":{"type":"array","description":"The details of the legal entity registration in the Peppol network","items":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationDetailsRO"}}},"description":"The request to create a legal entity and optionally register it in the Peppol network"},"LegalEntityCreateResponseRO":{"type":"object","properties":{"legalEntityId":{"type":"integer","description":"The legal entity id which was created","format":"int64"}},"description":"The response details following the creation of a legal entity"},"LegalEntityPeppolRegistrationCreateRequestRO":{"required":["peppolRegistrationDetails"],"type":"object","properties":{"peppolRegistrationDetails":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationDetailsRO"}},"description":"The details needed to register a legal entity in the Peppol network"},"LegalEntityPeppolRegistrationCreateResponseRO":{"type":"object","properties":{"peppolRegistrationId":{"type":"integer","description":"The registration id of a legal entity Peppol identifier which was created","format":"int64"}},"description":"The response details following the registration of a Peppol identifier for a legal entity"},"LegalEntityKycCorpassInitiateRequestRO":{"required":["signerEmail","signerName"],"type":"object","properties":{"signerName":{"type":"string","description":"The name of the person who will sign the Peppol registration via Corppass","example":"John Doe"},"signerEmail":{"type":"string","description":"The email address of the person who will sign the Peppol registration via Corppass","example":"john.doe@example.com"}},"description":"The request used to initiate the KYC process"},"LegalEntityKycCorpassInitiateResponseRO":{"type":"object","properties":{"signingLink":{"type":"string","description":"The Corppass signing URL returned for pending KYC","example":"https://example.com/kyc"}},"description":"The response details following the initiation of Corppass KYC"},"LegalEntityC5CorpassDeactivateRequestRO":{"required":["signerEmail","signerName"],"type":"object","properties":{"signerName":{"type":"string","description":"The name of the person who will sign the C5 deactivation via Corppass","example":"John Doe"},"signerEmail":{"type":"string","description":"The email address of the person who will sign the C5 deactivation via Corppass","example":"john.doe@example.com"}},"description":"The request used to initiate the C5 deactivation"},"LegalEntityC5CorpassActivateRequestRO":{"required":["signerEmail","signerName"],"type":"object","properties":{"signerName":{"type":"string","description":"The name of the person who will sign the C5 activation via Corppass","example":"John Doe"},"signerEmail":{"type":"string","description":"The email address of the person who will sign the C5 activation via Corppass","example":"john.doe@example.com"}},"description":"The request used to initiate the C5 activation"},"LegalEntityC5CorpassActivateResponseRO":{"type":"object","properties":{"signingLink":{"type":"string","description":"The Corppass signing URL returned for pending C5 activation","example":"https://example.com/c5-activation"}},"description":"The response details following the initiation of Corppass C5 activation"},"CdarAmountRO":{"required":["amount","currencyCode","type","vatRate"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/CdarAmountTypeEnumRO"},"amount":{"type":"number","description":"The monetary amount","example":600.0},"currencyCode":{"type":"string","description":"The ISO 4217 currency code","example":"EUR"},"vatRate":{"type":"number","description":"The applicable VAT rate","example":20.0}},"description":"An amount reported in a detailed CDAR document status"},"CdarAmountTypeEnumRO":{"type":"string","description":"French PPF amount type reported in a CDAR document status","example":"MEN","enum":["RAP","ESC","RAB","REM","MPA","MEN"]},"CdarAttachmentRO":{"required":["content"],"type":"object","properties":{"content":{"type":"string","description":"The attachment content encoded as Base64 in the JSON request","format":"byte","example":"SlZCRVJpMHhMalFLLi4u"},"filename":{"type":"string","description":"The attachment filename","example":"supporting-document.pdf"},"mimeCode":{"type":"string","description":"The MIME type of the attachment","example":"application/pdf"},"format":{"type":"string","description":"The attachment format","example":"PDF"}},"description":"A binary attachment associated with the document referenced by the CDAR"},"CdarDetailedStatusRO":{"type":"object","properties":{"reasonCode":{"type":"string","description":"The applicable French status motif code from XP Z12-012 Annexe A","example":"TX_TVA_ERR"},"reasonText":{"type":"string","description":"The human-readable status motif","example":"Taux de TVA erroné"},"requestedActionCode":{"type":"string","description":"The requested-action code from the French CDAR code list","example":"NIN"},"requestedAction":{"type":"string","description":"The human-readable action requested from the counterparty","example":"Créer une Facture Rectificative"},"sequenceNumber":{"minimum":1,"type":"integer","description":"The incremental sequence number of this detailed status. When omitted, a stable value is allocated automatically","format":"int32","example":1},"notes":{"type":"array","description":"The notes attached to this detailed status. Optional.","items":{"$ref":"#/components/schemas/CdarNoteRO"}},"amounts":{"type":"array","description":"The amounts reported for this detailed status, such as MEN or RAP. Optional.","items":{"$ref":"#/components/schemas/CdarAmountRO"}},"documentCharacteristics":{"type":"array","description":"Structured characteristics of the referenced document, such as paired DIV/DVA invalid and expected values. Optional.","items":{"$ref":"#/components/schemas/CdarDocumentCharacteristicRO"}}},"description":"A detailed document status block inside a referenced CDAR document"},"CdarDocumentCharacteristicRO":{"type":"object","properties":{"id":{"type":"string","description":"The identifier of the affected document data or EN 16931 business term","example":"BT-152"},"typeCode":{"type":"string","description":"The French CDAR characteristic type code. DIV identifies an invalid value and DVA its expected valid value","example":"DIV"},"valueChanged":{"type":"boolean","description":"Whether the reported value is intended to replace the current document value","example":true},"name":{"type":"string","description":"The human-readable name of the affected data","example":"Taux TVA"},"location":{"type":"string","description":"The XPath locating the affected data in the referenced XML document","example":"/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent"},"valuePercent":{"type":"number","description":"The percentage value reported by this characteristic","example":10.0}},"description":"A structured characteristic of the referenced document, such as an invalid value or its expected replacement"},"CdarNoteRO":{"type":"object","properties":{"contentCode":{"type":"string","description":"The management-rule code that caused the reported error, when applicable","example":"G1.24"},"content":{"type":"string","description":"The human-readable note content","example":"We have refused the invoice because the VAT reference is missing. Please provide the VAT reference in order to get the invoice approved."},"subjectCode":{"type":"string","description":"The file, line, or XML element associated with the note. This maps to IncludedNote/SubjectCode and is not a substitute for SpecifiedDocumentCharacteristic/ID","example":"ram:RateApplicablePercent"}},"description":"A note attached either to the CDAR exchanged document or to a specified document status"},"CdarPartyRO":{"type":"object","properties":{"globalId":{"type":"string","description":"The global identifier of the party","example":"0225:123456789_12345678911111"},"legalId":{"type":"string","description":"The legal identifier of the party","example":"0002:123456789"},"name":{"type":"string","description":"The display name of the party","example":"Company ABC"}},"description":"A trade party used in the CDAR exchanged document or referenced document"},"CdarRO":{"required":["referencedDocument"],"type":"object","properties":{"id":{"type":"string","description":"The CDAR document identifier. Optional (it will be autogenerated if not provided)","example":"INV123-210"},"issuer":{"$ref":"#/components/schemas/CdarPartyRO"},"recipient":{"$ref":"#/components/schemas/CdarPartyRO"},"referencedDocument":{"$ref":"#/components/schemas/CdarReferencedDocumentRO"},"notes":{"type":"array","items":{"$ref":"#/components/schemas/CdarNoteRO"}}},"description":"Structured payload used to build a CrossDomainAcknowledgementAndResponse (CDAR) document"},"CdarReferencedDocumentRO":{"type":"object","properties":{"id":{"type":"string","description":"The identifier of the referenced document","example":"INV123"},"typeCode":{"type":"string","description":"The type code of the referenced document","example":"380"},"issueDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$","type":"string","description":"The local date of the referenced document. Offset-less values are interpreted deterministically without using the server timezone","example":"2025-11-20T00:00:00"},"receiptDateTime":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$","type":"string","description":"The local date and time when the referenced document was received. Offset-less values are interpreted deterministically without using the server timezone","example":"2025-07-01T16:10:00"},"status":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"issuer":{"$ref":"#/components/schemas/CdarPartyRO"},"attachments":{"type":"array","description":"Optional binary attachments associated with the referenced document.\n\nConcrete cases in the current normative XP Z12-014 Annex A v1.4 include:\n\n- **Subcontracting with direct payment:** a CDAR with status **224 - Demande de Paiement Direct** attaches invoice F1 using MDT-96. It is mandatory where the B2B transaction falls under the French public-procurement rules.\n- **Factoring:** CDAR statuses 225/226/228 may be sent to the factor with the invoice attached in base64.\n- **Third-party payer or media-agent workflows:** the invoice can be attached when the CDAR is used to pass it to a party that does not already possess it.","items":{"$ref":"#/components/schemas/CdarAttachmentRO"}},"detailedStatuses":{"type":"array","description":"Detailed specified document statuses, typically used for rejection details","items":{"$ref":"#/components/schemas/CdarDetailedStatusRO"}}},"description":"The document referenced by the CDAR (eg the original invoice/credit note that is being refused, accepted, or otherwise responded to)"},"DocumentStatusEnumRO":{"type":"string","description":"The current document status","example":"SENT","enum":["QUEUED","SENT","SEND_FAILED","TECHNICAL_ACCEPTANCE","BUYER_ACKNOWLEDGE","IN_PROCESS","UNDER_QUERY","CONDITIONALLY_ACCEPTED","REJECTED","ACCEPTED","PARTIALLY_PAID","FULLY_PAID","FR_DEPOSITED","FR_ISSUED","FR_RECEIVED","FR_MADE_AVAILABLE","FR_TAKEN_CARE_OF","FR_APPROVED","FR_PARTIALLY_APPROVED","FR_IN_DISPUTE","FR_SUSPENDED","FR_COMPLETED","FR_REFUSED","FR_PAID","FR_COLLECTED","FR_REJECTED","FR_FLUX_RECEIVABLE","FR_FLUX_IRRECEIVABLE","FR_FLUX_DEPOSITED","FR_FLUX_REJECTED"]},"ClarificationCodeEnum":{"type":"string","description":"Clarification code","example":"LEG","enum":["NON","REF","LEG","REC","QUA","DEL","PRI","QTY","ITM","PAY","UNR","FIN","PPD","NOA","PIN","NIN","CNF","CNP","CNA","OTH"]},"ClarificationTypeEnum":{"type":"string","description":"Clarification type","example":"OPStatusReason","enum":["OPStatusReason","OPStatusAction"]},"InvoiceClarificationRO":{"required":["clarificationCode","clarificationType"],"type":"object","properties":{"clarificationType":{"$ref":"#/components/schemas/ClarificationTypeEnum"},"clarificationCode":{"$ref":"#/components/schemas/ClarificationCodeEnum"},"clarification":{"type":"string","description":"Clarification description","example":"VAT Reference not found"}},"description":"Clarification to state the Buyer's reason for the status and/or any expected action from the Seller's side"},"InvoiceResponseCodeEnumRO":{"type":"string","description":"The Invoice Response status code","example":"RE","enum":["AB","IP","UQ","CA","RE","AP","PD"]},"InvoiceResponseRO":{"required":["invoiceTransmissionId","responseCode"],"type":"object","properties":{"invoiceResponseId":{"type":"string","description":"Identifier of the Invoice Response. If not provided, it will be auto-generated","example":"d4b52c6f1f0b11f1b23f0c3799f7d36b"},"invoiceTransmissionId":{"type":"string","description":"Invoice/Credit Note transmission id","example":"803828d52d4911ed85f512ef9c5638d0"},"responseCode":{"$ref":"#/components/schemas/InvoiceResponseCodeEnumRO"},"note":{"type":"string","description":"A note providing more details for the Invoice Response","nullable":true,"example":"The invoice has been rejected"},"effectiveDate":{"type":"string","description":"The date when the status became effective.","format":"date"},"invoiceClarifications":{"type":"array","description":"A list of clarifications to state the Buyer's reason for the status and/or any expected action from the Seller's side","items":{"$ref":"#/components/schemas/InvoiceClarificationRO"}}},"description":"Contains the Invoice Response details"},"FranceFacturXPartyRO":{"required":["peppolIdentifier","siren"],"type":"object","properties":{"peppolIdentifier":{"type":"string","description":"French Peppol participant identifier used for routing, including the 0225 scheme","example":"0225:055291256"},"siren":{"type":"string","description":"French legal entity identifier (SIREN), containing exactly 9 digits","example":"055291256"},"vatIdentifier":{"type":"string","description":"Optional French VAT identifier. A deterministic dummy value from the template is used when omitted.","example":"FR40055291256"}},"description":"Buyer identifiers inserted into the built-in CII template"},"FranceFacturXTemplateGenerationRequestRO":{"required":["buyer","seller"],"type":"object","properties":{"seller":{"$ref":"#/components/schemas/FranceFacturXPartyRO"},"buyer":{"$ref":"#/components/schemas/FranceFacturXPartyRO"},"language":{"type":"string","description":"Language of the human-readable invoice in the generated PDF. Defaults to French when omitted","default":"FR","enum":["FR","EN"]}}},"FranceFacturXGenerationFilesRO":{"required":["cii"],"type":"object","properties":{"cii":{"type":"string","description":"Factur-X EN16931 CII XML document","format":"binary"},"pdf":{"type":"string","description":"Optional human-readable source document in PDF/A-1 or PDF/A-3 format. When omitted, it is generated from the CII","format":"binary"}}},"IrasSubmissionResultRO":{"type":"object","properties":{"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"acknowledgementId":{"type":"string","description":"Acknowledgement id received from IRAS","example":"803828d52d4911ed85f512ef9c5638d0"},"documentId":{"type":"string","description":"The document id","example":"pbe000512-1"},"documentTypeEnum":{"$ref":"#/components/schemas/PeppolDocumentTypeEnum"},"sender":{"type":"string","description":"The sender of the document eg the Seller","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document eg the Buyer","example":"0208:1999999943"},"irasReporter":{"type":"string","description":"The identifier of the participant who reports to IRAS","example":"0208:1999999943"}}},"C5SubmissionResultRO":{"type":"object","properties":{"submissionId":{"type":"string","description":"Unique identifier of this submission","example":"FFE1025A_PPF230_PPF2301025177711742550002"},"c5TransmissionId":{"type":"string","description":"Unique identifier of the transmission to C5 for this submission","example":"FFE1025A_PPF230_PPF2301025177711742570001"},"documentId":{"type":"string","description":"The identifier of the submitted document","example":"pbe000512-1"},"reporter":{"type":"string","description":"The reporter of this submission eg the Seller","example":"0002:123456789"},"receiver":{"type":"string","description":"The receiver of this submission (C5)","example":"PPF","enum":["IRAS","PPF"]},"status":{"type":"string","description":"The C5 submission status","example":"SUBMITTED","enum":["NOT_SENDING","SCHEDULED","SUBMITTED","ERROR","ACKNOWLEDGED","REJECTED"]}},"description":"Contains the submission details(eg submissionId) that can be used later on to identify the C5 submission and to check its status"},"DocumentCountRO":{"type":"object","properties":{"documentCount":{"type":"integer","format":"int64"}}},"EventTypeRO":{"type":"string","description":"The event type","example":"DOCUMENT_SENT","enum":["DOCUMENT_SENT","DOCUMENT_SEND_FAILED","MLR_RECEIVED","INVOICE_RESPONSE_RECEIVED","CDAR_RECEIVED","DOCUMENT_RECEIVED","DOCUMENT_RECEIVE_FAILED","INVOICE_RESPONSE_SENT","INVOICE_RESPONSE_SEND_FAILED","CDAR_SENT","CDAR_SEND_FAILED","LEGAL_ENTITY_KYC_CORPPASS_ACTIVATED","LEGAL_ENTITY_KYC_CORPPASS_ACTIVATION_ERROR","LEGAL_ENTITY_C5_ACTIVATED","LEGAL_ENTITY_C5_ACTIVATION_ERROR","LEGAL_ENTITY_C5_DEACTIVATED","LEGAL_ENTITY_C5_DEACTIVATION_ERROR","IRAS_DOCUMENT_SENT","IRAS_DOCUMENT_SEND_FAILED","C5_DOCUMENT_ENQUEUED","C5_DOCUMENT_SUBMITTED","C5_DOCUMENT_SUBMISSION_FAILED","C5_DOCUMENT_ACKNOWLEDGED","C5_DOCUMENT_NOT_ACKNOWLEDGED","C5_DOCUMENT_PROCESSED","C5_DOCUMENT_PROCESSING_FAILED"]},"PeppolDocumentTypeRO":{"type":"string","description":"The document type: Eg INVOICE, CREDIT_NOTE, ORDER","example":"INVOICE","enum":["INVOICE","CREDIT_NOTE","CII_INVOICE","ORDER","ORDER_ADVANCED","SG_ORDER_BALANCE","ORDER_CHANGE","ORDER_CANCELLATION","ORDER_RESPONSE_ADVANCED","FACTURX_BASIC_WL","FACTURX_EN16931","FACTURX_EXTENDED","CDAR_RESPONSE"]},"C5ReceivingNotificationRO":{"required":["eventType","notificationDate","notificationId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The Peppol transmission identifier of the related document, when available. It is absent for standalone submissions such as France e-reporting","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"submissionId":{"type":"string","description":"C5 submission identifier. This identifies the individual file submitted to C5","example":"FFE1025A_PPF230_PPF2301025177711742550002"},"c5TransmissionId":{"type":"string","description":"C5 transmission identifier. This identifies the bundle sent to C5","example":"FFE1025A_PPF230_PPF2301025177738641389659"},"acknowledgementId":{"type":"string","description":"Identifier of the incoming C5 acknowledgement or business-response that produced this notification","example":"CFE1025A_PPF230_PPF2301025177738641389659"},"acknowledgementDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"Date reported in the acknowledgement or business response received from C5","example":"2023-07-25T11:03:26.688"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The internal id of the document reported to C5","example":"INV123"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeEnum"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"documentStatusDetails":{"type":"array","description":"Structured details returned by C5 for the document status","items":{"$ref":"#/components/schemas/DocumentStatusDetailRO"}},"sender":{"type":"string","description":"The sender of the document eg the Seller","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document eg the Buyer","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"success":{"type":"boolean","description":"Whether the C5 lifecycle stage represented by eventType succeeded","example":true}},"description":"The details of the notification received from C5"},"C5SendingNotificationRO":{"required":["eventType","notificationDate","notificationId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The Peppol transmission identifier of the related document, when available. It is absent for standalone submissions such as France e-reporting","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The internal id of the document reported to C5","example":"INV123"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeEnum"},"sender":{"type":"string","description":"The sender of the document eg the Seller","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document eg the Buyer","example":"0208:1999999943"},"success":{"type":"boolean","description":"Whether the C5 lifecycle stage represented by eventType succeeded","example":true},"submissionId":{"type":"string","description":"C5 submission identifier. This identifies the individual file submitted to C5","example":"FFE1025A_PPF230_PPF2301025177711742550002"},"c5TransmissionId":{"type":"string","description":"C5 transmission identifier. This identifies the outbound bundle sent to C5 and can be absent while the entry is only enqueued","example":"FFE1025A_PPF230_PPF2301025177738641389659"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the C5 notification"},"CDARReceivingNotificationRO":{"required":["currentDocument","documentStatus","eventType","notificationDate","notificationId","receiver","referencedDocument","sender"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Invoice/Credit Note","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Invoice/Credit Note","example":"0208:1999999943"},"currentDocument":{"$ref":"#/components/schemas/DocumentIdentificationDetailsRO"},"referencedDocument":{"$ref":"#/components/schemas/DocumentIdentificationDetailsRO"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"detailedStatuses":{"type":"array","description":"Detailed status and notes, if available. Typically used for rejection details","items":{"$ref":"#/components/schemas/CdarDetailedStatusRO"}},"notes":{"type":"array","description":"Notes attached to the exchanged CDAR document, if available","items":{"$ref":"#/components/schemas/CdarNoteRO"}}},"description":"The details of the CDAR receiving notification"},"CDARSendingNotificationRO":{"required":["currentDocument","documentStatus","eventType","notificationDate","notificationId","receiver","referencedDocument","sender"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the CDAR","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the CDAR","example":"0208:1999999943"},"currentDocument":{"$ref":"#/components/schemas/DocumentIdentificationDetailsRO"},"referencedDocument":{"$ref":"#/components/schemas/DocumentIdentificationDetailsRO"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"detailedStatuses":{"type":"array","description":"Detailed status and notes, if available. Typically used for rejection details","items":{"$ref":"#/components/schemas/CdarDetailedStatusRO"}},"notes":{"type":"array","description":"Notes attached to the exchanged CDAR document, if available","items":{"$ref":"#/components/schemas/CdarNoteRO"}}},"description":"The details of the CDAR sending notification"},"DocumentIdentificationDetailsRO":{"required":["documentId","peppolDocumentType","transmissionId"],"type":"object","properties":{"documentId":{"type":"string","description":"The identifier of the document itself","example":"INV1234"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"}},"description":"The identification details of a document exchanged in a transmission"},"DocumentReceivingFailedNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","peppolDocumentType","receivedDate","receiver","sender"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note, if available","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the document","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the document failed to be received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the document receive failure notification"},"DocumentStatusDetailRO":{"type":"object","properties":{"reasonCode":{"type":"string","description":"Status reason code returned by C5","example":"REJ_SEMAN"},"reasonText":{"type":"string","description":"Status reason text returned by C5","example":"Analyse du format sémantique"},"sequenceNumber":{"type":"integer","description":"Sequence number for the document status detail","format":"int32","example":2},"notes":{"type":"array","description":"Notes returned by C5 for this document status detail","items":{"$ref":"#/components/schemas/DocumentStatusNoteRO"}}},"description":"Structured detail returned by C5 for a document status"},"DocumentStatusNoteRO":{"type":"object","properties":{"contentCode":{"type":"string","description":"Content code returned by C5","example":"G1.05"},"contentText":{"type":"string","description":"Content text returned by C5","example":"L'identifiant de la facture TT-19 ne respecte pas le format attendu."},"subjectCode":{"type":"string","description":"Subject code returned by C5","example":"/Report/TransactionsReport/Invoice[2]/ID"}},"description":"Note returned by C5 within a document status detail"},"InvoiceReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the Invoice/Credit Note","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Invoice/Credit Note","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Invoice/Credit Note was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Invoice/Credit Note receiving notification"},"InvoiceResponseReceivingNotificationRO":{"required":["documentId","documentStatus","eventType","invoiceResponse","notificationDate","notificationId","peppolDocumentType","receiver","sbdhInstanceIdentifier","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Invoice/Credit Note","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Invoice/Credit Note","example":"0208:1999999943"},"invoiceResponse":{"$ref":"#/components/schemas/InvoiceResponseRO"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"sbdhInstanceIdentifier":{"type":"string","description":"The SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"}},"description":"The details of the Invoice Response receiving notification"},"InvoiceResponseSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","receiver","sbdhInstanceIdentifier","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note for which we have sent an Invoice Response","example":"pbe000512-1"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Invoice Response","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Invoice Response","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"sbdhInstanceIdentifier":{"type":"string","description":"The SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"}},"description":"The details of the Invoice Response sending notification"},"InvoiceSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Invoice/Credit Note","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Invoice/Credit Note","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Invoice/Credit Note sending notification"},"IrasSendingNotificationRO":{"required":["eventType","notificationDate","notificationId","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier of the Invoice/Credit Note","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeEnum"},"sender":{"type":"string","description":"The sender of the document eg the Seller","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the document eg the Buyer","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}},"success":{"type":"boolean","description":"The status of the success","example":true},"acknowledgementId":{"type":"string","description":"Acknowledgement id received from IRAS","example":"803828d52d4911ed85f512ef9c5638d0"}},"description":"The details of the Invoice/Credit Note IRAS sending notification"},"LegalEntityCorppassC5NotificationRO":{"required":["eventType","initiatedDate","legalEntityId","legalEntityRegistrationId","notificationDate","notificationId","signerEmail","signerName"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"legalEntityId":{"type":"integer","description":"The legal entity id for which the Corppass C5 was performed","format":"int64","example":7},"legalEntityRegistrationId":{"type":"integer","description":"The legal entity Peppol registration id for which the Corppass C5 was performed","format":"int64","example":9},"signerName":{"type":"string","description":"The name of the person who signs the Peppol registration C5 in Corppass","example":"John Doe"},"signerEmail":{"type":"string","description":"The email address of the person who signs the Peppol registration C5 in Corppass","example":"john.doe@example.com"},"initiatedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation was initiated","example":"2023-07-25T11:03:26.688"},"activationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation was completed","example":"2023-07-25T11:03:26.688"},"activationErrorDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation failed","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Corppass C5 notification"},"LegalEntityCorppassKycNotificationRO":{"required":["eventType","initiatedDate","legalEntityId","legalEntityRegistrationId","notificationDate","notificationId","signerEmail","signerName"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"legalEntityId":{"type":"integer","description":"The legal entity id for which the Corppass KYC was performed","format":"int64","example":7},"legalEntityRegistrationId":{"type":"integer","description":"The legal entity Peppol registration id for which the Corppass KYC was performed","format":"int64","example":9},"signerName":{"type":"string","description":"The name of the person who signs the Peppol registration KYC in Corppass","example":"John Doe"},"signerEmail":{"type":"string","description":"The email address of the person who signs the Peppol registration KYC in Corppass","example":"john.doe@example.com"},"initiatedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation was initiated","example":"2023-07-25T11:03:26.688"},"activationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation was completed","example":"2023-07-25T11:03:26.688"},"activationErrorDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Corppass activation failed","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Corpass KYC notification"},"MLRReceivingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Invoice/Credit Note","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"},"sender":{"type":"string","description":"The sender of the MLR","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the MLR","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the MLR was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the MLR receiving notification"},"NotificationRO":{"required":["eventType","notificationDate","notificationId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the notification","anyOf":[{"$ref":"#/components/schemas/InvoiceSendingNotificationRO"},{"$ref":"#/components/schemas/InvoiceReceivingNotificationRO"},{"$ref":"#/components/schemas/MLRReceivingNotificationRO"},{"$ref":"#/components/schemas/DocumentReceivingFailedNotificationRO"},{"$ref":"#/components/schemas/InvoiceResponseSendingNotificationRO"},{"$ref":"#/components/schemas/InvoiceResponseReceivingNotificationRO"},{"$ref":"#/components/schemas/CDARSendingNotificationRO"},{"$ref":"#/components/schemas/CDARReceivingNotificationRO"},{"$ref":"#/components/schemas/OrderSendingNotificationRO"},{"$ref":"#/components/schemas/OrderReceivingNotificationRO"},{"$ref":"#/components/schemas/OrderChangeSendingNotificationRO"},{"$ref":"#/components/schemas/OrderChangeReceivingNotificationRO"},{"$ref":"#/components/schemas/OrderCancellationSendingNotificationRO"},{"$ref":"#/components/schemas/OrderCancellationReceivingNotificationRO"},{"$ref":"#/components/schemas/OrderResponseSendingNotificationRO"},{"$ref":"#/components/schemas/OrderResponseReceivingNotificationRO"},{"$ref":"#/components/schemas/SgOrderBalanceSendingNotificationRO"},{"$ref":"#/components/schemas/SgOrderBalanceReceivingNotificationRO"},{"$ref":"#/components/schemas/LegalEntityCorppassKycNotificationRO"},{"$ref":"#/components/schemas/LegalEntityCorppassC5NotificationRO"},{"$ref":"#/components/schemas/IrasSendingNotificationRO"},{"$ref":"#/components/schemas/C5SendingNotificationRO"},{"$ref":"#/components/schemas/C5ReceivingNotificationRO"}]},"NotificationsResponseRO":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PageableResponseRO"},"notifications":{"type":"array","description":"The details of the notifications","items":{"$ref":"#/components/schemas/NotificationRO"}}},"description":"The details of the notifications and the pagination details"},"OrderCancellationReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Cancellation","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Cancellation","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the Order Cancellation","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Cancellation","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Order Cancellation was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Cancellation receiving notification"},"OrderCancellationSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Cancellation","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Cancellation","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/OrderStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Order Cancellation","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Cancellation","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Cancellation sending notification"},"OrderChangeReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Change","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Change","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the Order Change","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Change","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Order Change was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Change receiving notification"},"OrderChangeSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Change","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Change","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/OrderStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Order Change","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Change","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Change sending notification"},"OrderReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the Order","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Order was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order receiving notification"},"OrderResponseReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Response","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Response","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the Order Response","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Response","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Order Response was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Response receiving notification"},"OrderResponseSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order Response","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this Order Response","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/OrderStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Order Response","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order Response","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order Response sending notification"},"OrderSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the Order","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/OrderStatusEnumRO"},"sender":{"type":"string","description":"The sender of the Order","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the Order","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the Order sending notification"},"OrderStatusEnumRO":{"type":"string","description":"The status of the SG Order Balance","example":"SENT","enum":["QUEUED","SENT","SEND_FAILED","TECHNICAL_ACCEPTANCE","REJECTED"]},"PageableResponseRO":{"type":"object","properties":{"count":{"type":"integer","description":"The total number of results in the database","format":"int64","example":5},"page":{"type":"integer","description":"The starting page number of the retrieved results","format":"int32","example":0},"pageSize":{"type":"integer","description":"How many results we want have retrieved per page","format":"int32","example":10}},"description":"The pagination details"},"SgOrderBalanceReceivingNotificationRO":{"required":["documentId","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receivedDate","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the SG Order Balance","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this SG Order Balance","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"sender":{"type":"string","description":"The sender of the SG Order Balance","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the SG Order Balance","example":"0208:1999999943"},"receivedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the SG Order Balance was received","example":"2023-07-25T11:03:26.688"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the SG Order Balance receiving notification"},"SgOrderBalanceSendingNotificationRO":{"required":["documentId","documentStatus","eventType","notificationDate","notificationId","orderReferenceId","peppolDocumentType","receiver","sender","transmissionId"],"type":"object","properties":{"eventType":{"$ref":"#/components/schemas/EventTypeRO"},"notificationId":{"type":"integer","description":"The notification id","format":"int64","example":7},"transmissionId":{"type":"string","description":"The transmission unique identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"sbdhTransmissionId":{"type":"string","description":"SBDH instance identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"notificationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the notification was created","example":"2023-07-25T11:03:26.688"},"documentId":{"type":"string","description":"The document id of the SG Order Balance","example":"pbe000512-1"},"orderReferenceId":{"type":"string","description":"The Order document id referred in this SG Order Balance","example":"pbe000512-1"},"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentStatus":{"$ref":"#/components/schemas/OrderStatusEnumRO"},"sender":{"type":"string","description":"The sender of the SG Order Balance","example":"0208:0552912569"},"receiver":{"type":"string","description":"The receiver of the SG Order Balance","example":"0208:1999999943"},"details":{"type":"array","description":"Additional details regarding the notification","items":{"$ref":"#/components/schemas/ApplicationMessage"}}},"description":"The details of the SG Order Balance sending notification"},"CountryCodeEnum":{"type":"string","description":"The receiver party country","example":"BE","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XI","YE","YT","ZA","ZM","ZW","ZZ"]},"LegalEntityListRO":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PageableResponseRO"},"legalEntities":{"type":"array","description":"A list containing the details of the legal entities","items":{"$ref":"#/components/schemas/LegalEntityRO"}}},"description":"The list of legal entities and the pagination details"},"LegalEntityPeppolRegistrationC5DetailsRO":{"type":"object","properties":{"c5Activated":{"type":"boolean","description":"True if the legal entity registration is C5 activated","example":true}},"description":"The C5 details of the Peppol legal entity registration"},"LegalEntityPeppolRegistrationKycDetailsRO":{"type":"object","properties":{"kycCompleted":{"type":"boolean","description":"True if the legal entity registration is C5 activated","example":true}},"description":"The KYC details of the Peppol legal entity registration. It is used only in specific country eg Singapore, Malaysia"},"LegalEntityPeppolRegistrationRO":{"type":"object","properties":{"peppolRegistrationId":{"type":"integer","description":"The Peppol registration id","format":"int64"},"creationDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the Peppol registration was created in our system","readOnly":true},"peppolRegistrationDetails":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationDetailsRO"},"c5Details":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationC5DetailsRO"},"kycDetails":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationKycDetailsRO"}},"description":"The registrations details of the legal entity in the Peppol network. A registration contains the Peppol identifier and the legal entity supported documents. </br>A legal entity can be registered multiple times using different identifiers eg company registration number, VAT, etc"},"LegalEntityRO":{"type":"object","properties":{"legalEntityId":{"type":"integer","description":"The legal entity id","format":"int64"},"legalEntityDetails":{"$ref":"#/components/schemas/LegalEntityDetailsRO"},"peppolRegistrations":{"type":"array","description":"The registrations of the legal entity in the Peppol network. A registration contains the Peppol identifier and the legal entity supported documents. </br>A legal entity can be registered multiple times using different identifiers eg company registration number, VAT, etc","items":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationRO"}}},"description":"The details of the legal entity which is registered in the Peppol network"},"LegalEntityPeppolRegistrationListRO":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PageableResponseRO"},"peppolRegistrations":{"type":"array","description":"A list containing the details of the Peppol registrations for a legal entity","items":{"$ref":"#/components/schemas/LegalEntityPeppolRegistrationRO"}}},"description":"The list of Peppol registrations for a legal entity and the pagination details"},"LegalEntityC5ActivationGetResponseRO":{"required":["initiatedDate","signed","signerEmail","state"],"type":"object","properties":{"initiatedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the C5 activation or deactivation was initiated","example":"2019-08-24T14:15:22.000"},"signed":{"type":"boolean","description":"True if the C5 activation has been signed","example":true},"signerEmail":{"type":"string","description":"The email of the business representative used when sending out the C5 activation/deactivation signing e-mail","example":"john.doe@example.com"},"signerName":{"type":"string","description":"The name of the business representative used when sending out the C5 activation/deactivation signing e-mail","example":"John Doe"},"signingLink":{"type":"string","description":"The Corppass signing URL returned for pending C5 activation or deactivation","example":"https://example.com/c5-activation"},"signedDate":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The date when the C5 activation has been signed","example":"2019-08-24T14:15:22.000"},"state":{"type":"string","description":"The state of the C5 activation.<ul><li>ACTIVATED= The C5 activation has been signed</li><li>INITIATED_ACTIVATION= Signing of a C5 activation has been initiated</li><li>INITIATED_DEACTIVATION= Signing of a deactivation of an existing C5 activation has been initiated</li><li>PENDING_KYC= C5 Activation has been initiated but participant is still waiting for KYC signing</li></ul>","example":"ACTIVATED","enum":["ACTIVATED","INITIATED_ACTIVATION","INITIATED_DEACTIVATION","KYC_PENDING","PENDING_VERIFICATION","PENDING_ACTIVATION","PENDING_DEACTIVATION","DEACTIVATED","ACTIVATION_CANCELLED"]}},"description":"The details of the C5 activation"},"TransmissionDirectionEnumRO":{"type":"string","description":"The transmission direction","example":"SENDING","enum":["SENDING","RECEIVING"]},"DocumentSearchRO":{"type":"object","properties":{"peppolDocumentType":{"$ref":"#/components/schemas/PeppolDocumentTypeRO"},"documentId":{"type":"string","description":"The business document identifier","example":"INV-100"},"sender":{"type":"string","description":"The sender participant identifier","example":"0208:0552912569"},"senderPartyName":{"type":"string","description":"The sender party registration name","example":"Ademico Software"},"senderCountry":{"$ref":"#/components/schemas/CountryCodeEnum"},"senderLegalEntityCountry":{"$ref":"#/components/schemas/CountryCodeEnum"},"receiver":{"type":"string","description":"The receiver participant identifier","example":"0208:1999999943"},"receiverPartyName":{"type":"string","description":"The receiver party registration name","example":"Buyer Official Name"},"receiverCountry":{"$ref":"#/components/schemas/CountryCodeEnum"},"sbdhTransmissionId":{"type":"string","description":"The SBDH transmission identifier","example":"6b56b28947e511eda0b802bb4e4747f9"},"transmissionId":{"type":"string","description":"The transmission identifier","example":"803828d52d4911ed85f512ef9c5638d0"},"as4MessageId":{"type":"string","description":"The AS4 message identifier","example":"as4-message-id-123"},"creationTime":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}$","type":"string","description":"The document creation time"},"direction":{"$ref":"#/components/schemas/TransmissionDirectionEnumRO"},"documentStatus":{"$ref":"#/components/schemas/DocumentStatusEnumRO"}},"description":"The details of an exchanged document"},"DocumentSearchResponseRO":{"type":"object","properties":{"pagination":{"$ref":"#/components/schemas/PageableResponseRO"},"documents":{"type":"array","description":"The exchanged documents found for the current page","items":{"$ref":"#/components/schemas/DocumentSearchRO"}}},"description":"The list of exchanged documents and the pagination details"},"AnnuairePeppolIdentifierRO":{"type":"object","properties":{"peppolIdentifier":{"type":"string","description":"Peppol participant identifier registered in the France annuaire","example":"0225:123456789_12345678901111"},"siren":{"type":"string","description":"SIREN of the annuaire line","example":"123456789"},"siret":{"type":"string","description":"SIRET of the annuaire line, when present","nullable":true,"example":"12345678901111"},"routage":{"type":"string","description":"Routing code of the annuaire line, when present","nullable":true,"example":"ROUTE1"},"suffixe":{"type":"string","description":"Suffix of the annuaire line, when present","nullable":true,"example":"SUFFIXE1"},"claimedByPa":{"type":"boolean","description":"Whether a real Plateforme Agréée (PA) is assigned to this annuaire registration. False means that the record exists but is not routable because no real PA has claimed it; true means that a real PA is assigned. The platform identifier is not exposed.","example":true},"dateDebut":{"type":"string","description":"Effective start date of the annuaire registration in ISO format yyyy-MM-dd","format":"date","example":"2026-07-08"},"dateFin":{"type":"string","description":"Announced end date of the annuaire registration in ISO format yyyy-MM-dd, when present","format":"date","nullable":true},"dateFinEffective":{"type":"string","description":"Effective end date of the annuaire registration in ISO format yyyy-MM-dd, when present","format":"date","nullable":true}},"description":"Contains an effective France annuaire registration matching the requested SIREN or SIRET"},"AnnuaireSearchResponseRO":{"type":"object","properties":{"identifiers":{"type":"array","description":"The list of Peppol identifiers found in Annuaire for the given query","items":{"$ref":"#/components/schemas/AnnuairePeppolIdentifierRO"}}},"description":"Result of an Annuaire query"}},"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://test-peppol-oauth2.ademico-software.com/oauth2/token","scopes":{"peppol/document":"Access to send and receive Invoices and Credit Notes"}}}},"BasicAuth":{"type":"http","scheme":"basic"}}},"x-tagGroups":[{"name":"Legal entities","tags":["Legal Entity","Legal Entity Peppol Registration","Legal Entity KYC(Singapore and Malaysia)","Legal Entity C5 Singapore"]},{"name":"Invoices/Credit Notes","tags":["Invoice/Credit Note","Invoice Response"]},{"name":"Country Specifics","tags":["Singapore IRAS Submission","France Annuaire","France Factur-X Generation","France PPF Submission","France CDAR"]},{"name":"Orders","tags":["Order"]},{"name":"Documents","tags":["Documents"]},{"name":"Transport Evidence","tags":["Transport Evidences"]},{"name":"Notifications","tags":["Notification","Webhook Settings API"]},{"name":"Statistics","tags":["Statistics"]},{"name":"Connectivity","tags":["Connectivity"]}]}