Billing
Get invoice of the current month for the given tenant.
Fetch invoice of the tenant for the current month.
Note: this API is not applicable for system tenants.
get/_api/billing/invoice/current
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
tenantstring string
Tenant name. If not set it uses the tenant invoking the request.
Response
Successfully fetched invoice details.
Example - https://stripe.com/docs/api/invoices/upcoming
Note: the example here is an excerpt please follow the link above for a complete example.
Example response
{
"object": "invoice",
"account_country": "US",
"account_name": "Stripe.com",
"amount_due": 40298,
"amount_remaining": 40298
}Changes
No recorded changes to this operation across all 1 revision of this API.