Create client
binderp_create_clientCreate a customer in Bind ERP. Writes a new customer record (with credit terms) and is not deduplicated: check binderp_list_clients for the RFC first. The RFC must be valid for the tax authority (use XAXX010101000 for a generic public customer). No message is sent. Get price_list_id and location_id from binderp_list_catalog. POST /api/Clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rfc | Yes | RFC (Mexican tax id). | |
| No | Email address. | ||
| address | No | Fiscal address. | |
| comment | No | Notes. | |
| telephone | No | Phone number. | |
| legal_name | Yes | Legal name (razon social). | |
| credit_days | No | Days of credit (0 = cash). | |
| location_id | No | Branch id (catalog locations). | |
| credit_amount | No | Credit limit. | |
| price_list_id | Yes | Price list id (catalog price_lists) (a GUID, as returned by the list tools). | |
| commercial_name | Yes | Commercial name. | |
| default_discount | No | Default discount percent. | |
| accounting_number | Yes | Accounting account number for the customer (required by the API). |