curl --request GET \
--url https://api.togai.com/invoice_groups \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"dailyInvoiceConsolidation": true,
"invoiceCurrency": "<string>",
"billingAddress": {
"phoneNumber": "<string>",
"line1": "<string>",
"line2": "<string>",
"postalCode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>"
},
"accountsCount": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"netTermDays": 123
}
],
"nextToken": "<string>"
}This API let’s you to list invoice groups
curl --request GET \
--url https://api.togai.com/invoice_groups \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"dailyInvoiceConsolidation": true,
"invoiceCurrency": "<string>",
"billingAddress": {
"phoneNumber": "<string>",
"line1": "<string>",
"line2": "<string>",
"postalCode": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>"
},
"accountsCount": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"netTermDays": 123
}
],
"nextToken": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response to get invoice group request
Show child attributes
320billing address of the customer
Show child attributes
Contact number
Address line 1 (eg. Street, PO Box, Company Name)
Address line 2 (eg. apartment, suite, unit or building)
ZIP or postal code
City, district, suburb, town or village
State, county, province or region
Two letter country code ISO-3166-1 Alpha-2
x >= 0