Settings
Manage your company name and address, and various accounting settings such as invoice numbering. The following account methods are available:
Company Settings
GET https://secure.ledgerble.com/api/1.0/settings/company
Returns the company's settings in the following format:
{
"company": {
"name": "Demo Company Inc.",
"address": "123 Fake St.",
"phone": "555-555-5555 x123",
"email": "info@domain.com"
}
}
Edit Company Settings
POST https://secure.ledgerble.com/api/1.0/settings/company/edit
Updates the company's settings. The following options are available:
| Variable | Required? | Description |
|---|---|---|
| name | No | Company name. |
| address | No | Company address. |
| phone | No | Company phone number. |
| No | General company email address. |
Accounting Settings
GET https://secure.ledgerble.com/api/1.0/settings/accounting
Returns the company's accounting settings in the following format:
{
"accounting": {
"year_end": "12/31",
"invoice_digits": 5,
"invoice_next_income": "235",
"invoice_next_expense": "126"
}
}
Edit Accounting Settings
POST https://secure.ledgerble.com/api/1.0/settings/accounting/edit
Updates the company's accounting settings. The following options are available:
| Variable | Required? | Description |
|---|---|---|
| year_end | No | The last day of the company's fiscal year. Format MM/DD |
| invoice_digits | No | The minimum number of digits invoice numbers should be. (ie 5 = XXXXX) |
| invoice_next_income | No | The next invoice number for income invoices. Will be padded with zeros according to invoice_digits. |
| invoice_next_expense | No | The next invoice number for expense invoices. Will be padded with zeros according to invoice_digits. |
