/v1/peppol/sendOrder

The sendOrder Endpoint

This endpoints allows you to send an E-Invoice over the Peppol network. We use a JSON object similar to our Order object used in the Order endpoints.

This endpoint will create the valid UBL from the JSON provided and will directly send it on the Peppol network.

The minimum you have to provide the API is the following:

  • All data of the company used has to be filled in. You can this under Profile in the application
Field NameField ValueField Definition
Customer (Object)Customer Data PartyThe data from the customer
OrderDateDateTimeThe date from the order
ExpiryDateDateTimeThe expiry date from the order
OrderTypeTypesThe type of invoice
OrderDirectionTypesThe Direction of the invoice
OrderLinesOrderlinesThe items that are billed
PaidBooleanIf the invoice is already paid
PaidDateDateTimeThe date when the order was paid
CurrencyISO Standardthe currency of the invoice

Below you can find a JSON example of the table above

{
  "Customer": {
    "Name": "A customer name",
    "Street": "A street",
    "StreetNumber": "25",
    "Box": "",
    "Zipcode": "9000",
    "City": "Gent",
    "CountryCode": "BE",
    "IBAN": "BE0000001",
    "BIC": "KREDBEBB",
    "Mobile": "01234242",
    "Email": "[email protected]",
    "Contact": "Contact",
    "VATNumber": "BE0563846944",
    "PartyType": "Customer",
    "VATLiable": true,
  },
  "OrderNumber": "20220001",
  "OrderDate": "2019-12-03T18:51:21.261Z",
  "ExpiryDate": "2019-12-15T18:51:21.262Z",
  "OrderType": "Invoice",
  "OrderDirection": "Income",
  "OrderLines": [
    {
      "Quantity": 1,
      "UnitPriceExcl": 100.0,
      "Description": "my order line",
      "VATPercentage": 21.0
    }
  ],
  "Paid": true,
  "PaidDate": "2019-12-03T18:51:21.262Z",
  "Currency": "EUR",
}
//Only possible when you have signed the PeppolAnySender Contract
{
    "Supplier":{
    "Name": "A customer name",
    "Street": "A street",
    "StreetNumber": "25",
    "Box": "",
    "Zipcode": "9000",
    "City": "Gent",
    "CountryCode": "BE",
    "IBAN": "BE0000001",
    "BIC": "KREDBEBB",
    "Mobile": "01234242",
    "Email": "[email protected]",
    "Contact": "Contact",
    "VATNumber": "BE0563846944",
    "PartyType": "Customer",
  },
  "Customer": {
    "Name": "A customer name",
    "Street": "A street",
    "StreetNumber": "25",
    "Box": "",
    "Zipcode": "9000",
    "City": "Gent",
    "CountryCode": "BE",
    "IBAN": "BE0000001",
    "BIC": "KREDBEBB",
    "Mobile": "01234242",
    "Email": "[email protected]",
    "Contact": "Contact",
    "VATNumber": "BE0563846944",
    "PartyType": "Customer",
    "VATLiable": true,
  },
  "OrderNumber": "20220001",
  "OrderDate": "2019-12-03T18:51:21.261Z",
  "ExpiryDate": "2019-12-15T18:51:21.262Z",
  "OrderType": "Invoice",
  "OrderDirection": "Income",
  "OrderLines": [
    {
      "Quantity": 1,
      "UnitPriceExcl": 100.0,
      "Description": "my order line",
      "VATPercentage": 21.0
    }
  ],
  "Paid": true,
  "PaidDate": "2019-12-03T18:51:21.262Z",
  "Currency": "EUR",
}
Language
Click Try It! to start a request and see the response here!