Quickstart
This example reads a German XRechnung and pulls out the invoice data. All it takes is an API key and the file.
Do you know the format already?
There are two ways in, and the choice has consequences:
Format is known — the specific endpoint
/api/v1/invoice/{country}/{format}/parse checks the document against
exactly that format and reports deviations clearly. The way to go when the
source is fixed.
Format is unknown — let it detect
/api/v1/invoice/parse works out the format itself. Handy for inboxes with
mixed sources — in exchange, the error message is less precise about what
is wrong with a document.
