Skip to content

Elevate Admin API (1.44)

Admin Level Management

Currently provides read-only access to list admin entities required by other endpoints. Maintenance of these entities is available via the Elevate frontend or by contacting the Elevate support team.

Definitions

  • Contract Owner - the party with which a Customer is contracted to purchase products and services - segregates Customers for reporting and/or branding purposes.

  • Billing Cycle - means of segregating a Contract Owner's Customer base into separate billing processes which have different start days.

  • Supplier - the third party supplier of the product or service - allows for a number of different accounts with each supplier.

  • Invoice Document Profile - defines the configuration used to generate invoices for Customers. This is used on creation of Sites only.

  • Admin Contact - a configurable contact usable across the entire platform that can receive tripwire, usage cap, and auto-close notifications.

  • Email Template - a named template of text and substituted values that is used to send emails from the system.

  • Invoice Marketing Information - for a given sub-brand and invoice template, the marketing information used to populate the invoice template slots. This might be blank, text, images or rich text.

Languages
Servers
https://rest.elevatebilling.com/v1

contract-owners

Contract owners segregate Customers for reporting and/or branding purposes

Operations

billing-cycles

Billing cycles segregate a Contract Owner's Customer base into separate billing processes

Operations

Get a list of available billing cycles

Request

Security
bearerAuth
Query
pageinteger(int32)(PageParam)>= 1required

Page of results to show

Example: page=1
pageSizeinteger(int32)(ResultsPerPageParam)[ 1 .. 1000 ]required

Results to return per page

Example: pageSize=100
sortstring(SortParam)

Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change

Example: sort=id,name | name:desc
fieldsstring(FieldsParam)

Comma-delimited list of the field(s) to return if only a subset is required

Example: fields=id,name
namestring(StringFilterParam)

Filter by name

Example: name=xyz | in:x,y | like:xyz
curl -i -X GET \
  'https://rest.elevatebilling.com/v1/billing-cycles?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/jsonArray [
idinteger(int64)read-only

Billing cycle identifier

Example: 1
namestring[ 1 .. 255 ] characters[\w\p{L}\s%£@&#=':;`’,|!_—–\(\)\\/\-\+\.\?\*\...required

Billing cycle name

startDayOfPeriodinteger(int32)[ 1 .. 28 ]required

Start day of period. If using a monthly billing cycle, then this would be the day of the month from 1 to 28. If using as weekly or daily billing cycle, then this would be the day of the week from 1 (Mon) to 7 (Sun)

lengthOfPeriodinteger(int32)[ 1 .. 12 ]

This is the length of the billing period and should be set to one by default which is the monthly billing cycle. A value of three would indicate that it is a quarterly billing cycle.

Default 1
Example: 1
periodUnitstring(RentalProductUnit)required

Rental product unit

Enum"DAILY""WEEKLY""MONTHLY"
maxDaysBeforeCloseableinteger(int32)[ 1 .. 9999 ]

The number of days before the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too early (for example trying to close the 31st March 2014 bill run on 13th March 2014).

Default 15
Example: 15
maxDaysAfterCloseableinteger(int32)[ 1 .. 9999 ]

The number of days after the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too late (for example trying to close the 31st March 2014 bill run on 30th April 2014).

Default 15
Example: 15
maxBackDateableUsageInDaysinteger(int32)>= 0

Any usage records in this bill cycle will not be billed out if older than this setting

currencyCodestring(CurrencyCode)= 3 characters[A-Z]{3}required

ISO 4217 3-character currency code

Example: "GBP"
defaultInvoiceDatestring(BillRunDefaultInvoiceDates)

Default invoice dates

Enum"TODAY""END_OF_BILL_RUN""END_OF_BILL_RUN_PLUS_ONE"
completionTypestring(CompletionType)required

How to auto-complete a bill run

Enum"DISABLED""CLOSE_ONLY""CLOSE_AND_FINALIZE"
autoCloseHourinteger(int32)[ 0 .. 23 ]

Hour to automatically close the bill run at

autoCloseMinuteinteger(int32)[ 0 .. 59 ]

Minute to automatically close the bill run at

autoCloseOffsetDaysinteger(int32)[ -9999 .. 9999 ]

Number of days after bill run period end date to automatically close the bill run. Must be within the maxDaysBeforeCloseable and maxDaysAfterCloseable boundaries

autoCloseUserIdinteger(int64)

Identifier of user who will automatically close the bill run

Example: 1
billingCycleRulesArray of objects(BillingCycleRule)
billingCycleStatsArray of objects(BillingCycleStat)
contractOwnerCustomerCountsArray of objects(ContractOwnerCustomerCount)
groupNamestring[ 0 .. 50 ] characters[a-zA-Z0-9\p{L}\s\+\/\-\._\&amp;#=,:@()]*

a name to tag this billing cycle with. This is used to group billing cycles together for bulk processing

]
Response
application/json
[ { "id": 1, "name": "string", "startDayOfPeriod": 1, "lengthOfPeriod": 1, "periodUnit": "DAILY", "maxDaysBeforeCloseable": 15, "maxDaysAfterCloseable": 15, "maxBackDateableUsageInDays": 0, "currencyCode": "GBP", "defaultInvoiceDate": "TODAY", "completionType": "DISABLED", "autoCloseHour": 23, "autoCloseMinute": 59, "autoCloseOffsetDays": -9999, "autoCloseUserId": 1, "billingCycleRules": [], "billingCycleStats": [], "contractOwnerCustomerCounts": [], "groupName": "string" } ]

Create a new billing cycle

Request

Security
bearerAuth
Headers
defaultBillRunStartsOnstring

Start date override for the generated open bill run when the billing cycle is created

Bodyapplication/jsonrequired

New billing cycle

namestring[ 1 .. 255 ] characters[\w\p{L}\s%£@&#=':;`’,|!_—–\(\)\\/\-\+\.\?\*\...required

Billing cycle name

startDayOfPeriodinteger(int32)[ 1 .. 28 ]required

Start day of period. If using a monthly billing cycle, then this would be the day of the month from 1 to 28. If using as weekly or daily billing cycle, then this would be the day of the week from 1 (Mon) to 7 (Sun)

lengthOfPeriodinteger(int32)[ 1 .. 12 ]

This is the length of the billing period and should be set to one by default which is the monthly billing cycle. A value of three would indicate that it is a quarterly billing cycle.

Default 1
Example: 1
periodUnitstring(RentalProductUnit)required

Rental product unit

Enum"DAILY""WEEKLY""MONTHLY"
maxDaysBeforeCloseableinteger(int32)[ 1 .. 9999 ]

The number of days before the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too early (for example trying to close the 31st March 2014 bill run on 13th March 2014).

Default 15
Example: 15
maxDaysAfterCloseableinteger(int32)[ 1 .. 9999 ]

The number of days after the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too late (for example trying to close the 31st March 2014 bill run on 30th April 2014).

Default 15
Example: 15
maxBackDateableUsageInDaysinteger(int32)>= 0

Any usage records in this bill cycle will not be billed out if older than this setting

currencyCodestring(CurrencyCode)= 3 characters[A-Z]{3}required

ISO 4217 3-character currency code

Example: "GBP"
defaultInvoiceDatestring(BillRunDefaultInvoiceDates)

Default invoice dates

Enum"TODAY""END_OF_BILL_RUN""END_OF_BILL_RUN_PLUS_ONE"
completionTypestring(CompletionType)required

How to auto-complete a bill run

Enum"DISABLED""CLOSE_ONLY""CLOSE_AND_FINALIZE"
autoCloseHourinteger(int32)[ 0 .. 23 ]

Hour to automatically close the bill run at

autoCloseMinuteinteger(int32)[ 0 .. 59 ]

Minute to automatically close the bill run at

autoCloseOffsetDaysinteger(int32)[ -9999 .. 9999 ]

Number of days after bill run period end date to automatically close the bill run. Must be within the maxDaysBeforeCloseable and maxDaysAfterCloseable boundaries

autoCloseUserIdinteger(int64)

Identifier of user who will automatically close the bill run

Example: 1
billingCycleRulesArray of objects(BillingCycleRule)
billingCycleStatsArray of objects(BillingCycleStat)
contractOwnerCustomerCountsArray of objects(ContractOwnerCustomerCount)
groupNamestring[ 0 .. 50 ] characters[a-zA-Z0-9\p{L}\s\+\/\-\._\&amp;#=,:@()]*

a name to tag this billing cycle with. This is used to group billing cycles together for bulk processing

curl -i -X POST \
  https://rest.elevatebilling.com/v1/billing-cycles \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'defaultBillRunStartsOn: string' \
  -d '{
    "name": "string",
    "startDayOfPeriod": 1,
    "lengthOfPeriod": 1,
    "periodUnit": "DAILY",
    "maxDaysBeforeCloseable": 15,
    "maxDaysAfterCloseable": 15,
    "maxBackDateableUsageInDays": 0,
    "currencyCode": "GBP",
    "defaultInvoiceDate": "TODAY",
    "completionType": "DISABLED",
    "autoCloseHour": 23,
    "autoCloseMinute": 59,
    "autoCloseOffsetDays": -9999,
    "autoCloseUserId": 1,
    "billingCycleRules": [
      {
        "type": "REVENUE",
        "thresholdPercentage": 1,
        "thresholdMinValue": 50000,
        "thresholdMaxValue": 50000,
        "active": true,
        "comparisonPeriod": "THREE_PERIODS",
        "comparisonBasedOn": "VALUE"
      }
    ],
    "billingCycleStats": [
      {
        "type": "REVENUE",
        "value": 0,
        "comparisonPeriod": "THREE_PERIODS"
      }
    ],
    "contractOwnerCustomerCounts": [
      {}
    ],
    "groupName": "string"
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)read-only

Billing cycle identifier

Example: 1
namestring[ 1 .. 255 ] characters[\w\p{L}\s%£@&#=':;`’,|!_—–\(\)\\/\-\+\.\?\*\...required

Billing cycle name

startDayOfPeriodinteger(int32)[ 1 .. 28 ]required

Start day of period. If using a monthly billing cycle, then this would be the day of the month from 1 to 28. If using as weekly or daily billing cycle, then this would be the day of the week from 1 (Mon) to 7 (Sun)

lengthOfPeriodinteger(int32)[ 1 .. 12 ]

This is the length of the billing period and should be set to one by default which is the monthly billing cycle. A value of three would indicate that it is a quarterly billing cycle.

Default 1
Example: 1
periodUnitstring(RentalProductUnit)required

Rental product unit

Enum"DAILY""WEEKLY""MONTHLY"
maxDaysBeforeCloseableinteger(int32)[ 1 .. 9999 ]

The number of days before the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too early (for example trying to close the 31st March 2014 bill run on 13th March 2014).

Default 15
Example: 15
maxDaysAfterCloseableinteger(int32)[ 1 .. 9999 ]

The number of days after the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too late (for example trying to close the 31st March 2014 bill run on 30th April 2014).

Default 15
Example: 15
maxBackDateableUsageInDaysinteger(int32)>= 0

Any usage records in this bill cycle will not be billed out if older than this setting

currencyCodestring(CurrencyCode)= 3 characters[A-Z]{3}required

ISO 4217 3-character currency code

Example: "GBP"
defaultInvoiceDatestring(BillRunDefaultInvoiceDates)

Default invoice dates

Enum"TODAY""END_OF_BILL_RUN""END_OF_BILL_RUN_PLUS_ONE"
completionTypestring(CompletionType)required

How to auto-complete a bill run

Enum"DISABLED""CLOSE_ONLY""CLOSE_AND_FINALIZE"
autoCloseHourinteger(int32)[ 0 .. 23 ]

Hour to automatically close the bill run at

autoCloseMinuteinteger(int32)[ 0 .. 59 ]

Minute to automatically close the bill run at

autoCloseOffsetDaysinteger(int32)[ -9999 .. 9999 ]

Number of days after bill run period end date to automatically close the bill run. Must be within the maxDaysBeforeCloseable and maxDaysAfterCloseable boundaries

autoCloseUserIdinteger(int64)

Identifier of user who will automatically close the bill run

Example: 1
billingCycleRulesArray of objects(BillingCycleRule)
billingCycleStatsArray of objects(BillingCycleStat)
contractOwnerCustomerCountsArray of objects(ContractOwnerCustomerCount)
groupNamestring[ 0 .. 50 ] characters[a-zA-Z0-9\p{L}\s\+\/\-\._\&amp;#=,:@()]*

a name to tag this billing cycle with. This is used to group billing cycles together for bulk processing

Response
application/json
{ "id": 1, "name": "string", "startDayOfPeriod": 1, "lengthOfPeriod": 1, "periodUnit": "DAILY", "maxDaysBeforeCloseable": 15, "maxDaysAfterCloseable": 15, "maxBackDateableUsageInDays": 0, "currencyCode": "GBP", "defaultInvoiceDate": "TODAY", "completionType": "DISABLED", "autoCloseHour": 23, "autoCloseMinute": 59, "autoCloseOffsetDays": -9999, "autoCloseUserId": 1, "billingCycleRules": [ {} ], "billingCycleStats": [ {} ], "contractOwnerCustomerCounts": [ {} ], "groupName": "string" }

Get a specific billing cycle

Request

Security
bearerAuth
Path
billing_cycle_idinteger(int64)(IdParam)>= 1required

Billing cycle identifier

Example: 1
curl -i -X GET \
  https://rest.elevatebilling.com/v1/billing-cycles/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Billing cycle found

Bodyapplication/json
idinteger(int64)read-only

Billing cycle identifier

Example: 1
namestring[ 1 .. 255 ] characters[\w\p{L}\s%£@&#=':;`’,|!_—–\(\)\\/\-\+\.\?\*\...required

Billing cycle name

startDayOfPeriodinteger(int32)[ 1 .. 28 ]required

Start day of period. If using a monthly billing cycle, then this would be the day of the month from 1 to 28. If using as weekly or daily billing cycle, then this would be the day of the week from 1 (Mon) to 7 (Sun)

lengthOfPeriodinteger(int32)[ 1 .. 12 ]

This is the length of the billing period and should be set to one by default which is the monthly billing cycle. A value of three would indicate that it is a quarterly billing cycle.

Default 1
Example: 1
periodUnitstring(RentalProductUnit)required

Rental product unit

Enum"DAILY""WEEKLY""MONTHLY"
maxDaysBeforeCloseableinteger(int32)[ 1 .. 9999 ]

The number of days before the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too early (for example trying to close the 31st March 2014 bill run on 13th March 2014).

Default 15
Example: 15
maxDaysAfterCloseableinteger(int32)[ 1 .. 9999 ]

The number of days after the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too late (for example trying to close the 31st March 2014 bill run on 30th April 2014).

Default 15
Example: 15
maxBackDateableUsageInDaysinteger(int32)>= 0

Any usage records in this bill cycle will not be billed out if older than this setting

currencyCodestring(CurrencyCode)= 3 characters[A-Z]{3}required

ISO 4217 3-character currency code

Example: "GBP"
defaultInvoiceDatestring(BillRunDefaultInvoiceDates)

Default invoice dates

Enum"TODAY""END_OF_BILL_RUN""END_OF_BILL_RUN_PLUS_ONE"
completionTypestring(CompletionType)required

How to auto-complete a bill run

Enum"DISABLED""CLOSE_ONLY""CLOSE_AND_FINALIZE"
autoCloseHourinteger(int32)[ 0 .. 23 ]

Hour to automatically close the bill run at

autoCloseMinuteinteger(int32)[ 0 .. 59 ]

Minute to automatically close the bill run at

autoCloseOffsetDaysinteger(int32)[ -9999 .. 9999 ]

Number of days after bill run period end date to automatically close the bill run. Must be within the maxDaysBeforeCloseable and maxDaysAfterCloseable boundaries

autoCloseUserIdinteger(int64)

Identifier of user who will automatically close the bill run

Example: 1
billingCycleRulesArray of objects(BillingCycleRule)
billingCycleStatsArray of objects(BillingCycleStat)
contractOwnerCustomerCountsArray of objects(ContractOwnerCustomerCount)
groupNamestring[ 0 .. 50 ] characters[a-zA-Z0-9\p{L}\s\+\/\-\._\&amp;#=,:@()]*

a name to tag this billing cycle with. This is used to group billing cycles together for bulk processing

Response
application/json
{ "id": 1, "name": "string", "startDayOfPeriod": 1, "lengthOfPeriod": 1, "periodUnit": "DAILY", "maxDaysBeforeCloseable": 15, "maxDaysAfterCloseable": 15, "maxBackDateableUsageInDays": 0, "currencyCode": "GBP", "defaultInvoiceDate": "TODAY", "completionType": "DISABLED", "autoCloseHour": 23, "autoCloseMinute": 59, "autoCloseOffsetDays": -9999, "autoCloseUserId": 1, "billingCycleRules": [ {} ], "billingCycleStats": [ {} ], "contractOwnerCustomerCounts": [ {} ], "groupName": "string" }

Update a billing cycle

Request

Security
bearerAuth
Path
billing_cycle_idinteger(int64)(IdParam)>= 1required

Billing cycle identifier

Example: 1
Bodyapplication/json-patch+jsonrequired

A set of JSONPatch operations to be performed

Array [
opstringrequired

The JSON Patch operation to be performed

Enum"add""remove""replace""move""copy""test"
pathstringrequired

A JSON-Pointer

valueobject

The value to be used within the operations

fromstring

A string containing a JSON Pointer value

]
curl -i -X PATCH \
  https://rest.elevatebilling.com/v1/billing-cycles/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '[
    {
      "op": "replace",
      "path": "/name",
      "value": "MyNewName"
    }
  ]'

Responses

Success

Bodyapplication/json
idinteger(int64)read-only

Billing cycle identifier

Example: 1
namestring[ 1 .. 255 ] characters[\w\p{L}\s%£@&#=':;`’,|!_—–\(\)\\/\-\+\.\?\*\...required

Billing cycle name

startDayOfPeriodinteger(int32)[ 1 .. 28 ]required

Start day of period. If using a monthly billing cycle, then this would be the day of the month from 1 to 28. If using as weekly or daily billing cycle, then this would be the day of the week from 1 (Mon) to 7 (Sun)

lengthOfPeriodinteger(int32)[ 1 .. 12 ]

This is the length of the billing period and should be set to one by default which is the monthly billing cycle. A value of three would indicate that it is a quarterly billing cycle.

Default 1
Example: 1
periodUnitstring(RentalProductUnit)required

Rental product unit

Enum"DAILY""WEEKLY""MONTHLY"
maxDaysBeforeCloseableinteger(int32)[ 1 .. 9999 ]

The number of days before the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too early (for example trying to close the 31st March 2014 bill run on 13th March 2014).

Default 15
Example: 15
maxDaysAfterCloseableinteger(int32)[ 1 .. 9999 ]

The number of days after the periodEndDate that the billing period can be closed. e.g it should be defaulted to a sensible value like 15 days and prevent the closure the billing run too late (for example trying to close the 31st March 2014 bill run on 30th April 2014).

Default 15
Example: 15
maxBackDateableUsageInDaysinteger(int32)>= 0

Any usage records in this bill cycle will not be billed out if older than this setting

currencyCodestring(CurrencyCode)= 3 characters[A-Z]{3}required

ISO 4217 3-character currency code

Example: "GBP"
defaultInvoiceDatestring(BillRunDefaultInvoiceDates)

Default invoice dates

Enum"TODAY""END_OF_BILL_RUN""END_OF_BILL_RUN_PLUS_ONE"
completionTypestring(CompletionType)required

How to auto-complete a bill run

Enum"DISABLED""CLOSE_ONLY""CLOSE_AND_FINALIZE"
autoCloseHourinteger(int32)[ 0 .. 23 ]

Hour to automatically close the bill run at

autoCloseMinuteinteger(int32)[ 0 .. 59 ]

Minute to automatically close the bill run at

autoCloseOffsetDaysinteger(int32)[ -9999 .. 9999 ]

Number of days after bill run period end date to automatically close the bill run. Must be within the maxDaysBeforeCloseable and maxDaysAfterCloseable boundaries

autoCloseUserIdinteger(int64)

Identifier of user who will automatically close the bill run

Example: 1
billingCycleRulesArray of objects(BillingCycleRule)
billingCycleStatsArray of objects(BillingCycleStat)
contractOwnerCustomerCountsArray of objects(ContractOwnerCustomerCount)
groupNamestring[ 0 .. 50 ] characters[a-zA-Z0-9\p{L}\s\+\/\-\._\&amp;#=,:@()]*

a name to tag this billing cycle with. This is used to group billing cycles together for bulk processing

Response
application/json
{ "id": 1, "name": "string", "startDayOfPeriod": 1, "lengthOfPeriod": 1, "periodUnit": "DAILY", "maxDaysBeforeCloseable": 15, "maxDaysAfterCloseable": 15, "maxBackDateableUsageInDays": 0, "currencyCode": "GBP", "defaultInvoiceDate": "TODAY", "completionType": "DISABLED", "autoCloseHour": 23, "autoCloseMinute": 59, "autoCloseOffsetDays": -9999, "autoCloseUserId": 1, "billingCycleRules": [ {} ], "billingCycleStats": [ {} ], "contractOwnerCustomerCounts": [ {} ], "groupName": "string" }

Delete a billing cycle

Request

Security
bearerAuth
Path
billing_cycle_idinteger(int64)(IdParam)>= 1required

Billing cycle identifier

Example: 1
Headers
cascadestring

Cascade the delete to any other cycles with the same group name, True or False

curl -i -X DELETE \
  https://rest.elevatebilling.com/v1/billing-cycles/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'cascade: string'

Responses

Success

Body

suppliers

The third party supplier of a product or service available to be billed via Elevate

Operations

invoice-document-profiles

Invoice Document Profiles determine the invoice and summary layouts for billing

Operations

invoice-templates

Document templates used to define the invoice structure and look and feel

Operations

invoice-summary-templates

Document templates used to define the invoice summary structure and look and feel

Operations

invoice-summary-template-components

Document summary template components used to define the invoice summary structure and look and feel

Operations

electronic-summary-templates

Document templates used to define the electronic summary structure and look and feel

Operations

invoice-marketing-info

Marketing information used to define the contents of the invoice template slots for a sub-brand

Operations

invoice-marketing-info-preview

Generate a preview with fake data and the invoice marketing information

Operations

admin-contacts

Administration contacts used to receive tripwire, usage cap, and auto-close notifications

Operations

commission-agents

Commission agents can be set against customers to manage commission

Operations

email-templates

Email templates used to communicate via email

Operations

custom-field-definitions

Custom field definition are used to store additional information about entities in Elevate

Operations

contract-owner-sub-brands

Operations

invoice-marketing-info-trial-preview

Operations