API Reference

Create Sales Invoice

This API is used for creating sales invoice in Paper.id, and also to provide a payment link that can be shared to the customer as needed.

By creating invoice using this API, also automatically create a new partner if the partner number is not yet registered

PathData TypeValidationDescription
invoice_dateDateMandatoryDate of the invoice
due_dateDateMandatoryDue date for the invoice
numberStringMandatoryInvoice number
customer.idStringMandatoryID of the customer
customer.nameStringMandatoryName of the customer
customer.emailStringMandatoryEmail of the customer
customer.phoneStringMandatoryPhone number of the customer
itemsArrayMandatoryList of items in the invoice
items.nameStringMandatoryProduct Name
items.descriptionStringMandatoryDescription of the item
items.quantityIntMandatoryQuantity of the item
items.priceIntMandatoryPrice of the item
items.discountIntOptionalDiscount on the item
items.tax_idIntOptionalTax ID on the item
items.additional_infoObjectOptionalAdditional information related to the item
signature_text_headerStringOptionalText above the document signature area
signature_text_footerStringOptionalText below the document signature area
terms_conditionStringOptionalTerms and conditions for the invoice
notesStringOptionalAdditional notes for the invoice
send.emailBooleanMandatoryFlag to determine if the invoice should be sent via email
send.whatsappBooleanMandatoryFlag to determine if the invoice should be sent via WhatsApp
send.smsBooleanMandatoryFlag to determine if the invoice should be sent via SMS.
additional_infoObjectOptionalAdditional information for the invoice
total_discountIntOptionalTotal discount applied to the transaction
additional_feeObjectOptionalAny extra charges or fees incurred in addition to the base transaction amount
additional_fee.delivery_feeIntOptionalThe charge for delivering goods or services
Language
Credentials
Click Try It! to start a request and see the response here!