Create expense
Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
Expense date.
1Cash or bank name paid from. Payment is assumed in full from the line totals — do not send amount_paid (that key is only for invoices and bills).
Alias: bill_no.
Set true (or 1) to create a prepaid_expenses record instead of a regular expense. The expense amount is deferred and recognized monthly over prepayment_duration.
Number of months to recognize the prepaid expense over. Required when is_prepayment is true.
Asset account name for the prepaid balance. Defaults to the business prepaid expenses account.
Response
Expense created