Overview
- The TMF666 API provides a standardized mechanism for billing account management, such as creation, update, retrieval, and deletion of billing accounts.
- Using the TMF666 API you can perform the following operations on billing accounts.
- Retrieve the list of billing accounts from the system
- Get the billing account details
- Create a billing account
- Update an existing billing account
- Delete an existing billing account
In general, you can consider the various use cases listed based on the operation you want to perform.
Starting from the Winter ’27 release, only the Direct Access option is supported for this API.
It is assumed that you have completed the following.
- Enabling Access to Industry APIs
- Ensuring that the required licenses are enabled. See TMF666 v5 Account Management API.
NOTE:
- For mandatory fields and resource mappings, see TMF666 v5 Resource Mappings.
| I want to | Request Type | Example URL |
|---|---|---|
| Retrieve and display details of a particular billing account. | GET by ID | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID} NOTE: For an invalid ID, you receive HTTP 404 error. |
| Based on the provided field values, retrieve and display details of billing accounts. | GET with Fields | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?fields=name NOTE: The requested fields are part of the output if they have a value. |
| List all the billing accounts present in the system. | GET List | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount |
| List billing accounts present in the system based on the filter applied. | GET List with Filtering | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?name=TMF666 Account NOTE: The requested fields are part of the output if they have a value. |
| List billing accounts, limit the number of records to a specified limit, and start the results from the page specified by offset. | GET List by limit and offset | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?offset=4&pageLimit=1&pageinfo=true |
| Create a new billing account by providing the required details. | POST | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount NOTE: A new billing account is created based on the values mentioned for the mandatory fields. |
| Update details of a particular billing account. | PATCH | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID} |
| Delete a billing account. | DELETE | {{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID} NOTE: DELETE is a soft delete. The account state is set to Inactive. |
Consider you want to retrieve details of a particular billing account.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID}
Consider you want to retrieve billing accounts and return only these fields in the output.
- id
- name
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?fields=name
Consider there are multiple billing accounts in the system and you want to list all of them.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount
Consider you want to retrieve billing accounts with applied filter values. Supported filters include name and id.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?name=TMF666 Account
Consider you want to retrieve a list of billing accounts, limit the number of records, and start the results from the specified offset.
offsetis the number of records to skip. Minimum value is 0.pageLimitis the page size. Minimum value is 1 and maximum value is 2000.- Pagination is supported for up to 100,000 records (
offset + pageLimitmust be less than or equal to 100,000).
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount?offset=4&pageLimit=1&pageinfo=true
Consider you want to create a new billing account. name and relatedParty are mandatory.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount
Consider you want to update details of a particular billing account.
Patchable attributes include name, state, accountType, bill structure fields (format, presentationMedia, cycleSpecification.frequency), and tax exemption fields (certificateNumber, start and end dates, and reason).
These attributes are not patchable: id, href, lastUpdate, relatedParty, contact, contact.contactMedium, and defaultPaymentMethod.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID}
DELETE is a soft delete. The API sets the billing account state to Inactive. The record is not physically deleted.
{{orgendpoint}}/services/data/{{version}}/connect/comms/accountmanagement/v5/billingAccount/{ID}
No request body.
Status code 204 with no response body.