Sending your first invoice
Following the creation of your first invoice, the next step is to dispatch it to the recipient. Understanding that invoice delivery methods can vary significantly from one country to another and even among different customers, we've simplified the process to ensure ease and flexibility.
You can explore the various transportTypes available for sending invoices by visiting our documentation page Transport Types. It's important to note that not all features may be available on the test network within the sandbox environment. Therefore, we recommend regularly checking our network environments documentation for the most recent updates and changes. This proactive approach helps ensure that you're always aligned with the latest capabilities and requirements for invoice delivery.
Sending the invoices can be done by 2 options:
- Enable auto sending invoices
- This can be found in the company settings page. Everyday at 9 am all invoices will be sent.
- Provide the Instant Send Header
- Providing "InstantSend" header with the value "true". This will automatically trigger the Command Send API. Keep in mind that if you use this and the validation for sending fails the invoice will not be created.
- Use the command Send API endpoint
- Use the postman request setup for sending or the description below
- TransportTypes can be found here -> Transport Types
Testable request in Postman: 05 - Send Sales Invoice
Endpoint | Method | Response |
---|---|---|
/v1/orders/commands/send | POST | OK |
{
"Transporttype" : "Peppol",
"OrderIDs" : {UniqueID, UniqueID, ....}
}
Validations
It is possible that you will receive validations when trying to send. These can be that the receiver is not on the Peppol network or something is not inline with network rules. You will have to adjust the invoice before sending again.
Updated 10 months ago