List all billing entities
Changed onThis endpoint returns a list of all billing entities in the organization
Request
- Base URLhttps://api.getlago.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
List of billing entities
Example response
{
"billing_entities": [
{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"code": "acme_corp",
"name": "Acme Corp",
"default_currency": "USD",
"document_locale": "en",
"document_numbering": "per_customer",
"document_number_prefix": "ABC-123",
"finalize_zero_amount_invoice": true,
"invoice_footer": "Thank you for your business",
"address_line1": "5230 Penfield Ave",
"address_line2": "Suite 100",
"phone": "1-171-883-3711 x245",
"city": "Woodland Hills",
"state": "CA",
"country": "US",
"zipcode": "91364",
"email": "billing@acme.com",
"legal_name": "Acme Corporation",
"legal_number": "US123456789",
"tax_identification_number": "EU123456789",
"timezone": "America/Los_Angeles",
"logo_url": "https://getlago.com/logo.png",
"created_at": "2022-04-29T08:59:51Z",
"updated_at": "2022-04-29T08:59:51Z"
}
]
}Changes
- breaking
the response property
//became nullable for the status - warning
added the new
SYPenum value to the//response property for the response status - warning
added the new
TNDenum value to the//response property for the response status - warning
added the new
undefinedenum value to the//response property for the response status - info
removed the non-success response with the status
- info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking