a process by which customers are invoiced for their usage, rental and adhoc charges
- Adjust the schedule of the bill run by specified number of periods
Elevate Bill Run API (1.9)
- https://rest.elevatebilling.com/v1/bill-runs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/bill-runs?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&billRunStatus=OPEN&billingCycleId=1&billingCycleGroupName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Bill run name
Sortable bill run name
The billing agent may wish a date that is different to appear on the invoice to manage customer perception.
All the usage charges up to this date will be included as part of the bill run
Bill run summary status
Count of usage suspense records for this bill run now
Count of rental suspense records for this bill run now
Bill runs associated to cycles that are set to auto-close may be paused. A paused bill run will not be automatically closed/finalised by the system
[ { "id": 1, "name": "string", "sortableName": "string", "billingCycleId": 1, "created": "2019-08-24", "periodStartDate": "2019-08-24", "periodEndDate": "2019-08-24", "invoiceDate": "2019-08-24", "includeUsageUntilDate": "2019-08-24", "billRunStatus": "OPEN", "summaryStatus": "PROPERTIES", "billingUserAdminId": 1, "parallel": true, "revenueInMajorCurrency": 1, "usageSuspenseCount": 1, "rentalSuspenseCount": 1, "maxInvoiceValue": 0, "maxInvoiceCustomerId": 1, "paused": true } ]
- https://rest.elevatebilling.com/v1/bill-runs/{bill_run_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/bill-runs/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Bill run found
Bill run name
Sortable bill run name
The billing agent may wish a date that is different to appear on the invoice to manage customer perception.
All the usage charges up to this date will be included as part of the bill run
Bill run summary status
Count of usage suspense records for this bill run now
Count of rental suspense records for this bill run now
{ "id": 1, "name": "string", "sortableName": "string", "billingCycleId": 1, "created": "2019-08-24", "periodStartDate": "2019-08-24", "periodEndDate": "2019-08-24", "invoiceDate": "2019-08-24", "includeUsageUntilDate": "2019-08-24", "billRunStatus": "OPEN", "summaryStatus": "PROPERTIES", "billingUserAdminId": 1, "parallel": true, "revenueInMajorCurrency": 1, "usageSuspenseCount": 1, "rentalSuspenseCount": 1, "maxInvoiceValue": 0, "maxInvoiceCustomerId": 1, "paused": true }
Request
Close, reopen, and move a bill run to the next step. To fully close the bill run please initially patch the billRunStatus to CLOSED and summaryStatus to REPORTING. To generate draft invoices of a CLOSED bill run, PATCH the summaryStatus to DRAFT_INVOICES. To generate full invoices of a CLOSED bill run, PATCH the summaryStatus to FULL_INVOICES. To distribute and finalise the bill run having generated invoices, PATCH the summaryStatus to DISTRIBUTION. Please refer to the examples
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/bill-runs/{bill_run_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/bill-runs/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/billRunStatus",
"value": "CLOSED"
},
{
"op": "replace",
"path": "/summaryStatus",
"value": "REPORTING"
},
{
"op": "replace",
"path": "/invoiceDate",
"value": "2023-02-04"
}
]'Success
Bill run name
Sortable bill run name
The billing agent may wish a date that is different to appear on the invoice to manage customer perception.
All the usage charges up to this date will be included as part of the bill run
Bill run summary status
Count of usage suspense records for this bill run now
Count of rental suspense records for this bill run now
{ "id": 1, "name": "string", "sortableName": "string", "billingCycleId": 1, "created": "2019-08-24", "periodStartDate": "2019-08-24", "periodEndDate": "2019-08-24", "invoiceDate": "2019-08-24", "includeUsageUntilDate": "2019-08-24", "billRunStatus": "OPEN", "summaryStatus": "PROPERTIES", "billingUserAdminId": 1, "parallel": true, "revenueInMajorCurrency": 1, "usageSuspenseCount": 1, "rentalSuspenseCount": 1, "maxInvoiceValue": 0, "maxInvoiceCustomerId": 1, "paused": true }
- https://rest.elevatebilling.com/v1/adjust-bill-run-schedule/{bill_run_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://rest.elevatebilling.com/v1/adjust-bill-run-schedule/1?periods=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Bill run name
Sortable bill run name
The billing agent may wish a date that is different to appear on the invoice to manage customer perception.
All the usage charges up to this date will be included as part of the bill run
Bill run summary status
Count of usage suspense records for this bill run now
Count of rental suspense records for this bill run now
{ "id": 1, "name": "string", "sortableName": "string", "billingCycleId": 1, "created": "2019-08-24", "periodStartDate": "2019-08-24", "periodEndDate": "2019-08-24", "invoiceDate": "2019-08-24", "includeUsageUntilDate": "2019-08-24", "billRunStatus": "OPEN", "summaryStatus": "PROPERTIES", "billingUserAdminId": 1, "parallel": true, "revenueInMajorCurrency": 1, "usageSuspenseCount": 1, "rentalSuspenseCount": 1, "maxInvoiceValue": 0, "maxInvoiceCustomerId": 1, "paused": true }