Validate a reconciled trading period
Accepts the period's computed figures of the revision the caller saw: it becomes payable and never changes again. A period reconciled again since that revision is refused, to be looked at again. While the station separates duties, the person who reconciled the period may not validate it. **Required permission:** `billing.reconciliation:validate`
/billing/v1/reconciliation-periods/{id}/validationAccepts the period's computed figures of the revision the caller saw: it becomes payable and never changes again. A period reconciled again since that revision is refused, to be looked at again. While the station separates duties, the person who reconciled the period may not validate it.
Required permission: billing.reconciliation:validate
Authorization
oauth2 In: header
Path Parameters
Period id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/billing/v1/reconciliation-periods/string/validation" \ -H "Content-Type: application/json" \ -d '{ "revision": 0 }'{ "ends_at": "2019-08-24T14:15:22Z", "id": "string", "lines": [ { "carrier_id": "string", "currency": "string", "late_refunds_count": 0, "late_refunds_total": 0, "late_sales_count": 0, "late_sales_total": 0, "owed": 0, "refunds_count": 0, "refunds_total": 0, "sales_count": 0, "sales_total": 0 } ], "opened_at": "2019-08-24T14:15:22Z", "opened_by": "string", "reconciled_at": "2019-08-24T14:15:22Z", "reconciled_by": "string", "reference": "string", "revision": 0, "separate_duties": true, "starts_at": "2019-08-24T14:15:22Z", "status": "string", "validated_at": "2019-08-24T14:15:22Z", "validated_by": "string"}Reconcile a trading period
Sums each carrier's ticket sales paid in the period, less the refunds made in it, and keeps one line per carrier with the period. May be repeated until the period is validated. **Required permission:** `billing.reconciliation:write`
Accept a register's unexplained cash difference
Accepts, with a reason kept with who and when, a register's cash difference nobody explained at its closing, so the periods it sold in may be validated. **Required permission:** `billing.reconciliation:validate`