Magidoc

createAccountingAllocationRun
Mutation

Creates a draft run: the rule's basis split applied to a total, stored as lines that sum to it exactly. Nothing posts until postAccountingAllocationRun. Access: signed-in members of the workspace with the setupUpdate permission, in a workspace where finance is enabled. Errors: rule not found or inactive; the rule changed since the preview named by ruleModifiedAt; the total is not in the workspace base currency, scale and half-up rounding; the rule's basis total is not positive; or the total amount is not positive.

Arguments

#

workspaceId

ID !
Non-null

Response

#

Returns AccountingAllocationRun !.

Example

#