API referenceEndpoints
Approve a charge list
Puts a submitted list in force at once, or at a later instant. **Required permission:** `billing.charge-list:approve`
POST
/billing/v1/charge-lists/{id}/approvePuts a submitted list in force at once, or at a later instant.
Required permission: billing.charge-list:approve
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*ApproveChargeListRequest
Response Body
*/*
*/*
curl -X POST "https://example.com/billing/v1/charge-lists/string/approve" \ -H "Content-Type: application/json" \ -d '{}'{ "actor": "string", "at": "2019-08-24T14:15:22Z", "effective_at": "2019-08-24T14:15:22Z", "id": "string", "status": "DRAFT"}Revise a draft charge list
Replaces the draft's name and lines. **Required permission:** `billing.charge-list:write`
Submit a charge list for approval
Checks the draft whole and freezes its content under a fingerprint. Two lines that could charge one stay for the same thing are refused. **Required permission:** `billing.charge-list:write`