Company profile
core_set_company_profileThe business's own identity: seller block, tax id, payment instructions, country, currencies, tax scheme, numbering. One per workspace. The invoice document's seller comes from here — a document without it is incomplete, not wrong (INV-22). Patch semantics: only the fields you pass change; the name is required only the first time. Effects: company profile written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Legal or trading name, as it should appear on documents. | |
| tax_id | No | EIN / VAT id — printed on documents where present. | |
| address | No | Postal address, as it should print. | |
| country | No | Where the business is, ISO 3166 two letters (US, NZ, CZ, HU). Sets how dates and amounts print. | |
| currency | No | Default billing currency, ISO 4217 (USD, NZD, CZK, EUR). Every invoice carries one; this is the one proposed. | |
| tax_label | No | What the tax is called on documents: GST, VAT, Sales tax, ÁFA, DPH. | |
| currencies | No | Every currency this business bills in, comma-separated (e.g. "USD, CZK"). An invoice may carry any of these and no other. | |
| footer_note | No | One line at the document foot (returns policy, thanks, registration no). | |
| tax_rate_bp | No | Default tax rate in basis points (1500 = 15%). Applied to every line unless the line says otherwise. Only meaningful when registered. | |
| tax_id_label | No | How the tax id is captioned on documents: GST No., IRD number, VAT ID, EIN. Defaults to "Tax ID". | |
| number_format | No | Invoice numbering. Tokens: {NNNN} the sequence (width = number of Ns), {YYYY} or {YY} the year of issue. Default INV-{NNNN}; INV-{YYYY}-{NNN} restarts each year. | |
| tax_registered | No | Registered for the tax (GST/VAT)? Pass it explicitly either way — false is an answer, the setup checklist stays open until one is given. Unregistered businesses cannot put tax on a line; registered ones print TAX INVOICE and their tax id. | |
| payment_instructions | No | How customers pay: bank details, reference format. Printed on every invoice. |