Creates a new draft sale invoice in Altoviz. The invoice is created in draft status and can be modified before being finalized. Use when you need to generate an invoice for a customer with line items.
datestringDate of the invoice in YYYY-MM-DD format. If not provided, current date will be used.
linesRequiredarrayLine items for the invoice. At least one line item is required.
regionstringTax region for this invoice. Must be one of: FR (France), EU (European Union), IE (Ireland), DOM (French overseas territories), Corse (Corsica), Monaco. If not provided, will use customer's default region.
subjectstringSubject/title for the invoice
vatModestringVAT mode: Auto (automatic), Debit (on invoice), or Collection (on payment)
vatNotestringVAT note to print on the invoice
metadataobjectAdditional metadata as key-value pairs
customerIdRequiredintegerCustomer ID to associate with this invoice. Use ALTOVIZ_FIND_CUSTOMER to look up customer IDs.
internalIdstringYour own internal reference ID for this invoice
footerNotesstringNotes to print in the footer section of the invoice
headerNotesstringNotes to print in the header section of the invoice
liableToVatbooleanIndicates whether the invoice is liable to VAT
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.