Integrate automated receipt generation directly into your POS, E-commerce store, or Mobile App.
The Kredo API uses Bearer Tokens to authenticate requests. You can generate an API Token from your dashboard under Settings > Connected Apps.
Include the token in the Headers of all your requests:
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
Accept: application/json
Creates a new receipt/invoice and instantly generates the printable PDF and Public Tracking Link.
{
"type": "receipt",
"customer_name": "John Doe",
"customer_email": "john@example.com",
"customer_phone": "08012345678",
"payment_method": "Bank Transfer",
"items": [
{
"description": "Premium Consultation",
"qty": 1,
"price": 50000
},
{
"description": "Software License",
"qty": 2,
"price": 15000
}
],
"tax_rate": 7.5,
"notes": "Thank you for your business!",
"status": "paid"
}
{
"success": true,
"message": "Document generated via API successfully",
"data": {
"public_id": "REC-482109A1C",
"document_number": "REC-2026-0001",
"view_url": "https://trykredo.com/shared/invoice/REC-482109A1C"
}
}
Retrieve a list of all documents generated by your business.
limit (int): Number of results (default: 50)offset (int): Pagination offset{
"success": true,
"data": [
{
"type": "receipt",
"document_number": "REC-2026-0001",
"public_id": "REC-482109A1C",
"customer_name": "John Doe",
"amount": 86000,
"status": "paid",
"issued_at": "2026-03-23 10:00:00"
}
]
}