Skip to main content
The API provides endpoints to:
  1. Retrieve all billing statements
  2. Retrieve a specific billing statement by UUID
  3. Retrieve all transactions from a specific billing statement
Each of these endpoints returns structured financial data, including statement periods, totals, and associated transaction details.

1⃣ Retrieve All Billing Statements

Use this endpoint to list all billing statements associated with the account.

Endpoint

GET /v3/billing-statements

cURL Request

cURL
curl -X GET \
"https://public-api.mx.clara.com/api/v3/billing-statements" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Sample JSON Response

JSON
[
  {
    "uuid": "e4a50134-447f-4c34-b6b6-78cdb43d3fd5",
    "statementStartDate": "2024-06-01",
    "statementEndDate": "2024-06-30",
    "currency": "MXN",
    "totalAmount": 10000.00
  }
]

2⃣ Retrieve a Billing Statement by UUID

Use this endpoint to retrieve the full details of a specific billing statement, including amounts, dates, and metadata.

Endpoint

GET /v3/billing-statements/{uuid}

cURL Request

cURL
curl -X GET \
"https://public-api.mx.clara.com/api/v3/billing-statements/e4a50134-447f-4c34-b6b6-78cdb43d3fd5" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Sample JSON Response

JSON
{
  "uuid": "e4a50134-447f-4c34-b6b6-78cdb43d3fd5",
  "currency": "MXN",
  "totalAmount": 10000.00,
  "statementStartDate": "2024-06-01",
  "statementEndDate": "2024-06-30",
  "status": "closed",
  "generatedAt": "2024-07-01T10:00:00Z"
}

3⃣ Retrieve Transactions from a Billing Statement

Use this endpoint to get all transactions associated with a given billing statement.

Endpoint

GET /v3/billing-statements/{uuid}/transactions

cURL Request

cURL
curl -X GET \
"https://public-api.mx.clara.com/api/v3/billing-statements/e4a50134-447f-4c34-b6b6-78cdb43d3fd5/transactions" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Sample JSON Response

JSON
[
  {
    "uuid": "0fa38f1b-8ae6-4ac6-9171-d3dba4dfecbe",
    "amount": 1200.00,
    "currency": "MXN",
    "description": "Flight booking",
    "category": "Travel",
    "date": "2024-06-10"
  }
]
💡 Tip: Billing statements and their transactions are useful for automating your month-end reconciliation process. ⚠️ Note: The sample data shown is for illustrative purposes only and does not represent actual financial or tax calculations.

Endpoint Reference

GET /api/v3/billing-statements

List billing statements (v3) Response Schema (BillingStatementPageV3):
FieldTypeExample
contentarray of BillingStatementResponse
totalElementsinteger
totalPagesinteger
sizeinteger
numberinteger

GET /api/v3/billing-statements/current

Get current billing statement (v3) Response Schema (BillingStatementResponse):
FieldTypeExample
uuidstring (uuid)221e5a80-0123-1d02-1e23-1fe23d74f5e6
periodStartDatestring (date)2025-08-03
periodEndDatestring (date)2025-09-02
statementDatestring (date)2025-09-02
currentBalancestring750.01
requiredPaymentstring750.01
paymentLimitDatestring (date)2025-09-12
paidAmountstring800.01
unpaidbooleanFalse

GET /api/v3/billing-statements/{uuid}

Get billing statement by UUID (v3) Parameters:
ParameterInTypeRequiredDescription
uuidpathstring (uuid)
Response Schema (BillingStatementResponse):
FieldTypeExample
uuidstring (uuid)221e5a80-0123-1d02-1e23-1fe23d74f5e6
periodStartDatestring (date)2025-08-03
periodEndDatestring (date)2025-09-02
statementDatestring (date)2025-09-02
currentBalancestring750.01
requiredPaymentstring750.01
paymentLimitDatestring (date)2025-09-12
paidAmountstring800.01
unpaidbooleanFalse