Contracts
List contract billing terms
get/v3/contracts/{id}/billing-terms
Request
- Base URLhttps://integrators.prod.api.tabsplatform.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:123e4567-e89b-12d3-a456-426614174000
Contract Id
Query parameters
billingTermGroupIdstring
Optional billing term group (BTG) ID to filter by
pagenumber required
Page Number
limitnumber required
Number of items to return
Response
Billing terms for the contract
Example response
{
"payload": {
"data": [
{
"quantity": 1,
"duration": 12,
"interval": "MONTH",
"invoiceDateStrategy": "FIRST_OF_PERIOD",
"netPaymentTerms": 30,
"billingType": "FLAT",
"pricingType": "SIMPLE",
"pricing": [
{
"tier": 1,
"amount": 120000,
"amountType": "TOTAL_INVOICE",
"tierMinimum": 0
}
],
"discounts": [
{
"type": "PERCENTAGE",
"amount": "0.10",
"note": "Partner discount"
},
{
"type": "FIXED",
"amount": "100",
"note": "Early payment discount"
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.