billing_id.
Why it exists
You might run dozens of organizations (your customers) in OpenCard — but you don’t necessarily want dozens of invoices from us. Billing lets you say: “These organizations belong together on one invoice.”| Your setup | Billing setup |
|---|---|
| 1 org per client, separate invoices | 1 billing profile per org |
| 3 subsidiaries, one group invoice | 1 billing profile shared by 3 orgs |
| Enterprise client with 10 orgs, billed centrally | 1 billing profile for all 10 |
How it fits
Create a billing profile
billing object with id. Use that when creating or updating organizations.
Link organizations to billing
When you create an organization, setbilling_id:
billing_id are grouped on one OpenCard invoice.
Billing is configured early in onboarding — often together with TPA setup via the ocTPA plugin.
Example: three orgs, one invoice
You onboard three companies that should be billed as one entity:POST /billings→billing_id: 10POST /organizationswithbilling_id: 10for Org APOST /organizationswithbilling_id: 10for Org BPOST /organizationswithbilling_id: 10for Org C
email_invoice.
What you don’t control via billing
- Card issuer invoices to end-clients (that’s between bank and cardholder)
- Transaction webhooks or event routing (that’s per organization)
- Which products are enabled (
product_transaction,product_digital_receipt, etc. are set on the billing profile by OpenCard)

