Get client
One client with all fiscal data and email addresses.
GET https://cotlet.dev/api/v1/facturama/clients/{client_id}
read
Returns the saved receiver data of one client: RFC, name, CFDI use, tax zip code, fiscal regime and email. Use it to check that a client has every field a CFDI 4.0 invoice needs before you stamp.
Parameters
| Name | Type | Description |
|---|---|---|
| client_id string required | string | Client ID from list_clients or create_client. |
Request
curl https://cotlet.dev/api/v1/facturama/clients/client_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("facturama", "get_client", {"client_id":"client_8c41d2"}) const result = await cotlet.call('facturama', 'get_client', {"client_id":"client_8c41d2"}); cotlet call facturama get_client --data '{"client_id":"client_8c41d2"}' Example response
{
"client_id": "cl_4821",
"rfc": "XAXX010101000",
"name": "Estudio Norte SA de CV",
"cfdi_use": "G03",
"tax_zip_code": "64000",
"fiscal_regime": "601",
"email": "billing@estudionorte.example"
}