- 📄 Get complete invoice data by ID
Get the complete EN16931-compliant invoice data by ID.
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoice_data/{invoice_id}
- Production serverhttps://pa.seqino.com/api/invoicing/invoice_data/{invoice_id}
curl -i -X GET \
'https://pdp.seqino.dev/api/invoicing/invoice_data/{invoice_id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: client_abc123'Successful Response
Final invoice model with system-generated invoice number and full EN16931 compliance.
VAT accounting currency code (BT-6) - ISO 4217
Value added tax point date (BT-8)
BT-23 values for French invoice types (BR-FR-08 cadre de facturation).
First letter: B=Biens, S=Services, M=Mixte (biens+services non accessoires).
Buyer reference (BT-10) - An identifier assigned by the buyer used for internal routing. Either buyer_reference or purchase_order_reference must be provided.
Purchase order reference (BT-13)
Sales order reference (BT-14)
Receiving advice reference (BT-15)
Despatch advice reference (BT-16)
Tender or lot reference (BT-17)
Invoiced object identifier (BT-18)
Buyer accounting reference (BT-19)
Seller tax representative party (BG-11).
Required when the Seller (BG-4) has appointed a tax representative. EN16931 BR-18/BR-19/BR-20: when present, the name (BT-62), postal address (BG-12) and the country code (BT-69) within it are mandatory; those are modelled here as required fields so construction enforces them.
Payment means type code (BT-81)
Remittance information (BT-83)
Payment account identifier / IBAN (BT-84)
Payment service provider identifier / BIC (BT-86)
Deprecated: use purchase_order_reference instead
Deprecated: use notes instead. Invoice note (BT-22)
For credit notes - reference to original invoice (BT-25)
For credit notes - issue date of the referenced original invoice (BT-26)
Delivery information (BG-13) including the deliver to address (BG-15).
Models the EN16931 DELIVERY INFORMATION group end-to-end so it survives UBL/CII round-trips. Excludes the invoicing period (BG-14, BT-73/74) which is tracked separately on the invoice model.
When the invoice was processed by the system
Invoice period start date (BT-73)
Invoice period end date (BT-74)
Sum of allowances on document level (BT-107)
Sum of charges on document level (BT-108)
Document level allowances (BG-20) — discounts applying to the invoice as a whole, each assigned to a VAT category (BT-95). Their sum is BT-107.
Document level charges (BG-21) — surcharges applying to the invoice as a whole, each assigned to a VAT category (BT-102). Their sum is BT-108.
EN16931 validation status (system field)
List of validation errors if any (system field)
- EN16931InvoiceModel
- InvoiceDraftModel
{ "specification_identifier": "string", "issue_date": "2019-08-24", "due_date": "2019-08-24", "type_code": "380", "currency_code": "string", "tax_currency_code": "string", "tax_point_date": "2019-08-24", "value_added_tax_point_date": "2019-08-24", "business_process_type": "B1", "buyer_reference": "string", "purchase_order_reference": "string", "sales_order_reference": "string", "receiving_advice_reference": "string", "despatch_advice_reference": "string", "tender_or_lot_reference": "string", "invoice_object_identifier": "string", "buyer_accounting_reference": "string", "project_reference": "string", "contract_reference": "string", "seller": { "name": "string", "postal_address": { … }, "electronic_address": { … }, "tax_registrations": [ … ], "legal_registration_name": "string", "trading_name": "string", "party_identifier": "string", "party_identifier_scheme": "string", "seller_identifier": "string", "seller_identifier_scheme": "string", "seller_vat_identifier": "string", "seller_tax_registration_identifier": "string", "seller_additional_legal_information": "string" }, "buyer": { "name": "string", "postal_address": { … }, "electronic_address": { … }, "tax_registrations": [ … ], "legal_registration_name": "string", "trading_name": "string", "party_identifier": "string", "party_identifier_scheme": "string", "buyer_identifier": "string", "buyer_identifier_scheme": "string", "buyer_legal_registration_identifier": "string", "buyer_vat_identifier": "string" }, "payee": { "name": "string", "identifier": "string", "identifier_scheme": "string", "legal_registration_id": "string", "legal_registration_id_scheme": "string" }, "seller_tax_representative": { "name": "string", "vat_identifier": "string", "postal_address": { … } }, "invoice_lines": [ { … } ], "vat_breakdowns": [ { … } ], "document_totals": { "sum_of_line_net_amounts": "string", "sum_of_allowances": "string", "sum_of_charges": "string", "invoice_total_without_vat": "string", "invoice_total_vat_amount": "string", "invoice_total_with_vat": "string", "paid_amount": "string", "rounding_amount": "string", "amount_due_for_payment": "string" }, "payment_terms": { "description": "string", "due_date": "2019-08-24" }, "payment_means_type_code": "string", "payment_means_text": "string", "remittance_information": "string", "payment_account_identifier": "string", "payment_account_name": "string", "payment_service_provider_identifier": "string", "notes": [ { … } ], "order_reference": "string", "invoice_note": "string", "preceding_invoice_reference": "string", "preceding_invoice_issue_date": "2019-08-24", "delivery": { "deliver_to_party_name": "string", "location_identifier": "string", "location_identifier_scheme": "string", "actual_delivery_date": "2019-08-24", "deliver_to_address": { … } }, "invoice_number": "string", "processing_timestamp": "2019-08-24T14:15:22Z", "invoice_period_start_date": "2019-08-24", "invoice_period_end_date": "2019-08-24", "document_level_allowance_amount": "string", "document_level_charge_amount": "string", "document_allowances": [ { … } ], "document_charges": [ { … } ], "en16931_validation_status": "string", "validation_errors": [ "string" ], "status_details": { "PeppolSendingFailed": "string", "NotPeppolRoutable": "string", "InvoiceSerializationFailed": "string", "InvalidInputError": "string", "reason_code": "NON_TRANSMISE", "reason_text": "string" } }