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

Parameters: get_client
NameTypeDescription
client_id string required string Client ID from list_clients or create_client.

Request

cURL
curl https://cotlet.dev/api/v1/facturama/clients/client_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("facturama", "get_client", {"client_id":"client_8c41d2"})
Node.js
const result = await cotlet.call('facturama', 'get_client', {"client_id":"client_8c41d2"});
CLI
cotlet call facturama get_client --data '{"client_id":"client_8c41d2"}'

Example response

JSON

{
  "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"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.