200Successful Response
Schema: SuccessEnvelope_TransactionListResponse_
successbooleanmessagestringcodestringdataTransactionListResponse
/api/v1/transactions/{transaction_id}/splitRebuild a transaction's journal entry so its single category leg becomes multiple category legs (e.g. 70% COGS / 30% Sales Tax). Allocations may be percentages, fixed amounts, or a remainder line; the resulting legs always balance against the bank leg.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
transaction_idstringrequiredSchema: TransactionSplitRequest
splitarray · SplitAllocationrequiredSplitAllocationCategory allocations (at least 2 lines).
ledger_idstringrequiredCategory ledger for this leg
allocation_typeSplitAllocationTyperequiredSplitAllocationTypepercent | amount | remainder
valueintegerBasis points for 'percent' (70% == 7000), cents for 'amount', ignored/None for 'remainder'.
descriptionstringOptional per-line memo
class_idstringOptional Class dimension
location_idstringOptional Location dimension
project_idstringOptional Project for job costing
Schema: SuccessEnvelope_TransactionListResponse_
successbooleanmessagestringcodestringdataTransactionListResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject