ACCOUNTING ExportBuyerBills API Version 1
Exports buyer bill records from CAKE. Returns a list of buyer bills filtered by the specified date range and optional buyer. Use this endpoint to pull buyer billing data for reconciliation with lead distribution revenue.
GET
/api/1/accounting.asmx/ExportBuyerBills
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE Admin API key. Find it under Setup → System Access → API Keys. |
| start_date | datetime | Yes | Start of the billing period date range (YYYY-MM-DD HH:MM:SS). |
| end_date | datetime | Yes | End of the billing period date range (YYYY-MM-DD HH:MM:SS). |
| buyer_id | integer | No | Filter results to a specific buyer. Omit to return all buyers. |
| start_at_row | integer | No | Row offset for pagination. Default: 1. |
| row_limit | integer | No | Maximum rows to return. Default: 100. |
Sample request
GET https://yourdomain.cakemarketing.com/api/1/accounting.asmx/ExportBuyerBills?api_key=YOUR_API_KEY&start_date=2026-01-01+00:00:00&end_date=2026-01-31+23:59:59&row_limit=100
Sample response
{
"request_status": "Success",
"response": {
"buyer_bills": [
{
"bill_id": 30012,
"buyer_id": 501,
"buyer_name": "National Insurance Buyers",
"bill_date": "2026-01-31",
"bill_status": "Received",
"total_amount": "8200.00",
"currency": "USD"
}
],
"total_rows": 1
}
}
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.