Produce a validated period's payouts
One payout and its statement per carrier the period owes something, for the amount of its validated line. Producing them again records nothing more. While duties were separated at validation, the person who validated the period may not produce its payouts. **Required permission:** `billing.payout:produce`
/billing/v1/reconciliation-periods/{id}/payoutsOne payout and its statement per carrier the period owes something, for the amount of its validated line. Producing them again records nothing more. While duties were separated at validation, the person who validated the period may not produce its payouts.
Required permission: billing.payout:produce
Authorization
oauth2 In: header
Path Parameters
Period id
Response Body
*/*
*/*
curl -X POST "https://example.com/billing/v1/reconciliation-periods/string/payouts"[ { "amount": 0, "carried_count": 0, "carried_total": 0, "carrier_id": "string", "charges": [ { "amount": 0, "bases": [ "string" ], "charge_id": "string", "charge_revision": 0, "closed_at": "2019-08-24T14:15:22Z", "departure_at": "2019-08-24T14:15:22Z", "departure_id": "string", "vehicle_cycle_id": "string", "vehicle_id": "string", "vehicle_plate": "string" } ], "charges_count": 0, "charges_total": 0, "corrections": [ { "amount": 0, "approved_at": "2019-08-24T14:15:22Z", "approved_by": "string", "charge_id": "string", "correction_request_id": "string", "reason": "string", "vehicle_cycle_id": "string" } ], "corrections_count": 0, "corrections_total": 0, "currency": "string", "evidence_kind": "string", "external_reference": "string", "id": "string", "late_refunds_count": 0, "late_refunds_total": 0, "late_sales_count": 0, "late_sales_total": 0, "paid_at": "2019-08-24T14:15:22Z", "payment_method": "string", "payment_recorded_at": "2019-08-24T14:15:22Z", "payment_recorded_by": "string", "payment_reference": "string", "payment_register_id": "string", "period_ends_at": "2019-08-24T14:15:22Z", "period_id": "string", "period_reference": "string", "period_starts_at": "2019-08-24T14:15:22Z", "produced_at": "2019-08-24T14:15:22Z", "produced_by": "string", "proofs_not_kept": [ "string" ], "refunds_count": 0, "refunds_total": 0, "sales_count": 0, "sales_total": 0, "statement_number": "string", "status": "string" }]List a period's payouts and their statements
**Required permission:** `billing.payout:read`
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`