Create invoiceAsk AIpost https://api.helcim.com/v2/invoices/Body ParamscurrencystringenumrequiredThe three-letter ISO 4217 currency code used for all monetary amounts in this invoice.CADUSDAllowed:CADUSDlineItemsarray of objectsrequiredlength between 1 and 100A list of line items to include in the invoice. Must contain at least 1 item and no more than 100.lineItems* objectdescriptionstringrequiredA short description of the product or service.quantityfloatrequiredThe quantity of the line item. Can have up to 2 decimal places.pricefloatrequiredThe unit price for a single quantity of this line item, before tax or discounts.taxAmountfloatThe tax amount for this line item.discountAmountfloatThe discount amount applied to this line item.skustringThe stock keeping unit (SKU) code for this product (or service).ADD objectcustomerIdintegerDefaults to 0Unique customer ID to associate with this invoice.billingAddressobjectThe billing address for this invoice.Address objectshippingobjectThe shipping details for this invoice, including shipping cost, method, and destination address.Shipping Data objectpickupobjectThe pickup details for this invoice, including the pickup date and the name of the person collecting the order.Pickup Data objecttaxobjectThe invoice-level tax details.Tax Data objectdiscountobjectThe invoice-level discount details.Discount Data objecttypestringenumDefaults to INVOICEThe invoice type. Allowed values: ESTIMATE, QUOTE, ORDER, PURCHASE_ORDER, INVOICE, STATEMENT, REGISTRATION, CREDIT. Defaults to INVOICE if omitted.ESTIMATEQUOTEORDERPURCHASE_ORDERINVOICESTATEMENTREGISTRATIONCREDITShow 8 enum valuesstatusstringenumDefaults to DUEThe initial status of the invoice. Allowed values: CANCELLED, DUE, PAID, SHIPPED, COMPLETED, REFUNDED, IN_PROGRESS. Defaults to DUE if omitted.CANCELLEDDUEPAIDSHIPPEDCOMPLETEDREFUNDEDIN_PROGRESSAllowed:CANCELLEDDUEPAIDSHIPPEDCOMPLETEDREFUNDEDIN_PROGRESSconvenienceFeeEnabledbooleanIndicates whether a convenience fee is enabled for this invoice. If not provided, the system will use the merchant's global Fee Saver settings to determine this value.truetruefalsetipAmountfloatOptional tip amount to include. Must be greater than zero if provided.invoiceNumberstringOptional custom invoice number. If omitted or blank, the system will generate one automatically based on the Invoice Settings.notesstringOptional notes to display at the bottom of the invoice, visible to the customer.Responses 200Successful defaultFailedUpdated about 1 year ago