Parse the Lines param and enforce the provider-agnostic journal rules:
array of ≥ 2 lines, each with accountId or accountNumber, exactly one of
debit/credit, non-negative amounts. Throws with the historical QBO messages
so existing callers keep ResultCode ERROR for structural problems.
Parse the Lines param and enforce the provider-agnostic journal rules: array of ≥ 2 lines, each with accountId or accountNumber, exactly one of debit/credit, non-negative amounts. Throws with the historical QBO messages so existing callers keep ResultCode ERROR for structural problems.