Skip to main content

Send invoice (all types — single endpoint)

The recommended endpoint for ERP/white-label invoice submission. Supports all invoice types for France and Germany. Returns a trackingId immediately for async status polling.

See Overview for supported invoiceType values.

PropertyValue
Endpoint/invoice/send-document-async-json
MethodPOST
AuthorizationBearer {token}

Request body

{
"apiKey": "your-api-key-or-omit-if-jwt",
"ublDto": {
"companyId": "uuid",
"invoiceNumber": "INV-2025-001",
"invoiceType": "FR_UBL_CIUS",
"issueDate": "2025-04-01",
"dueDate": "2025-05-01",
"currency": "EUR",
"seller": {
"name": "Acme France SAS",
"taxId": "FR12345678901",
"address": "10 Rue de la Paix",
"city": "Paris",
"postalCode": "75001",
"country": "FR"
},
"buyer": {
"name": "Client GmbH",
"taxId": "DE987654321",
"address": "Berliner Str. 5",
"city": "Hamburg",
"postalCode": "20095",
"country": "DE"
},
"lines": [
{
"description": "Consulting services",
"quantity": 10,
"unitPrice": 100.00,
"vatRate": 20.0,
"lineTotal": 1000.00
}
],
"taxTotal": 200.00,
"grandTotal": 1200.00
},
"receiverEmails": ["buyer@client.de"],
"businessType": "B2B"
}
FieldTypeRequiredDescription
apiKeyStringYes*API key (if no JWT company context)
ublDto.companyIdUUIDYes*Company UUID
ublDto.invoiceTypeStringYesSee Overview
receiverEmailsArrayNoEmail notification recipients
businessTypeStringNoB2B or B2C

* Either apiKey or ublDto.companyId must be provided.

Response

{
"trackingId": "550e8400-e29b-41d4-a716-446655440000",
"status": "PENDING"
}
CodeDescription
200Accepted — returns trackingId
400Missing required fields
401Unauthorized
403User not associated with company
500Internal server error

Send document async (Base64 PDF/XML)

Use when the invoice is already a PDF or XML file.

PropertyValue
Endpoint/invoice/send-document-async
MethodPOST
AuthorizationBearer {token}
{
"apiKey": "your-api-key",
"compId": "uuid",
"base64Document": "PD94bWwgdm...",
"base64Pdf": null,
"invoiceType": "XRECHNUNG",
"receiverEmails": ["invoice@buyer.de"],
"businessType": "B2B"
}
FieldTypeRequiredDescription
apiKeyStringYes*API key
compIdStringYes*Company UUID
base64DocumentStringYes*Base64 XML (XRechnung, Factur-X XML, etc.)
base64PdfStringYes*Base64 PDF (ZUGFeRD — triggers PDF validation)
invoiceTypeStringYesInvoice type

* Either apiKey or compId. Either base64Document or base64Pdf.

Next