Find or Create Supplier
resolve_supplierFind or create a supplier by registry code, VAT number, IBAN, or name. Optionally create a client if not found.
Instructions
Resolve supplier by registry code, VAT number, IBAN, or name; optionally create a client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | Bank account (IBAN) | |
| name | No | Supplier name from invoice | |
| vat_no | No | VAT number (KMKR) | |
| country | No | Country code for auto-create (default EST) | |
| reg_code | No | Registry code (registrikood) | |
| auto_create | No | Create client if not found (default false) | |
| is_physical_entity | No | Natural person (default false = legal entity) |