SmartGare
API referenceEndpoints

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`

POST/billing/v1/charge-lists/{id}/submit

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

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/billing/v1/charge-lists/string/submit"
{  "actor": "string",  "at": "2019-08-24T14:15:22Z",  "effective_at": "2019-08-24T14:15:22Z",  "id": "string",  "status": "DRAFT"}