myinvois_customer_create
Register a buyer in the LHDN buyer registry so it attaches to future e-invoices with one pick (customer_id) instead of typing the party every time. Validates the TIN format, and validates state_code against the LHDN state table when you send one — a buyer with no real TIN uses the LHDN generic TIN (EI00000000010 Malaysian public, EI00000000020 foreign) instead. NEXT: myinvois_invoice_generate with customer_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "myinvois_customer_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brn | No | ||
| tin | No | ||
| city | No | ||
| name | No | ||
| No | |||
| notes | No | ||
| address | No | ||
| sst_number | No | ||
| state_code | No | ||
| postal_code | No | ||
| country_code | No | ||
| contact_number | No |