Kan ik rechtstreeks een XML-document versturen via de API?

Ja, via het sendDocument-endpoint, mits het XML-document volledig Peppol/UBL-conform is.

Je kunt via /sendDocument een volledig XML-document als string aanleveren. Zorg dat het documenttype (doctypeId) correct is ingevuld, bijvoorbeeld:

urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1

Controleer de UBL op geldigheid.