Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to fetch the accounting configuration for
Body
The default reporting basis for the business.
ACCRUAL
, CASH
The default subset of accounts that are fetched by the /businesses/:businessId/categories endpoint.
ALL_ACCOUNTS
, REVENUE_AND_EXPENSES
Setting this date means closing the books before this date. If present, attempts to create ledger entries before this date will fail. This should only ever be set at the business level (rather than the platform level).
The maximum difference in cents allowed between bank transactions and invoice payments, bill payments, refund payments, or payouts. Defaults to 1 (one cent) if null.
The maximum percentage difference allowed between bank transactions and invoice/bill payments for matches to be suggested. Defaults to 0.10 (10%) if null.
0.1
Whether the system will suggest matches with adjustments up to a maximum percentage (default of 10%) for invoice and bill payments. Defaults to false (meaning adjustments are enabled) if null.
Response
Unique identifier for the accounting configuration.
Unique identifier for the business.
The default reporting basis for the business.
ACCRUAL
, CASH
The default subset of accounts that are fetched by the /businesses/:businessId/categories endpoint.
ALL_ACCOUNTS
, REVENUE_AND_EXPENSES
The timestamp of when the books are closed as of. If present, attempts to create ledger entries before this date will fail. This should only ever be set at the business level (rather than the platform level).
The maximum difference in cents allowed between bank transactions and invoice payments, bill payments, refund payments, or payouts. Defaults to 1 (one cent) if null.
The maximum percentage difference allowed between bank transactions and invoice/bill payments for matches to be suggested. Defaults to 0.10 (10%) if null.
0.1
Whether the system will suggest matches with adjustments up to a maximum percentage (default of 10%) for invoice and bill payments. Defaults to false (meaning adjustments are enabled) if null.