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

# GET /reports/credits

`GET /reports/credits`

## Request

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

Combines /creditScores and /creditRatings

## Query parameters

- `businessName` string, required
- `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'zohoBooks' | 'byod', required
- `startDate` string
- `endDate` string
- `offset` number
- `limit` number
- `orderBy` string

## Response `200`

- CreditsResponseDto
  - `count` number, required
  - `reports` CreditsReport[], required
    - `meta` CreditRatingsReportMetaData, required
      - `reportId` string, required
      - `serviceName` 'quickbooks' | 'xero' | 'freshbooks' | 'quickbooksDesktop' | 'sageIntacct' | 'sageBusinessCloud' | 'oracleNetsuite' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'zohoBooks' | 'myob', required
      - `businessName` string, required
      - `startDate` string, date-time, required
      - `endDate` string, date-time, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `data` CreditsData, required
      - `scorePit` number, required
      - `score12m` number, required
      - `score24m` number, required
      - `score36m` number, required
      - `spRating` 'AAA' | 'AA+' | 'AA' | 'AA-' | 'A+' | 'A' | 'A-' | 'BBB+' | 'BBB' | 'BBB-' | 'BB+' | 'BB' | 'BB-' | 'B+' | 'B' | 'B-' | 'CCC+' | 'CCC' | 'CCC-' | 'CC' | 'C' | 'D', required
      - `moodysRating` 'Aaa' | 'Aa1' | 'Aa2' | 'Aa3' | 'A1' | 'A2' | 'A3' | 'Baa1' | 'Baa2' | 'Baa3' | 'Ba1' | 'Ba2' | 'Ba3' | 'B1' | 'B2' | 'B3' | 'Caa1' | 'Caa2' | 'Ca' | 'C', required
      - `fitchRating` 'AAA' | 'AA+' | 'AA' | 'AA-' | 'A+' | 'A' | 'A-' | 'BBB+' | 'BBB' | 'BBB-' | 'BB+' | 'BB' | 'BB-' | 'B+' | 'B' | 'B-' | 'CCC' | 'DDD' | 'DD' | 'D', required
      - `dbrsRating` 'AAA' | 'AA (high)' | 'AA' | 'AA (low)' | 'A (high)' | 'A' | 'A (low)' | 'BBB (high)' | 'BBB' | 'BBB (low)' | 'BB (high)' | 'BB' | 'BB (low)' | 'CCC (high)' | 'CCC' | 'CCC (low)' | 'CC' | 'C' | 'D', required
      - `railzRating` 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D', required
      - `railzGrade` 'Very Poor' | 'Poor' | 'Fair' | 'Good' | 'Very Good' | 'Excellent', required
      - `description` string, required

## 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`: 5 breaking, 24 warning, 2 info
  - removed the enum value `myob` from the `query` request parameter `serviceName`
  - removed the enum value `plaid` from the `query` request parameter `serviceName`
  - removed the enum value `shopify` from the `query` request parameter `serviceName`
  - removed the enum value `square` from the `query` request parameter `serviceName`
  - …27 more

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/reports/credits/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)
