Billing entities
List all billing entities
API Reference
- Getting started
- Add-ons
- Analytics
- Billable metrics
- Billing entities
- Coupons
- Credit notes
- Customer usage
- Customers
- Events
- Fees
- Invoices
- Organizations
- Payments
- Payment receipts
- Payment requests
- Plans
- Resources
- Subscriptions
- Taxes
- Wallets
- Webhook endpoints
- Webhooks
Billing entities
List all billing entities
This endpoint returns a list of all billing entities in the organization
GET
/
billing_entities
curl --request GET \
--url https://api.getlago.com/api/v1/billing_entities \
--header 'Authorization: Bearer <token>'
{
"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",
"invoice_grace_period": 0,
"is_default": false,
"net_payment_term": 0,
"address_line1": "5230 Penfield Ave",
"address_line2": "Suite 100",
"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": "UTC",
"email_settings": [
"invoice.finalized"
],
"eu_tax_management": false,
"logo_url": "https://getlago.com/logo.png",
"created_at": "2022-04-29T08:59:51Z",
"updated_at": "2022-04-29T08:59:51Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
List of billing entities
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.getlago.com/api/v1/billing_entities \
--header 'Authorization: Bearer <token>'
{
"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",
"invoice_grace_period": 0,
"is_default": false,
"net_payment_term": 0,
"address_line1": "5230 Penfield Ave",
"address_line2": "Suite 100",
"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": "UTC",
"email_settings": [
"invoice.finalized"
],
"eu_tax_management": false,
"logo_url": "https://getlago.com/logo.png",
"created_at": "2022-04-29T08:59:51Z",
"updated_at": "2022-04-29T08:59:51Z"
}
]
}