POST /v1/bills:generate
BillingService_GenerateBill
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
currencystringperiod_endstringperiod_startstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/bills:generate' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<value>",
"period_end": "<value>",
"period_start": "<value>"
}'Response contract
200 · OK
bill_nostringcurrencystringidstringperiod_endstringperiod_startstringstatusstringsubtotalstringtotalstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.