Billing | Profiles
Get the default billing profiles where your organization is the supplier or the billed (managed) customer.
The self-profile (internal billing) has customerId = supplierId. A managed customer also gets the profile of its direct supplier, not those of partner suppliers. A standalone customer without a self-profile gets an empty list.
Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.
Optional ID of a billed customer to filter by.
The billing profiles.
Name of the billing supplier.
Whether billing runs for this profile.
Whether invoices are split by billing address.
Forbidden: Resource access denied.
GET /v1/billing/profiles HTTP/1.1
X-API-KEY: YOUR_API_KEY
Accept: */*
[
{
"customerId": 1,
"supplierId": 1,
"supplierName": "text",
"cycleId": 1,
"day": 1,
"month": 1,
"cronExpression": "text",
"active": true,
"splitByBillingAddress": true,
"id": 1,
"cycle": "text",
"self": {
"href": "text",
"method": "text"
}
}
]Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.
Body for creating the own (self) profile. The billing cycle is always monthly.
Whether billing runs for this profile.
Whether invoices are split by billing address.
Day of the month the billing runs. Default: 2.
Month the billing runs for a yearly cycle. Default: 12.
The created billing profile.
Name of the billing supplier.
Whether billing runs for this profile.
Whether invoices are split by billing address.
Bad request: day or month out of range.
Forbidden: Resource access denied.
Conflict: The self-profile already exists.
POST /v1/billing/profiles HTTP/1.1
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"active": true,
"splitByBillingAddress": true,
"day": 1,
"month": 1
}{
"customerId": 1,
"supplierId": 1,
"supplierName": "text",
"cycleId": 1,
"day": 1,
"month": 1,
"cronExpression": "text",
"active": true,
"splitByBillingAddress": true,
"id": 1,
"cycle": "text",
"self": {
"href": "text",
"method": "text"
}
}Patch active and splitByBillingAddress of a billing profile where your organization is the supplier or the billed customer.
active can only be changed on the self-profile (customerId = supplierId). A managed customer can only change splitByBillingAddress on its supplier's profile.
Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.
ID of the billing profile.
The updated billing profile.
Name of the billing supplier.
Whether billing runs for this profile.
Whether invoices are split by billing address.
Bad request: active patched on a profile other than your own, a managed customer patching anything but splitByBillingAddress, or an invalid patch.
Forbidden: Resource access denied.
NotFound: No billing profile with this ID exists for your organization.
PATCH /v1/billing/profiles/{profileId} HTTP/1.1
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 89
{
"patchDocument": {
"operations": [
{
"value": null,
"path": "text",
"op": "text",
"from": "text"
}
]
}
}{
"customerId": 1,
"supplierId": 1,
"supplierName": "text",
"cycleId": 1,
"day": 1,
"month": 1,
"cronExpression": "text",
"active": true,
"splitByBillingAddress": true,
"id": 1,
"cycle": "text",
"self": {
"href": "text",
"method": "text"
}
}Last updated
Was this helpful?