Skip to navigation

Self-billing

Issue invoices on behalf of your suppliers. Solvimon calculates what you owe a supplier from a subscription, and creates the invoice in the supplier’s name with you as the buyer.


Why this matters

Some platforms pay their partners instead of billing them: commission to resellers, royalties to creators, a revenue share to a marketplace seller. With self-billing, you create that invoice for the partner. The partner does not need to send you an invoice. You use the same meters, pricing plans and billing runs that you use for your customers.

How it works

A self-billing invoice is a normal invoice where the two parties trade places. The customer in Solvimon is your supplier. Your billing entity is the buyer that issues the invoice on the supplier’s behalf.

Standard invoiceSelf-billing invoice
Supplier (seller)Your billing entityThe customer
Buyer (bill to)The customerYour billing entity
Who paysThe customer pays youYou pay the customer
Bank details on the invoiceYour billing entity’s payment acceptorsThe customer’s bank accounts
Invoice numbersOne series per billing entityOne series per customer
Invoice billing_typeDEFAULTSELF_BILLING

The customer must have the role SELF_BILLING. An invoice for that customer then becomes a self-billing invoice in one of two ways:

  • The subscription has the variant SELF_BILLING. Every invoice from that subscription gets billing_type: SELF_BILLING.
  • You create a one-off invoice with billing_type: SELF_BILLING.

The rest is the same as for a standard invoice. Solvimon prices the usage, runs the billing period and moves the invoice through DRAFT and FINAL.

Usage events for the supplier Price usage on the self-billing subscription Self-billing invoice (supplier → your billing entity) Checks the invoice Bank transfer Mark the invoice as paid Your platform Solvimon Supplier

Solvimon does not send money to the supplier. You pay the supplier from your own bank or payment provider. See Paying the supplier.

Before you start

  • Turn on self-billing for Desk. The self-billing options in Desk show only when self-billing is turned on for your platform. Contact Solvimon support to turn it on. The API does not need this setting.
  • Create the supplier as an organisation. The SELF_BILLING role is not allowed for a customer of type INDIVIDUAL. Give the supplier a legal_name and a registered_address, because Solvimon prints them as the seller and uses them to calculate tax. Add the supplier’s VAT number in tax_id or tax_ids.

Set up self-billing

Via API

1

Give the supplier the SELF_BILLING role

Create the supplier with POST /v1/customers, or add the role to an existing customer with PATCH /v1/customers/{id}. roles replaces the full list, so send every role the customer must keep.

Create a self-billing supplier
curl -X POST https://test.api.solvimon.com/v1/customers \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"reference": "northwind_voices",
"type": "ORGANIZATION",
"status": "ACTIVE",
"email": "finance@northwind-voices.example.com",
"roles": ["SELF_BILLING"],
"organization": {
"legal_name": "Northwind Voices Ltd",
"tax_id": "GB123456789",
"registered_address": {
"line1": "12 Wharf Road",
"city": "London",
"postal_code": "N1 7GR",
"country": "GB"
}
}
}'
Response (shortened)
{
"object_type": "CUSTOMER",
"id": "cust_AwDeeN0veHDiTjApeK1w",
"reference": "northwind_voices",
"status": "ACTIVE",
"type": "ORGANIZATION",
"roles": ["SELF_BILLING"],
"organization": {
"legal_name": "Northwind Voices Ltd",
"tax_id": "GB123456789"
}
}

A customer can have more than one role. Send ["DEFAULT", "SELF_BILLING"] when the same company also buys from you. Each subscription then decides which way the invoice goes.

2

Add the supplier’s bank account

Create a payment acceptor with POST /v1/payment-acceptors and set customer_id instead of billing_entity_id. Solvimon prints this bank account on the supplier’s invoices as the account that you pay into.

Add a bank account to the supplier
curl -X POST https://test.api.solvimon.com/v1/payment-acceptors \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"reference": "northwind_voices_gbp",
"name": "Northwind Voices GBP account",
"customer_id": "cust_AwDeeN0veHDiTjApeK1w",
"type": "BANK_ACCOUNT",
"bank_account": {
"type": "IBAN",
"iban": "GB33BUKB20201555555555",
"bic": "BUKBGB22",
"country": "GB"
}
}'
Response (shortened)
{
"object_type": "PAYMENT_ACCEPTOR",
"id": "paya_RwDeeN0vxxHxNDCUNS1G",
"reference": "northwind_voices_gbp",
"customer_id": "cust_AwDeeN0veHDiTjApeK1w",
"type": "BANK_ACCOUNT",
"status": "ACTIVE"
}
  • Set exactly one of customer_id or billing_entity_id.
  • A customer-owned payment acceptor must be of type BANK_ACCOUNT, and the customer must have the SELF_BILLING role.
  • reference must be unique across your platform.
  • The status is ACTIVE when you leave it out. You can also create it as DRAFT.
3

Create a self-billing subscription

Create the subscription with POST /v1/pricing-plan-subscriptions/init and set variant to SELF_BILLING. The pricing plan holds the rates that you pay the supplier, for example a price per minute of usage.

Create a self-billing subscription
curl -X POST https://test.api.solvimon.com/v1/pricing-plan-subscriptions/init \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"pricing_plan_subscription": {
"reference": "northwind_voices_royalties",
"customer_reference": "northwind_voices",
"billing_entity_id": "bile_iwDeeN0vxxHxNDCUNS1G",
"variant": "SELF_BILLING",
"payment_acceptor_ids": ["paya_RwDeeN0vxxHxNDCUNS1G"],
"billing_period": { "type": "MONTH", "value": 1 },
"billing_currency": "GBP"
},
"pricing_plan_schedules": [
{
"pricing_plan_version_selector": { "pricing_plan_reference": "voice_royalties" },
"start_at": "2026-12-01T00:00:00Z",
"pricing_currency": "GBP"
}
]
}'
Response (shortened)
{
"pricing_plan_subscription": {
"object_type": "PRICING_PLAN_SUBSCRIPTION",
"id": "ppsu_KwDeeN0vxxHykcCOpL1d",
"reference": "northwind_voices_royalties",
"customer_id": "cust_AwDeeN0veHDiTjApeK1w",
"variant": "SELF_BILLING",
"payment_acceptor_ids": ["paya_RwDeeN0vxxHxNDCUNS1G"],
"status": "ACTIVE"
}
}
  • variant: SELF_BILLING is only accepted when the customer has the SELF_BILLING role.
  • payment_acceptor_ids can only contain ACTIVE bank accounts of this customer. When you leave the field out, each invoice gets all bank accounts of the supplier that are ACTIVE when Solvimon creates the invoice.
  • You can change variant only while the subscription is in DRAFT.
4

Send the supplier’s usage

Solvimon prices the events of the subscription’s customer. Usage that your own customers generate is attributed to those customers, not to the supplier. To pay the supplier for that usage, send it again with POST /v1/events/ingest and the supplier’s customer_reference. You can send it per event or as one total per period.

Usage event for the supplier
curl -X POST https://test.api.solvimon.com/v1/events/ingest \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"reference": "voice_usage_northwind_2026_12_01_0001",
"customer_reference": "northwind_voices",
"meter_reference": "voice_minutes",
"timestamp": "2026-12-01T10:15:00Z",
"meter_values": [{ "reference": "minutes", "number": "12" }]
}'

See Event ingestion API for the full event format.

Via Desk

TaskWhere in Desk
Give the supplier the roleCreate or edit the customer, then select Self billing customer under Customer role(s). The option shows for organisations only.
Add the supplier’s bank accountOpen the customer. Use the Payment acceptors block on the right. The block shows for self-billing customers only.
Create the subscriptionCreate a subscription for the supplier. Under Additional settings, set Variant to Self billing. The option shows only when the customer has the role. The payment acceptor list then shows the supplier’s bank accounts.
Change invoice numberingSettings > Invoices, sections Self-billing invoices numbering and Self-billing credit invoices numbering.
Create a one-off self-billing invoiceInvoices > Create one-off invoice, select the supplier, then turn on Self billing invoice.

You can filter the customer list on the Self billing customer role.

The self-billing invoice

Solvimon makes these changes on a self-billing invoice:

  • Title. The invoice PDF has the title “Self billing invoice”. Self-billing credit notes have this title too.
  • Parties. The supplier’s legal name, address and tax ID show in the seller block. Your billing entity shows as the buyer. Desk shows the same order on the invoice page.
  • Bank details. payment_actions contains the bank accounts set on the invoice that are still ACTIVE. The account holder name is the payment acceptor’s beneficiary_name, or else the supplier’s legal name. The payment reference is the invoice number.
  • Separate invoices. Solvimon never combines a self-billing invoice with the customer’s standard invoices. Several self-billing subscriptions of the same supplier can combine into one self-billing invoice when combine is on.
  • Tax per line. A per-line tax breakdown often adds no information on a self-billing invoice. Set show_tax_per_line_item to false on the subscription to show tax only in the totals. See Invoice operations.

Invoice numbering

Self-billing invoices and self-billing credit notes have their own number formats, set on the platform. Each supplier has its own counter. Two suppliers can therefore both receive INV-SELF-2026-12-000001. A number is unique per supplier, not across your platform.

SettingDefault
self_billing_invoice_number_configurationINV-SELF-YYYY-MM-000001: prefix INV-SELF, year and month, six digits, counter resets every month
self_billing_credit_invoice_number_configurationCR-SELF-YYYY-MM-000001 with the same rules

Change a format with PATCH /v1/platforms/{id}:

Change the self-billing invoice number format
curl -X PATCH https://test.api.solvimon.com/v1/platforms/<platformId> \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"invoice_settings": {
"self_billing_invoice_number_configuration": {
"prefix": "SB-{{billing_entity.registered_address.country}}",
"dynamic_prefix": ["YEAR", "MONTH"],
"separator": "-",
"increment_by": 1,
"first_number": 1,
"minimum_number_of_digits": 6,
"reset_period": { "type": "MONTHLY" }
}
}
}'

The prefix takes the same placeholders as the standard numbering. See Customising invoices. Solvimon rejects a self-billing format that produces the same numbers as your standard invoice or credit note format. GET /v1/platforms/{id} returns the defaults when you have not set a format.

Tax

Solvimon calculates tax as a sale from the supplier to your billing entity:

  • The supplier’s registered address sets the seller country and the tax rates.
  • The supplier’s tax IDs and tax registrations are used. Your billing entity’s tax settings are not.
  • The usual domestic, EU and reverse-charge rules apply with the supplier as the seller. This also applies when you use a tax calculation integration.
  • When the supplier and your billing entity are both in the United Kingdom, Solvimon adds the tax note SELF_BILLING_UK_DOMESTIC: “The VAT shown is your output tax due to HMRC”. HMRC requires this text on a domestic self-billed VAT invoice.

Solvimon cannot calculate tax for a self-billing invoice when the supplier is not an organisation or has no registered address. Complete the supplier’s details before the billing run.

Paying the supplier

Solvimon creates the invoice and shows the supplier’s bank details on it. It does not send the payment. Pay the supplier from your own bank or payment provider, and then record the payment on the invoice with PATCH /v1/invoices/{id}:

PATCH
/v:version/invoices/:resourceId
curl -X PATCH https://test.api.solvimon.com/v1/invoices/invo_JwDeeN0vxxHykcCOpL1d \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"payment_status": "PAID"
}'

The invoice must be FINAL. See Invoice payment status.

One-off self-billing invoices

To pay a supplier an amount outside a subscription, create a one-off invoice with billing_type: SELF_BILLING:

Create a one-off self-billing invoice
curl -X POST https://test.api.solvimon.com/v1/invoices \
-H "X-API-KEY: <apiKey>" \
-H "Content-Type: application/json" \
-d '{
"type": "ONE_OFF",
"billing_type": "SELF_BILLING",
"customer_id": "cust_AwDeeN0veHDiTjApeK1w",
"billing_entity_id": "bile_iwDeeN0vxxHxNDCUNS1G",
"billing_currency": "GBP"
}'

Solvimon rejects billing_type: SELF_BILLING when the customer does not have the SELF_BILLING role. If you set payment_acceptor_ids, they must be bank accounts of that customer. When you leave them out, Solvimon uses the supplier’s active bank accounts.

Credit notes

A credit note on a self-billing invoice is also a self-billing document. It keeps the swapped parties, the supplier’s bank details and the supplier’s tax treatment, and it takes its number from the self-billing credit note series. The PDF title of the credit note is also “Self billing invoice”, not “Credit”.

Finding self-billing invoices

  • Filter invoices on billing_type with the search endpoint. Filter customers on role: SELF_BILLING.
  • The invoice, invoice header, invoice lines and invoice tax reports have an Invoice Billing Type column. On self-billing rows, the sold-from columns contain the supplier and the sold-to columns contain your billing entity.

Edge cases

  • Emails and workflows. Solvimon sends invoice emails and runs invoice workflows for self-billing invoices in the same way as for standard invoices. The recipient is the supplier. Check that the text of your overdue and payment-reminder emails also fits an invoice that you pay.
  • Removing the role. Without the SELF_BILLING role, you cannot create new self-billing subscriptions, one-off invoices or bank accounts for the customer.
  • Quotes. A quote can create a subscription with the variant SELF_BILLING. The same role check applies.

See also: Payment options, Customising invoices and Tax.