List clients

Find clients by name, VAT number or tax code.

GET https://cotlet.dev/api/v1/fatture-in-cloud/clients

read

Returns clients with name, VAT number, tax code and e-invoice code where set. Use it to match a client before create_invoice and to avoid creating duplicates.

Parameters

Parameters: list_clients
NameTypeDescription
company_id integer integer Company ID. Optional when your account has one company.
query string string Part of the name, VAT number or tax code.
page integer integer Page number, starting at 1. Default: 1.
per_page integer integer Results per page. Default: 50.

Request

cURL
curl https://cotlet.dev/api/v1/fatture-in-cloud/clients \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fatture-in-cloud", "list_clients")
Node.js
const result = await cotlet.call('fatture-in-cloud', 'list_clients');
CLI
cotlet call fatture-in-cloud list_clients

Example response

JSON

{
  "clients": [
    {
      "id": 5107,
      "name": "Rossi Consulting SRL",
      "vat_number": "01234567890",
      "tax_code": "01234567890",
      "e_invoice_code": "KRRH6B9"
    }
  ],
  "page": 1
}

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.