Commerce
createInvoice
Create Invoice
Create and finalize one shop invoice from a reviewed preview.
Arguments
currencystringoptionalNo description is declared in the tool schema.customerobjectrequiredNo description is declared in the tool schema.dueDatestringrequiredNo description is declared in the tool schema.idempotencyKeystringrequiredNo description is declared in the tool schema.itemsobject[]requiredNo description is declared in the tool schema.memostringoptionalNo description is declared in the tool schema.spaceIdstringoptionalNo description is declared in the tool schema.
Returns
Returns its Cloud payment link and PDF.
Declared limits
currency: minimum length 3currency: maximum length 3idempotencyKey: minimum length 8idempotencyKey: maximum length 100items: minimum items 1items: maximum items 50memo: minimum length 1memo: maximum length 1000
Ask for it
The Cloud routes these requests to this verb.
- create an invoice
- invoice this customer
- make a payment link for this order
Pair it with
The verbs that finish the job.