Billing details.
Whatever prints beneath Bill to on your invoices is held on the organization and maintained through a pair of routes at https://api.uncensoredllm.ai/v1. They answer a signed-in console session rather than an API key; in the console they sit behind the International invoice section of the Account page. Save them ahead of pulling an invoice, because every PDF is built from the values in force at that moment.
Reading them
GET /v1/account/billing-details returns data: the company and its address lines, the country, the tax id and the email your invoices draw on, each null or empty until saved. Reading is open to any console sign-in on the organization; a request without one answers 401 unauthorized.
Saving them
PATCH /v1/account/billing-details writes them and requires the owner or the billing role; anyone else gets 403 forbidden, and a malformed body 400 invalid_request. A field you do not send is left as it was, while sending null or a blank string clears that one.
| Field | Type | Notes |
|---|---|---|
company | string or null | The customer name shown; falls back to the organization’s own name when null. |
address_lines | array | As many as 4 lines, each up to 120 characters; null clears them. |
country | string or null | The billing country. |
tax_id | string or null | A VAT, GST, EIN or other tax number, reproduced exactly. |
email | string or null | Shown on the invoice; defaults to the organization’s own email. |
Example
The body a PATCH takes, here filling four of the five fields:
{ "company": "Globex LLC", "address_lines": ["500 Market Ave", "Portland OR 97201"], "country": "US", "tax_id": "EIN 11-2233445"}Download an invoice afterwards and those values sit under Bill to.
Billing details: questions
Which roles can change these details?
Anyone signed in to the organization can read them, but writing is limited to the owner or the billing role, so a plain member gets 403 forbidden and cannot alter what an invoice shows. API keys, admin keys included, do not reach these routes.
How do I undo a field I filled by mistake?
Send that field as null or as an empty string in the PATCH. Fields you do not include keep what they held, so only the ones you pass change.
Where exactly do these values appear?
Under Bill to on each invoice PDF, which is rendered from the current values when you download it. Save them before the download, and the tax id is reproduced character for character. See invoices.