← API Reference
Accounting API
Journals, cost centers, bank accounts, FX rates
Base URL: https://accounting-api.ayoune.app — 18 entities
Example
cURL
curl -H "Authorization: Bearer pat_your_token" \
https://accounting-api.ayoune.app/accountingeventsubscriptions?limit=10
TypeScript SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
const result = await ay.accounting.accountingEventSubscriptions.find().limit(10).exec();
console.log(result.payload());
Entities
| Entity | REST Path | SDK | Access | Right | |
|---|---|---|---|---|---|
| AccountingEventSubscriptions | /accountingeventsubscriptions |
ay.accounting.accountingEventSubscriptions |
CRUD | accounting.eventsubscriptions |
|
| AccountingMappings | /accountingmappings |
ay.accounting.accountingMappings |
CRUD | accounting.mappings |
|
| AccountingProviderConnections | /accountingproviderconnections |
ay.accounting.accountingProviderConnections |
CRUD | accounting.providerconnections |
|
| AccountingSyncJobs | /accountingsyncjobs |
ay.accounting.accountingSyncJobs |
read-only | accounting.syncjobs |
|
| Assets | /assets |
ay.accounting.assets |
CRUD | accounting.assets |
|
| BankAccounts | /bankaccounts |
ay.accounting.bankAccounts |
read-only | accounting.bankaccounts |
|
| BankConnections | /bankconnections |
ay.accounting.bankConnections |
CRUD | accounting.bankconnections |
|
| BankMatchProposals | /bankmatchproposals |
ay.accounting.bankMatchProposals |
CRUD | accounting.bankmatchproposals |
|
| BankTransactions | /banktransactions |
ay.accounting.bankTransactions |
read-only | accounting.banktransactions |
|
| Budgets | /budgets |
ay.accounting.budgets |
CRUD | accounting.budgets |
|
| CostCenters | /costcenters |
ay.accounting.costCenters |
CRUD | accounting.costcenters |
|
| CostRates | /costrates |
ay.accounting.costRates |
CRUD | accounting.costrates |
|
| FXRates | /fxrates |
ay.accounting.fXRates |
read-only | accounting.fxrates |
|
| LedgerAccounts | /ledgeraccounts |
ay.accounting.ledgerAccounts |
CRUD | accounting.ledgeraccounts |
|
| LedgerEntries | /ledgerentries |
ay.accounting.ledgerEntries |
read-only | accounting.ledgerentries |
|
| LedgerLines | /ledgerlines |
ay.accounting.ledgerLines |
read-only | accounting.ledgerlines |
|
| PostingRules | /postingrules |
ay.accounting.postingRules |
CRUD | accounting.postingrules |
|
| Travels | /travels |
ay.accounting.travels |
CRUD | accounting.travels |