Update invoice settings

Update the tenant-wide defaults applied to new invoices. First retrieve the current settings from /api/bills/invoices/settings, apply your changes, then send back the full object. Requires the accounting settings permission.

Required permission: Accounting Settings

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The invoice settings

fees
object | null
required

The accounts used to record processing fee income and expense. Both are required. Provide the ids.

string | null

The default subject of the invoice email. Supports the same merge variables as the body.

string | null

The default body (HTML) of the invoice email. Supports merge variables: {customer_name}, {invoice_number}, {invoice_subject}, {invoice_link}, {due_date}, {amount_due}, {sent_by}, {organization_name}, {organization_email}, and {organization_phone}.

options
object | null

The default online payment options applied to new invoices.

Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!