Discussions

Ask a Question
Back to all

Error : Import file is an Issued Invoice

Topic

I have my client API that can create an Invoice and I send this invoice using Peppol Transport. I got a 204 response, which is okay, but i'm facing an issue when I read my invoice get response content :

Import file is an issued invoice

Here is my config :

{
  "type_document": "TD20",

  "invoice": {
		"type": "IssuedInvoice",
		...

    ChargeReason = "Test Peppol in staging",
		  "contact": {
      "name": "E.B.P",
      "country": "be",
      "email": "[email protected]",
      "transport_type_code": "peppol",
      "document_type_code": "xml.ubl.invoice.bis3",
      "tin_value": null,
      "pin_scheme": "...",
      "pin_value": "..."
    },
}

Thx