Get the details of a specific draft invoice.
Returns the complete draft data including all fields and their current values. This is useful for retrieving draft state before making updates.
- Dev serverhttps://pdp.seqino.dev/api/drafts/{draft_id}
- Production serverhttps://pa.seqino.com/api/drafts/{draft_id}
curl -i -X GET \
'https://pdp.seqino.dev/api/drafts/{draft_id}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: client_abc123'Successful Response
Specification identifier (BT-24). None means no profile has been chosen yet - resolved to a concrete value at finalization (see resolve_draft_invoice_type).
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.
{ "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": { … } } }