---
title: "Get information of an invoice group"
method: GET
path: "/invoice_groups/{invoice_group_id}"
tags: ["InvoiceGroups"]
---

# Get information of an invoice group

`GET /invoice_groups/{invoice_group_id}`

## Request

- Base URL: `https://api.togai.com`
- URL: `https://api.togai.com/invoice_groups/{invoice_group_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/togaihq/apis/togai-apis/docs/invoice_groups/:invoice_group_id/get.ts> (a function with typed inputs; its response is checked against the schema)

This API let’s you to get information of an invoice group

## Path parameters

- `invoice_group_id` string, required

## Response `200`

Response to get invoice group request

- InvoiceGroupAccountsPaginatedResponse: Invoice group details
  - `id` string, required
  - `name` string, required
  - `email` string, required
  - `dailyInvoiceConsolidation` boolean, required
  - `netTermDays` integer
  - `invoiceCurrency` string, required
  - `billingAddress` Address, required: billing address of the customer
    - `phoneNumber` string: Contact number
    - `line1` string: Address line 1 (eg. Street, PO Box, Company Name)
    - `line2` string: Address line 2 (eg. apartment, suite, unit or building)
    - `postalCode` string: ZIP or postal code
    - `city` string: City, district, suburb, town or village
    - `state` string: State, county, province or region
    - `country` string: Two letter country code [ISO-3166-1 Alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
  - `accountsCount` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `accounts` string[], required
  - `nextToken` string

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response
- `429`: Error response
- `default`: Error response

## Changes

- **2023-11-03** `a6c96c5ec06e`: 1 info
  - added the optional property `allOf[#/components/schemas/InvoiceGroups]/allOf[#/components/schemas/InvoiceGroupDetails]/billingAddress/phoneNumber` to the response with the `200` status
- **2023-09-07** `cfabb13f9886`: 1 breaking, 4 info
  - removed the required property `allOf[#/components/schemas/InvoiceGroups]/allOf[#/components/schemas/InvoiceGroupDetails]/gracePeriod` from the response with the `200` status
  - added the required property `allOf[#/components/schemas/InvoiceGroups]/allOf[#/components/schemas/InvoiceGroupDetails]/email` to the response with the `200` status
  - added the required property `allOf[#/components/schemas/InvoiceGroups]/allOf[#/components/schemas/InvoiceGroupDetails]/name` to the response with the `200` status
  - added the required property `allOf[#/components/schemas/InvoiceGroups]/allOf[subschema #2]/createdAt` to the response with the `200` status
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/togaihq/apis/togai-apis/changes/invoice_groups/:invoice_group_id/get.md)

---

[API](https://skmtc.dev/togaihq/apis/togai-apis.md) - [All operations](https://skmtc.dev/togaihq/apis/togai-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/togaihq/apis/togai-apis/revisions/442f5d8f4aa0?raw)
