Seqino PDP API - Modern interface to France's e-Invoicing services
Seqino PDP API (1.0.0)
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoice_data/{invoice_id}
- Local development serverhttp://localhost:8052/invoicing/invoice_data/{invoice_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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: string'Successful Response
Specification identifier (BT-24) - Peppol BIS 3.0 or French CIUS
Payment due date (BT-9)
Payment due date (BT-9)
Tax point date (BT-7)
Tax point date (BT-7)
Value added tax point date (BT-8)
Value added tax point date (BT-8)
Business process type (BT-23)
Business process type (BT-23)
Buyer reference (BT-10) - An identifier assigned by the buyer used for internal routing. Either buyer_reference or purchase_order_reference must be provided.
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)
Purchase order reference (BT-13)
Sales order reference (BT-14)
Sales order reference (BT-14)
Receiving advice reference (BT-15)
Receiving advice reference (BT-15)
Despatch advice reference (BT-16)
Despatch advice reference (BT-16)
Tender or lot reference (BT-17)
Tender or lot reference (BT-17)
Invoiced object identifier (BT-18)
Invoiced object identifier (BT-18)
Buyer accounting reference (BT-19)
Buyer accounting reference (BT-19)
Project reference (BT-11)
Project reference (BT-11)
Contract reference (BT-12)
Contract reference (BT-12)
Seller party information (BG-4)
Party identifier
Party identifier
Party identifier scheme
Party identifier scheme
Seller identifier (BT-29)
Seller identifier (BT-29)
Seller identifier scheme (BT-30)
Seller identifier scheme (BT-30)
Seller VAT identifier (BT-31)
Seller VAT identifier (BT-31)
Seller tax registration identifier (BT-32)
Seller tax registration identifier (BT-32)
Seller additional legal information (BT-33)
Seller additional legal information (BT-33)
Buyer party information (BG-7)
Party identifier
Party identifier
Party identifier scheme
Party identifier scheme
Buyer identifier (BT-46)
Buyer identifier (BT-46)
Buyer identifier scheme (BT-47)
Buyer identifier scheme (BT-47)
Buyer legal registration identifier (BT-47)
Buyer legal registration identifier (BT-47)
Invoice lines (BG-25)
Invoiced quantity
Unit of measure code (BT-130) - Must be valid UN/ECE Recommendation 20 code (BR-CL-23). Common codes: C62 (unit/piece), HUR (hour), DAY (day), MON (month), MTR (meter), KGM (kilogram), LTR (liter)
Invoice line net amount
Item net price
VAT breakdown (BG-23)
VAT rate as percentage
VAT rate as percentage
VAT taxable amount
VAT amount
Document level totals (BG-22)
Sum of Invoice line net amount (BT-106)
Sum of allowances on document level
Sum of allowances on document level
Sum of charges on document level
Sum of charges on document level
Invoice total amount without VAT (BT-109)
Invoice total VAT amount (BT-110)
Invoice total amount with VAT (BT-112)
Paid amount
Paid amount
Rounding amount
Rounding amount
Payment instructions (BG-16)
Payment instructions (BG-16)
Invoice notes with optional subject codes (BT-22)
Invoice notes with optional subject codes (BT-22)
Deprecated: use purchase_order_reference instead
Deprecated: use purchase_order_reference instead
Deprecated: use notes instead. Invoice note (BT-22)
Deprecated: use notes instead. Invoice note (BT-22)
For credit notes - reference to original invoice (BT-25)
For credit notes - reference to original invoice (BT-25)
When the invoice was processed by the system
When the invoice was processed by the system
Invoice period start date (BT-73)
Invoice period start date (BT-73)
Invoice period end date (BT-74)
Invoice period end date (BT-74)
Deliver to location identifier (BT-71)
Deliver to location identifier (BT-71)
Actual delivery date (BT-72)
Actual delivery date (BT-72)
Payment means type code (BT-81)
Payment means type code (BT-81)
Payment means text (BT-82)
Payment means text (BT-82)
Remittance information (BT-83)
Remittance information (BT-83)
Payment account identifier (BT-84)
Payment account identifier (BT-84)
Payment account name (BT-85)
Payment account name (BT-85)
Payment service provider identifier (BT-86)
Payment service provider identifier (BT-86)
Sum of allowances on document level (BT-107)
Sum of allowances on document level (BT-107)
Sum of charges on document level (BT-108)
Sum of charges on document level (BT-108)
{ "specification_identifier": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1", "issue_date": "2019-08-24", "due_date": "2019-08-24", "type_code": "380", "currency_code": "string", "tax_point_date": "2019-08-24", "value_added_tax_point_date": "2019-08-24", "business_process_type": "string", "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" }, "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" }, "notes": [ { … } ], "order_reference": "string", "invoice_note": "string", "preceding_invoice_reference": "string", "invoice_number": "string", "processing_timestamp": "2019-08-24T14:15:22Z", "invoice_period_start_date": "2019-08-24", "invoice_period_end_date": "2019-08-24", "delivery_location_identifier": "string", "actual_delivery_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", "document_level_allowance_amount": "string", "document_level_charge_amount": "string", "en16931_validation_status": "string", "validation_errors": [ "string" ] }
Request
Get download links for invoice files in various e-invoicing formats.
Returns download URLs for the invoice in the requested format(s). If no format is specified, returns links for all available formats.
Supported formats:
- facturx: FacturX PDF with embedded XML (French standard)
- ubl: Universal Business Language XML
- cii: Cross Industry Invoice XML
Args: invoice_id: The invoice ID (or draft_id) to get download links for format: Optional specific format to get download link for
Returns: InvoiceDownloadResponse with download URLs
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}
- Local development serverhttp://localhost:8052/invoicing/invoices/{invoice_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}?format=facturx' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: string'{ "invoice_id": "string", "available_formats": [ { … } ], "generated_at": "2019-08-24T14:15:22Z" }
Request
Download an invoice as UBL 2.1 XML (Peppol BIS 3.0 compliant).
Returns the invoice as a UBL 2.1 XML document that can be used for e-invoicing via Peppol network or other UBL-compatible systems.
Args: invoice_id: The invoice ID (or draft_id) to export
Returns: UBL 2.1 XML document with application/xml content type
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}/ubl
- Local development serverhttp://localhost:8052/invoicing/invoices/{invoice_id}/ubl
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}/ubl' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: string'Request
Download an invoice as CII XML (EN16931 compliant).
Returns the invoice as a Cross Industry Invoice XML document that can be used for e-invoicing in EN16931-compatible systems.
Args: invoice_id: The invoice ID (or draft_id) to export
Returns: CII XML document with application/xml content type
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}/cii
- Local development serverhttp://localhost:8052/invoicing/invoices/{invoice_id}/cii
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pdp.seqino.dev/api/invoicing/invoices/{invoice_id}/cii' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: string'Request
List invoices with status and time-based filtering options.
This endpoint allows you to query invoices using various filters to find invoices that match your criteria.
Args: status: Filter by invoice status (draft, submitted, validated, rejected, processed) updated_after: ISO timestamp to get invoices updated after this time updated_before: ISO timestamp to get invoices updated before this time created_after: ISO timestamp to get invoices created after this time created_before: ISO timestamp to get invoices created before this time limit: Maximum number of invoices to return (default: 50, max: 100) offset: Number of invoices to skip for pagination (default: 0)
Returns: List of invoices with metadata including timestamps and status
- Dev serverhttps://pdp.seqino.dev/api/invoicing/invoices
- Local development serverhttp://localhost:8052/invoicing/invoices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pdp.seqino.dev/api/invoicing/invoices?status=draft&updated_after=string&updated_before=string&created_after=string&created_before=string&limit=50&offset=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'X-PDP-Client-Id: string'{}
Request
Submit an invoice file for processing.
Supports multiple e-invoicing formats:
- FacturX: Franco-German standard with embedded XML in PDF
- UBL: Universal Business Language XML
- CII: Cross Industry Invoice XML
The endpoint automatically detects the format and processes accordingly. The returned invoice_id can be used with /lifecycle-events to track lifecycle updates.
- Dev serverhttps://pdp.seqino.dev/api/invoicing/files/submit
- Local development serverhttp://localhost:8052/invoicing/files/submit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://pdp.seqino.dev/api/invoicing/files/submit \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-H 'X-PDP-Client-Id: string' \
-F file=string{ "invoice_id": "string", "status": "draft", "file_name": "string", "file_size": 0, "extracted_data": {}, "en16931_invoice": { "specification_identifier": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1", "issue_date": "2019-08-24", "due_date": "2019-08-24", "type_code": "380", "currency_code": "string", "tax_point_date": "2019-08-24", "value_added_tax_point_date": "2019-08-24", "business_process_type": "string", "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": { … }, "buyer": { … }, "invoice_lines": [ … ], "vat_breakdowns": [ … ], "document_totals": { … }, "payment_terms": { … }, "notes": [ … ], "order_reference": "string", "invoice_note": "string", "preceding_invoice_reference": "string", "invoice_number": "string", "processing_timestamp": "2019-08-24T14:15:22Z", "invoice_period_start_date": "2019-08-24", "invoice_period_end_date": "2019-08-24", "delivery_location_identifier": "string", "actual_delivery_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", "document_level_allowance_amount": "string", "document_level_charge_amount": "string", "en16931_validation_status": "string", "validation_errors": [ … ] } }
Request
Validate an invoice file without submitting it for processing.
Supports validation of multiple e-invoicing formats:
- FacturX: Validates PDF structure and embedded XML against FacturX standards
- UBL: Validates XML against UBL schema
- CII: Validates XML against Cross Industry Invoice schema
All formats are checked for EN16931 compliance. Returns detailed validation results with specific error messages and suggestions.
- Dev serverhttps://pdp.seqino.dev/api/invoicing/files/validate
- Local development serverhttp://localhost:8052/invoicing/files/validate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://pdp.seqino.dev/api/invoicing/files/validate \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-H 'X-PDP-Client-Id: string' \
-F file=stringSuccessful Response
Detected file format (FacturX, UBL, CII)
Detected file format (FacturX, UBL, CII)
Detected format version
Detected format version
List of validation issues found
JSON path to the problematic field (e.g., 'seller.postal_address.country_code')
Machine-readable error code (e.g., 'INVALID_COUNTRY_CODE')
Extracted invoice data if validation succeeds
Extracted invoice data if validation succeeds
Complete EN16931-compliant invoice if validation succeeds
Final invoice model with system-generated invoice number and full EN16931 compliance.
{ "is_valid": true, "file_name": "string", "file_size": 0, "detected_format": "string", "format_version": "string", "pdf_valid": true, "xml_valid": true, "issues": [ { … } ], "total_errors": 0, "total_warnings": 0, "extracted_data": {}, "en16931_invoice": { "specification_identifier": "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1", "issue_date": "2019-08-24", "due_date": "2019-08-24", "type_code": "380", "currency_code": "string", "tax_point_date": "2019-08-24", "value_added_tax_point_date": "2019-08-24", "business_process_type": "string", "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": { … }, "buyer": { … }, "invoice_lines": [ … ], "vat_breakdowns": [ … ], "document_totals": { … }, "payment_terms": { … }, "notes": [ … ], "order_reference": "string", "invoice_note": "string", "preceding_invoice_reference": "string", "invoice_number": "string", "processing_timestamp": "2019-08-24T14:15:22Z", "invoice_period_start_date": "2019-08-24", "invoice_period_end_date": "2019-08-24", "delivery_location_identifier": "string", "actual_delivery_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", "document_level_allowance_amount": "string", "document_level_charge_amount": "string", "en16931_validation_status": "string", "validation_errors": [ … ] }, "summary": "string" }