---
title: "GET /reports/bills"
method: GET
path: "/reports/bills"
tags: ["Reports"]
---

# GET /reports/bills

`GET /reports/bills`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/reports/bills`
- Auth: HTTP bearer

API to retrieve formatted bills report

## Query parameters

- `businessName` string, required
- `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'myob' | 'zohoBooks', required
- `startDate` string, required
- `endDate` string, required

## Response `200`

Successfully returned bills report

- object
  - `meta` object, required
    - `reportId` string[], required
    - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
    - `businessName` string, required
    - `createdAt` string
    - `updatedAt` string
    - `endDate` string, required: if report frequency is monthly, end date is maximum of 12 months from start date, if quaterly, its a maximum of 3 years from start date, if yearly, its maximum of 12 years from start date
    - `startDate` string, required
  - `data` object, required
    - `unpaidAmount` number, required: sum of amount due
    - `paidAmount` number, required: sum (latestAmount - amountDue)
    - `overdueAmount` number, required: where current Date > dueDate, sum amountDue

## Other responses

- `202`: Data in pending state
- `204`: No data available
- `400`: Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401`: Unauthorized - Not logged in or log in expired
- `403`: Forbidden - Not enough permission
- `500`: Server Error

## Changes

- **2026-08-10** `5cdfae3fa1fa`: 2 breaking, 13 warning, 4 info
  - removed the enum value `sandbox` from the `query` request parameter `serviceName`
  - removed the enum value `wave` from the `query` request parameter `serviceName`
  - added the new `byod` enum value to the `meta/serviceName` response property for the response status `200`
  - added the new `dynamics365Finance` enum value to the `meta/serviceName` response property for the response status `200`
  - …15 more

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/reports/bills/get.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
