suppliers_create
Create a new supplier by providing name, county, city, address, and registration number. Returns existing supplier if the CIF already exists, preventing duplicates.
Instructions
Create a new supplier manually. Requires name, county, city, address, and registration number. If a supplier with the same CIF already exists, returns the existing supplier instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cif | No | Tax identification number (CIF) | |
| city | Yes | City | |
| name | Yes | Supplier name | |
| No | Email address | ||
| notes | No | Internal notes | |
| phone | No | Phone number | |
| county | Yes | County | |
| address | Yes | Street address | |
| country | No | Country code ISO 3166-1 alpha-2 (default: RO) | |
| vatCode | No | VAT code (e.g., RO12345678) | |
| bankName | No | Bank name | |
| companyId | No | Company UUID (overrides configured default) | |
| isVatPayer | No | Whether supplier is a VAT payer (default: false) | |
| postalCode | No | Postal code | |
| bankAccount | No | Bank account (IBAN) | |
| registrationNumber | Yes | Trade registry number (e.g., J40/123/2020) |