Skip to main content

Create and send sales invoices via JSON​

This recipe demonstrates how to create, validate, and deliver sales invoices using JSON metadata, attach file representations (Factur-X hybrid PDF, Peppol BIS 3.0 UBL XML, or standard PDF), apply line-level discounts, and dispatch the document through an active connector.

Prerequisites​

  • A JSON payload containing invoice metadata, customer connections, and line items.
  • The invoice file:
    • Factur-X: A hybrid PDF containing embedded XML conforming to EN 16931 (France).
    • Peppol UBL: An XML file complying with Peppol BIS Billing 3.0 (Belgium / Cross-border).
    • PDF: A standard visual PDF.
  • Banqup permissions.
  • An active customer connection and activated delivery connector (see Create partner delivery channel).
  • Resource IDs: