Create InvoiceAsk AIpost https://api.digitax.tech/ng/v1/invoicesCreates a new PINT-AE compliant e-invoice and submits it to the Peppol network.Body Paramsparty_idstringThe buyer or recipient of the goods or servicespayee_party_idstringIf the payment goes to someone else, this field captures that party's ID on DigiTaxbill_party_idstringIf the payment goes to someone else, this field captures that party's ID on DigiTaxship_party_idstringIf the payment goes to someone else, this field captures that party's ID on DigiTaxtax_representative_party_idstringThe party ID of the tax agent handling invoicing and compliance for the business if there is oneinvoice_datedaterequiredThe date on which the invoice was created in the format YYYY-MM-DDissue_datedaterequiredThe date on which this invoice was issued in the format YYYY-MM-DDissue_timestringThe time at which this invoice was issued in the format HH:MM:SSinvoice_type_codestringrequiredA code that specifies the type of invoice being issuedtax_point_datedateThe actual date when the tax becomes applicable in the format YYYY-MM-DDdocument_currency_codestringrequiredA code that specifies the default currency in which the invoice is issuedbuyer_referencestringA reference number or code provided by the buyer to track the invoicetrader_invoice_numberstringrequiredlength ≤ 30An invoice number assigned by the supplier to uniquely identify the invoice in their systemaccounting_coststringRepresents the accounting category or cost center assigned to the transactionpayment_terms_notestringDescribes the terms and conditions of paymentinvoice_delivery_periodobjectDefines the start and end dates for when goods or services were delivered. This helps track multi-day deliveries on a single invoiceinvoice_delivery_period objectpayment_meansarray of objectsDefines how the invoice will be paid and when payment is duepayment_meansADD objectallowance_chargearray of objectsDefines any discounts (allowance) or extra charges (charge)allowance_chargeADD objectbilling_document_referenceobjectLinks the invoice to a previous billing document (e.g., credit note, debit note, or a prior invoice)billing_document_reference objectdispatch_document_referenceobjectAn optional identifier of a referenced dispatch advice. Refers to the document used to track the dispatch of goodsdispatch_document_reference objectreceipt_document_referenceobjectA reference to a receipt advice associated with an invoice. Links the invoice to a receipt documentreceipt_document_reference objectoriginator_document_referenceobjectA reference to an originator document associated with an invoice. Identifies the original document that initiated the invoiceoriginator_document_reference objectcontract_document_referenceobjectA reference to a contract associated with an invoice. Links the invoice to a contract governing the transactioncontract_document_reference objectadditional_document_referencearray of objectsA reference to additional documents associated with an invoice. Used as a general reference field for any related documentsadditional_document_referenceADD objectdue_datedateThe date on which the invoice is due for payment in the format YYYY-MM-DDnotesstringAdditional invoice information that is not contained explicitly in other structurescallback_urluriThe URL to call when we have new information about the invoice, when the invoice is signed successfully or validation has failedinvoice_kindstringenumSpecifies the kind of invoice that was sent. It can either be Business to Business (B2B), Business to Consumer (B2C)B2BB2BB2CAllowed:B2BB2Cpayment_statusstringenumThe current payment status of the invoicePENDINGPENDINGREJECTEDPAIDAllowed:PENDINGREJECTEDPAIDitemsarray of objectsrequiredA list that captures details about each good or service being invoiceditems*ADD objectResponses 201Invoice created defaultError responseUpdated 4 days ago