Light APIv1.0.0

API

API reference

193 endpoints across 31 resources. Base URL https://api.light.inc.

Authorization

The OAuth 2.0 authorization flow: start it, and exchange the code for an access token.

Accounting Documents

List and query every accounting document, across all document types.

Accounting Release Templates

Create and manage the templates that generate accounting releases, and archive the ones no longer in use.

Attachments

Upload, list and manage the documents attached to a record.

Bank Accounts

Create and access bank accounts. Creating one also creates its linked ledger account atomically.

Invoice Payables

Create, approve, decline and mark as paid — bills and their line items, end to end.

Card Balance Accounts

Access card balance accounts, their statements and total spend.

Card Customers

Retrieve the card integration public key.

Card Transactions

List, post and update card transactions and their receipts.

Cards

Create, freeze, unfreeze and manage corporate cards.

Entities

List the company's legal entities.

Companies

Access company configuration, such as currency settings.

Contracts

Create, publish, renew, terminate and manage contracts.

Credit Notes

Create and list credit notes, and link them to invoice payables.

Custom Properties

Access custom property groups.

Customer Credits

Manage customer credit documents.

Customers

Customers are entities that purchase goods or services from a company. They can be used on invoices and contracts.

Exchange

Retrieve currency exchange rates.

Expenses

List expenses and submit reimbursements.

General Ledger Summary

Read the general ledger summary.

Invoice Approvals

Retrieve the approval status of an invoice.

Invoice Receivables

Invoice receivables represent a sale transaction between the company and a customer. Create, update, open, reset and send them.

Journal Entries

Create journal entries programmatically.

Ledger accounts

List the chart of accounts.

Ledger Transactions

Query ledger transaction lines.

Products

Products are goods or services that a company offers to its customers. They can be used on invoices and contracts.

Purchase Orders

Create, close, cancel and manage purchase orders and their lines.

Reimbursement categories

List the reimbursement categories that decide the GL account and tax code on a reimbursement.

User Comments

Create, list and manage comments on records.

Users

List users and manage their reimbursement configuration.

Vendors

Create, list, update and manage vendors.