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
currencystringcustomer_account_idstringperiod_endstringperiod_startstringproject_idstring
cURL
curl --request POST 'https://pay.bytecome.com/v1/bills:generate' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<value>",
"customer_account_id": "<value>",
"period_end": "<value>",
"period_start": "<value>",
"project_id": "<value>"
}'Response contract
200 · OK
bill_nostringcurrencystringcustomer_account_idstringenvironment_idstringidstringperiod_endstringperiod_startstringproject_idstringstatusstringsubtotalstringtotalstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.