InvoiceGroups
Get information of an invoice group
This API let’s you to get information of an invoice group
GET
/
invoice_groups
/
{invoice_group_id}
curl --request GET \
--url https://api.togai.com/invoice_groups/{invoice_group_id} \
--header 'Authorization: <authorization>'
{
"id": "inv_group.20rvWRxQcQK.0ZwPG",
"name": "Invoice Group 1",
"dailyInvoiceConsolidation": true,
"accountsCount": 2,
"accounts": [
"ACC0001",
"ACC0002"
],
"gracePeriod": 3,
"netTermDays": 45,
"invoiceCurrency": "USD",
"billingAddress": {
"phoneNumber": "+919876543210",
"line1": "2281 Broadway Street",
"line2": "G-31",
"postalCode": "29501",
"city": "Florence",
"state": "South Carolina",
"country": "US",
"nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
invoice_group_id
string
requiredResponse
200 - application/json
id
string
requiredname
string
requiredemail
string
requireddailyInvoiceConsolidation
boolean
requirednetTermDays
integer
invoiceCurrency
string
requiredbillingAddress
object
requiredbilling address of the customer
accountsCount
integer
requiredcreatedAt
string
requiredupdatedAt
string
requiredaccounts
string[]
requirednextToken
string
curl --request GET \
--url https://api.togai.com/invoice_groups/{invoice_group_id} \
--header 'Authorization: <authorization>'
{
"id": "inv_group.20rvWRxQcQK.0ZwPG",
"name": "Invoice Group 1",
"dailyInvoiceConsolidation": true,
"accountsCount": 2,
"accounts": [
"ACC0001",
"ACC0002"
],
"gracePeriod": 3,
"netTermDays": 45,
"invoiceCurrency": "USD",
"billingAddress": {
"phoneNumber": "+919876543210",
"line1": "2281 Broadway Street",
"line2": "G-31",
"postalCode": "29501",
"city": "Florence",
"state": "South Carolina",
"country": "US",
"nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="
}
}