Accounting
Set the class on posted journal lines
Retags up to 500 income or expense lines of this company with an active class, or clears it with null. Amounts and accounts are unchanged. Lines in a closed fiscal year return 422. A linked feed row keeps its class in sync, and each change is audited.
patch/journal-lines/class
Request
- Base URL: https://ledgerhq.pro/api/v1
- URL: https://ledgerhq.pro/api/v1/journal-lines/class
- Auth: one of:
- HTTP bearer and API key in header x-organization-id
- HTTP bearer and API key in header x-organization-id
Request body
Response
{ data: { updated } }
Changes
No recorded changes to this operation across all 3 revisions of this API.