InvoiceCreate and optionally send an invoiceAsk AIpost https://api-sandbox.branddrive.co/api/v1/api/v1/invoiceAPI endpoint to create an invoice and send it to a customer's email (optional).Body ParamsbranchIdint32requiredYour business's branch idsendbooleanrequiredDefaults to falseTo determine if the created invoice should be sent to the customer's emailtruefalseissuedAtdateThe date the invoice was issueddueAtdateThe date the invoice is due forcustomerIdint32The id of customer associated to the invoiceSONumberint32The Sales Order Number of the invoicecurrencystringenumThe currency of the invoiceNGNNGNDOLLARSKOBOAllowed:NGNDOLLARSKOBOnotestringAny note to be contained in the invoiceinvoiceNamestringThe name of the invoiceprocurementsarrayAn array of procurements that are associated to the invoiceprocurementspaymentMethodsarray of stringsAll the payment methods accepted in the invoicepaymentMethodsADD stringdiscountint32Discount added to the invoicetotalAmountDueint32The total amount due for the invoiceResponses 201201 400400Updated about 2 years ago