create_supplier
Create a supplier record by providing business name and tax registration number. Returns the created record; add contacts and addresses separately.
Instructions
Create a supplier. Returns the created record.
Contacts (email/phone) and addresses are separate resources — use
create_contact / create_address with this supplier's id afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website | No | Website URL. | |
| is_taxable | No | Subject to VAT. | |
| self_billing | No | Self-billing regime (autofaturação). | |
| business_name | Yes | Legal/trading name. | |
| is_tax_exempt | No | VAT-exempt. | |
| accounting_number | No | Accounting ledger number (conta). | |
| document_series_id | No | Default document series id for this supplier. | |
| tax_country_region | No | Tax region — `PT` (Portugal), `UE` (EU member state), `NON-UE` (non-EU). | |
| country_iso_alpha_2 | No | ISO 3166-1 alpha-2 country code, e.g. PT, US, DE. | |
| internal_observations | No | Internal-only notes. | |
| is_independent_worker | No | Independent worker / sole trader (trabalhador independente). | |
| tax_exemption_reason_id | No | Tax-exemption reason id (required when is_tax_exempt). | |
| tax_registration_number | Yes | VAT / NIF. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||