curl --request POST \
--url https://api.example.com/api/admin/billing/invoices/generate \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"year": 2021,
"month": 6.5,
"ownerType": "user",
"ownerId": "<string>"
}
'