Structured invoicing

Generate EN16931-core structured XML

Return readiness diagnostics and, when ready, an EN16931-core UBL/XML artifact. This is not a Peppol BIS artifact and does not perform network delivery.

post/api/v1/documents/structured

Request

  • Base URL: https://invoicecraftly.com
  • URL: https://invoicecraftly.com/api/v1/documents/structured
  • Auth: HTTP bearer

Request body

Example request

{
  "document": {
    "currency": "USD",
    "locale": "en-US"
  }
}

Response

Readiness result plus XML artifact when ready.

apiVersion'v1' required
profileIdstring required
specificationIdentifierstring required
readyboolean required
gapsobject[] required

Example response

{
  "profileId": "en16931-core",
  "specificationIdentifier": "urn:cen.eu:en16931:2017"
}

Changes

No recorded changes to this operation across all 1 revision of this API.