API referenceManagement API
Billing tax
POST
billing.payment.v1.TaxService/PreviewTax (38-payments-and-tax.md, API Surface, Tax). Calculated tax, without recording: the calculation finalization uses. Give customer or address, not both; currency is required with an address. The RPC writes nothing and takes no idempotency key, so X-Idempotency-Key is not read. No location under missing_location hold is customer_location_required.
BearerAuthheader
Authorization<token>Access token as "Bearer "
A tax_preview object: { mode, status, tax_total, lines, tax_breakdown }
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/tax/preview'Example Response
{ "id": "string", "object": "string"}