Enlivy gives you full control over your organization’s invoices via the API.
Whether you’re integrating billing into your own dashboard or automating invoicing workflows, the Enlivy API enables you to list, view, create, and update invoices with precision and ease.
Each invoice in Enlivy is associated with an organization and can include detailed billing information, statuses, and line items.
By using the following endpoints, you can efficiently manage your organization’s invoicing process, connect with internal billing systems, or automate recurring invoice generation.
This section covers the essential operations:
const organizationId = "your_org_id";
const token = "YOUR_TOKEN_HERE";
fetch(`https://api.enlivy.com/organizations/${organizationId}/invoices?page=1&limit=20&include=invoice_prefix,tag_ids,line_items,taxes&include_meta=navigation`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
}
});
const organizationId = "your_org_id";
const invoiceId = "your_invoice_id";
const token = "YOUR_TOKEN_HERE";
fetch(`https://api.enlivy.com/organizations/${organizationId}/invoices/${invoiceId}?include=invoice_prefix,tag_ids,line_items,taxes`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
}
});
const organizationId = "your_org_id";
const token = "YOUR_TOKEN_HERE";
fetch(`https://api.enlivy.com/organizations/${organizationId}/invoices`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body:
});
const organizationId = "your_org_id";
const invoiceId = "existing_invoice_id";
const token = "YOUR_TOKEN_HERE";
fetch(`https://api.enlivy.com/organizations/${organizationId}/invoices/${invoiceId}`, {
method: 'PUT',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body:
});