For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Billing | Profiles

Get the default billing profiles where your organization is the supplier or the billed (managed) customer.

get

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.

Authorizations
X-API-KEYstringRequired

Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.

Query parameters
customerIdinteger · int32Optional

Optional ID of a billed customer to filter by.

Responses
200

The billing profiles.

application/json
customerIdinteger · int32Optional
supplierIdinteger · int32Optional
supplierNamestring · nullableOptional

Name of the billing supplier.

cycleIdinteger · int32Optional
dayinteger · int32Optional
monthinteger · int32Optional
cronExpressionstring · nullableOptional
activebooleanOptional

Whether billing runs for this profile.

splitByBillingAddressbooleanOptional

Whether invoices are split by billing address.

idinteger · int32Optional
cyclestring · nullableOptional
get/v1/billing/profiles
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"
    }
  }
]

Create the self-profile (internal billing) of your organization.

post
Authorizations
X-API-KEYstringRequired

Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.

Body

Body for creating the own (self) profile. The billing cycle is always monthly.

activebooleanOptional

Whether billing runs for this profile.

splitByBillingAddressbooleanOptional

Whether invoices are split by billing address.

dayinteger · int32 · min: 1 · max: 31Optional

Day of the month the billing runs. Default: 2.

monthinteger · int32 · min: 1 · max: 12Optional

Month the billing runs for a yearly cycle. Default: 12.

Responses
201

The created billing profile.

application/json
customerIdinteger · int32Optional
supplierIdinteger · int32Optional
supplierNamestring · nullableOptional

Name of the billing supplier.

cycleIdinteger · int32Optional
dayinteger · int32Optional
monthinteger · int32Optional
cronExpressionstring · nullableOptional
activebooleanOptional

Whether billing runs for this profile.

splitByBillingAddressbooleanOptional

Whether invoices are split by billing address.

idinteger · int32Optional
cyclestring · nullableOptional
post/v1/billing/profiles
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.

patch

active can only be changed on the self-profile (customerId = supplierId). A managed customer can only change splitByBillingAddress on its supplier's profile.

Authorizations
X-API-KEYstringRequired

Required for authorization in every request. You can request an API-Key for your tenant in the integrations section of the equipme App.

Path parameters
profileIdinteger · int32Required

ID of the billing profile.

Body
Responses
200

The updated billing profile.

application/json
customerIdinteger · int32Optional
supplierIdinteger · int32Optional
supplierNamestring · nullableOptional

Name of the billing supplier.

cycleIdinteger · int32Optional
dayinteger · int32Optional
monthinteger · int32Optional
cronExpressionstring · nullableOptional
activebooleanOptional

Whether billing runs for this profile.

splitByBillingAddressbooleanOptional

Whether invoices are split by billing address.

idinteger · int32Optional
cyclestring · nullableOptional
patch/v1/billing/profiles/{profileId}
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?