What is GOBL?
If you're working with multiple channels or don't have an existing solution for generating XML documents, using GOBL might make your integration easier.
GOBL is a JSON-based format for describing edelivery documents in a generic way, which can then be converted to a specific channel's format.
Ecourier supports a subset of Go Business Language (GOBL), allowing you to send invoices and credit notes as JSON and have them converted to the correct format for the selected channel.
Depending on your localtion, you might be required to store the XML documents yourself.
In Denmark it is required to store the XML documents for 5 years. If you're using our GOBL API, make sure to fetch and store the XML documents after sending them.
Ecourier deletes all XML and GOBL contents after 6 months for privacy reasons.
How does it work?
With GOBL, you can either run their CLI tool locally on your server or use our API.
If you want full control over the conversion process, you need to use the CLI. For most common use cases, the API should be sufficient.
The CLI's GOBL and GOBL.UBL does not support any channels natively yet, so a bit of work is required to get the output into the correct format. When using our API, this is taken care of for you.