Create invoice
Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
Invoice date.
Due date. Alias: due_date.
Currency code, e.g. NGN.
Line items. Document total is computed from here.
1Contact uuid, name, or email. Aliases: contact, contact_uuid, vendor.
Invoice number. Auto-suggested if omitted.
Document title. Alias: title.
Internal note. Alias: note.
Note printed on the invoice.
Default pending. Use draft to save without posting.
Default 1.
Shipping amount added to the invoice.
Accounts receivable control account — name, uuid, or code.
Payment collected on create. 0 or omit for unpaid.
Cash or bank account name when recording payment on create. Aliases: paid_through, payment_account.
Response
Invoice created