Skip to main content
PATCH
Change the Invoices settings

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Query Parameters

dryRun
boolean

Check and report the change without saving it

Body

application/json

The settings to change

isActive
boolean
default:false

Turns the Invoices module on: admins can issue invoices, use invoice templates and let members pay by bank transfer against an invoice. Switching it on without a product set finds or creates the workspace's manual invoice product and stores it in invoices.productId. Dry-run and confirm with the person first.

productId
integer | null

Manual invoice product that invoices are issued under. Filled automatically with the workspace's invoice product when the module is switched on; admins can pick another manual invoice product. The id of a Product in this workspace.

sendEmailAutomatically
boolean
default:true

Emails invoices automatically when they are generated, marked as paid, and so on. Off means invoices are only emailed when an admin sends them by hand.

Response

OK