Clarafintech Invoices API
Retrieve Mexico CFDI invoice metadata linked to transactions.
Retrieve Mexico CFDI invoice metadata linked to transactions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/clarafintech:clarafintech-invoices-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Clara Invoices API
summary: Corporate card and spend management API for Mexico, Brazil, and Colombia.
description: Use the Clara API to manage corporate cards, retrieve transactions, provision users, reconcile billing statements, download transaction documents, and automate spend-management workflows. Every API request requires both mutual TLS and an OAuth 2.0 Bearer token. This docs-published schema is derived from the current Clara developer documentation and should be checked against backend-owned API contracts before being treated as exhaustive.
version: 3.0.0
contact:
name: Clara Integration Support
email: integration.support.mx@clara.team
url: https://developers.clara.team
servers:
- url: https://public-api.mx.clara.com
description: Mexico production
- url: https://public-api.br.clara.com
description: Brazil production
- url: https://public-api.co.clara.com
description: Colombia production
- url: https://public-api.mx.clara.com/api-test
description: Mexico sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
- url: https://public-api.br.clara.com/api-test
description: Brazil sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
- url: https://public-api.co.clara.com/api-test
description: Colombia sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
security:
- MutualTLS: []
BearerAuth: []
tags:
- name: Invoices
description: Retrieve Mexico CFDI invoice metadata linked to transactions.
paths:
/api/v3/transactions/{uuid}/invoices:
get:
operationId: listTransactionInvoicesV3
summary: List transaction invoices
description: Retrieve Mexico CFDI invoice metadata associated with a specific transaction. Invoice download URLs, when returned, are temporary.
tags:
- Invoices
parameters:
- $ref: '#/components/parameters/TransactionUuid'
responses:
'200':
description: Transaction invoice data.
content:
application/json:
schema:
$ref: '#/components/schemas/TransactionInvoiceResponseV3'
'404':
$ref: '#/components/responses/NotFound'
/api/v3/invoices:
get:
operationId: listInvoicesV3
summary: List invoices
description: Find invoices with optional filters for invoice number, issuer RFC, transaction UUID, invoice ID, and document date range.
tags:
- Invoices
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- name: invoiceNumber
in: query
description: Filter by invoice number.
schema:
type: string
- name: issuerRfc
in: query
description: Filter by issuer RFC.
schema:
type: string
- name: transactionUuid
in: query
description: Filter by transaction UUID.
schema:
type: string
format: uuid
- name: invoiceId
in: query
description: Filter by invoice ID.
schema:
type: string
- name: documentDateRangeStart
in: query
description: Invoice document-date range start. Use together with documentDateRangeEnd.
schema:
type: string
format: date
- name: documentDateRangeEnd
in: query
description: Invoice document-date range end. Use together with documentDateRangeStart.
schema:
type: string
format: date
responses:
'200':
description: Paginated invoices.
content:
application/json:
schema:
$ref: '#/components/schemas/InvoicePageV3'
'400':
$ref: '#/components/responses/BadRequest'
components:
responses:
BadRequest:
description: Bad request. Fix invalid parameters or missing fields before retrying.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
parameters:
TransactionUuid:
name: uuid
in: path
required: true
description: Transaction UUID.
schema:
type: string
format: uuid
Size:
name: size
in: query
description: Number of records per page. Use 100 for large exports unless an endpoint documents a lower limit.
schema:
type: integer
minimum: 1
maximum: 100
default: 20
Page:
name: page
in: query
description: Zero-based page index.
schema:
type: integer
minimum: 0
default: 0
schemas:
InvoiceV3:
type: object
properties:
invoiceId:
type: string
invoiceNumber:
type:
- string
- 'null'
taxRegime:
type: string
issuer:
type: object
properties:
rfc:
type: string
businessName:
type: string
additionalProperties: true
taxReceipts:
type: object
additionalProperties: true
tax:
type: object
additionalProperties: true
amount:
type: object
properties:
total:
type: number
subTotal:
type: number
currency:
type: string
additionalProperties: true
documentDate:
type: string
format: date
xmlStatus:
type: string
xmlCode:
type: string
additionalProperties: true
TransactionInvoiceResponseV3:
type: object
properties:
transactionUuid:
type: string
format: uuid
invoices:
type: array
items:
$ref: '#/components/schemas/InvoiceV3'
content:
type: array
items:
$ref: '#/components/schemas/InvoiceV3'
totalElements:
type: integer
totalPages:
type: integer
size:
type: integer
number:
type: integer
additionalProperties: true
ErrorResponse:
type: object
required:
- message
properties:
code:
type: string
description: Machine-readable Clara or HTTP error code when available.
message:
type: string
description: Human-readable error message.
timestamp:
type: string
format: date-time
details:
type: array
items:
type: object
additionalProperties: true
additionalProperties: true
InvoicePageV3:
type: object
properties:
content:
type: array
items:
$ref: '#/components/schemas/InvoiceV3'
totalElements:
type: integer
totalPages:
type: integer
size:
type: integer
number:
type: integer
first:
type: boolean
last:
type: boolean
numberOfElements:
type: integer
empty:
type: boolean
additionalProperties: true
securitySchemes:
MutualTLS:
type: mutualTLS
description: All API requests require a valid Clara-issued X.509 client certificate.
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: OAuth 2.0 Bearer token from /oauth/token.
BasicAuth:
type: http
scheme: basic
description: Use CLIENT_ID:CLIENT_SECRET when requesting an access token.
externalDocs:
description: Clara API documentation
url: https://developers.clara.team
x-source: Derived from the developers.clara.team documentation in this repository. Replace with the backend-owned OpenAPI contract if one is available.