Create client
invbg_create_clientWRITE: add a company client (name, Bulstat, VAT, address, MOL). Check invbg_list_clients first to avoid a duplicate. For an individual (EGN) issue the document with invbg_create_invoice and is_to_person instead. POST /clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mol | No | Accountable person (MOL). | |
| code | No | Your own unique client code. | |
| name | Yes | Company name. | |
| town | No | ||
| address | No | ||
| bulstat | Yes | EIK/Bulstat of the company. | |
| country | No | Country name or code as inv.bg stores it, e.g. BG. | |
| is_reg_vat | No | Whether the company is VAT-registered (default false). | |
| vat_number | No | VAT number; required when is_reg_vat is true. | |
| delivery_address | No |