API reference

Tax lines

The Form 1120 line each GL account reports on, for the CPA's export.

Guides: Read and export reports

List the tax lines an account can report on

GET/v1/tax_lines

client.taxLines.list()

Every line of Form 1120, Schedule L and Schedule M-1 an account can report on, in the form's order.

Response

200TaxLineList

Errors

400
The request was malformed or a parameter is invalid.
401
No valid credential was sent.
403
The credential or the member's role does not allow this.
404
No such resource in this ledger.
409
A conflicting request, e.g. one with the same Idempotency-Key still running.
422
A well-formed request a business rule refused.
429
Too many requests; retry after the Retry-After header.
500
Something failed on our side; the request_id identifies it.

Example

curl
curl "https://api.ledgerit.ai/v1/tax_lines" \
  -H "Authorization: Bearer $LEDGERIT_TOKEN"

List each account's tax line

GET/v1/tax_lines/accounts

client.taxLines.listAccounts()

Every postable account with the line it reports on, and whether a person chose it or it is the default.

Response

200AccountTaxLineList

Errors

400
The request was malformed or a parameter is invalid.
401
No valid credential was sent.
403
The credential or the member's role does not allow this.
404
No such resource in this ledger.
409
A conflicting request, e.g. one with the same Idempotency-Key still running.
422
A well-formed request a business rule refused.
429
Too many requests; retry after the Retry-After header.
500
Something failed on our side; the request_id identifies it.

Example

curl
curl "https://api.ledgerit.ai/v1/tax_lines/accounts" \
  -H "Authorization: Bearer $LEDGERIT_TOKEN"

Objects

The objects these operations take and return.

TaxLineList

NameTypeDescription
dataRequiredarray of TaxLineOut

AccountTaxLineList

NameTypeDescription
dataRequiredarray of AccountTaxLineOut

TaxLineOut

NameTypeDescription
balanceRequiredboolean

Read off the year-end balance (Schedule L), not the year's activity.

keyRequiredstring

<part>:<line>: 1120:13, L:2a, M1:2.

labelRequiredstring

The line's words on the form.

normalRequiredstring

debit or credit: the side a positive figure is on.

partRequiredstring

income, deductions, schedule_l or schedule_m1.

AccountTaxLineOut

NameTypeDescription
account_idRequiredstring

An id that starts with gla_.

account_typeRequiredstring
codeRequiredstring
nameRequiredstring
sourceRequiredstring

chosen by a person, or the default by the account's code in the standard chart, or by its type.

tax_lineRequiredstring
tax_line_labelRequiredstring