Recategorize line entries
PATCH
/api/v1/businesses/{business_id}/line-entries/recategorize
Move line entries to a different ledger. Used for journal-entry lines that have no bank transaction.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Path
-
business_idstring required
Request body
Schema: RecategorizeLineEntriesRequest
-
line_entry_idsarray · string required -
IDs of the line entries to recategorize.
-
ledger_idstring required -
Target ledger to move the line entries into.
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
404 Not Found - Resource does not exist
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-