# Alegra — Accounting API: overview

> Canonical URL: https://developers.apideck.com/apis/accounting/alegra/overview

Cloud-based invoicing, accounting and POS software popular across Latin America (Mexico, Colombia, Peru, Spain, Dominican Republic, Argentina, Chile and others) for SMBs and entrepreneurs.
- Status: beta
- Authentication: basic

- **account type required:** Alegra account on a plan that includes API integrations
- **apideck credentials available:** false
- **apideck credentials note:** Alegra has no OAuth app to share, so every consumer brings their own token.
- **authentication note:** The Alegra account email as username and an in-app API token as password; not OAuth.
- **beta:** true
- **consumer access level:** Any Alegra user who can open account settings and generate an API token; the credential is tied to that user's account email.
- **costs:** No additional charge — API access is included in the Alegra subscription plan that carries it.
- **difficulty:** moderate
- **difficulty reason:** Basic Authentication — consumers generate their own API token
- **environment notes:**   - **description:** Alegra serves every country edition from one API host and offers no separate sandbox, so testing and production share the same credential shape: an account email plus an API token.
  - **environment:** Single environment
  - **description:** Test against an Alegra account you already control. It holds live data, so treat anything the integration writes as production data.
  - **environment:** Testing
- **external guides:**   - **source:** Alegra
  - **title:** Alegra Developer Documentation
  - **url:** https://developer.alegra.com/
- **important to know:** API access requires an eligible Alegra plan (the Plus plan, per Alegra's help centre), and some plans cap how many active integrations an account may have; the exact tier and cap vary by country. Confirm the plan for your consumers' country.
Regenerating the API token in Alegra ("Renovar token") invalidates the old one immediately, so a consumer who renews their token breaks the connection until they supply the new value in Vault.
Building and testing against the API needs no permission, but Alegra's API Terms require its prior written authorisation before you distribute or commercialise a product built on it, and it can refuse anything it judges competitive. Raise this with Alegra early.
A single Alegra contact can be both a customer and a supplier: the same underlying record appears in both lists and shares one id, so deduplicate by id when you sync both.
Alegra's developer documentation is Spanish-only.
- **partnership note:** No partner programme, app registration or approval stands between you and the API.
- **partnership required:** false
- **rate limits:** 150 requests per minute per user; exceeding it returns 429. Every response carries X-Rate-Limit-Limit, -Remaining and -Reset headers.
- **responsibility matrix:**   - **area:** Enable the Alegra Connector
  - **customer:** ✓ Via Apideck Dashboard
  - **area:** Alegra Account on a Plan with API Access
  - **consumer:** ✓
  - **area:** Generate & Supply the API Token in Vault
  - **consumer:** ✓
  - **apideck:** ✓
  - **area:** Store & Encrypt Credentials
  - **apideck:** ✓ Maintains connector
  - **area:** Build via the Unified API
  - **customer:** ✓ Builds the requests
  - **apideck:** ✓ Logs & alerts
  - **area:** Monitor Connections
  - **consumer:** ✓ Can renew or revoke the token anytime
  - **customer:** ✓ Via Apideck Dashboard
- **sandbox available:** false
- **sandbox note:** The API always runs against a real Alegra account; use an account you control.
- **supported resource categories:**   - **name:** Contacts
  - **resources:** customers
suppliers
  - **name:** Sales
  - **resources:** invoices
quotes
payments
credit-notes
  - **name:** Purchasing
  - **resources:** bills
bill-payments
purchase-orders
bill-credit-notes
  - **name:** Accounting
  - **resources:** ledger-accounts
journal-entries
tax-rates
bank-accounts
  - **name:** Products & Services
  - **resources:** invoice-items
  - **name:** Company
  - **resources:** company-info
departments
- **webhooks:** Native — invoices, bills, customers/suppliers and invoice-items emit created/updated/deleted events; the other 12 resources are polled.

## Supported resources

[Accounting data model](/guides/accounting-data-model.md)

- **custom field support:** true
- **downstream id:** contacts-customers
- **downstream name:** Contacts Customers
- **id:** customers
- **name:** Customers
- **status:** live
- **custom field support:** true
- **downstream id:** contacts-suppliers
- **downstream name:** Contacts Suppliers
- **id:** suppliers
- **name:** Suppliers
- **status:** live
- **custom field support:** true
- **downstream id:** taxes
- **downstream name:** Taxes
- **id:** tax-rates
- **name:** Tax Rates
- **status:** live
- **custom field support:** true
- **downstream id:** categories
- **downstream name:** Categories
- **id:** ledger-accounts
- **name:** Ledger Accounts
- **status:** live
- **custom field support:** true
- **downstream id:** company
- **downstream name:** Company
- **id:** company-info
- **name:** Company Info
- **status:** live
- **custom field support:** false
- **downstream id:** cost-centers
- **downstream name:** Cost Centers
- **id:** departments
- **name:** Departments
- **status:** live
- **custom field support:** true
- **downstream id:** bank-accounts
- **downstream name:** Bank Accounts
- **id:** bank-accounts
- **name:** Bank Accounts
- **status:** beta
- **custom field support:** false
- **downstream id:** items
- **downstream name:** Items
- **id:** invoice-items
- **name:** Invoice Items
- **status:** live
- **custom field support:** false
- **downstream id:** invoices
- **downstream name:** Invoices
- **id:** invoices
- **name:** Invoices
- **status:** live
- **custom field support:** false
- **downstream id:** bills
- **downstream name:** Bills
- **id:** bills
- **name:** Bills
- **status:** live
- **custom field support:** false
- **downstream id:** credit-notes
- **downstream name:** Credit Notes
- **id:** credit-notes
- **name:** Credit Notes
- **status:** live
- **custom field support:** false
- **downstream id:** debit-notes
- **downstream name:** Debit Notes
- **id:** bill-credit-notes
- **name:** Bill Credit Notes
- **status:** beta
- **custom field support:** false
- **downstream id:** payments
- **downstream name:** Payments
- **id:** payments
- **name:** Payments
- **status:** live
- **custom field support:** false
- **downstream id:** bill-payments
- **downstream name:** Bill Payments
- **id:** bill-payments
- **name:** Bill Payments
- **status:** live
- **custom field support:** false
- **downstream id:** journal-entries
- **downstream name:** Journal Entries
- **id:** journal-entries
- **name:** Journal Entries
- **status:** live
- **custom field support:** false
- **downstream id:** estimates
- **downstream name:** Estimates
- **id:** quotes
- **name:** Quotes
- **status:** beta
- **custom field support:** false
- **downstream id:** purchase-orders
- **downstream name:** Purchase Orders
- **id:** purchase-orders
- **name:** Purchase Orders
- **status:** live

An omitted operation list does not establish operation support. Verify the selected operation in the coverage matrix.

[API reference](https://developers.apideck.com/apis/accounting/reference.md) · [Coverage matrix](https://developers.apideck.com/apis/accounting/coverage)
