update-bank-transaction fails on every call, including a valid no-op, with a 400 ValidationException ("document sub total / total does not equal the sub total/total of the lines").
Read and create work. The update POST body echoes back the calculated SubTotal, TotalTax, Total and UpdatedDateUTC read from the existing transaction; Xero recalculates from the line items and rejects the submitted totals (reproduced with a single line, TaxType: NONE, LineAmountTypes: Inclusive, £3.15). Expected: the update handler should submit only editable fields + line items and let Xero calculate the totals. Reproduced on v0.0.17 (latest). Tenant + full request/response bodies available on request.
update-bank-transaction fails on every call, including a valid no-op, with a 400 ValidationException ("document sub total / total does not equal the sub total/total of the lines").
Read and create work. The update POST body echoes back the calculated SubTotal, TotalTax, Total and UpdatedDateUTC read from the existing transaction; Xero recalculates from the line items and rejects the submitted totals (reproduced with a single line, TaxType: NONE, LineAmountTypes: Inclusive, £3.15). Expected: the update handler should submit only editable fields + line items and let Xero calculate the totals. Reproduced on v0.0.17 (latest). Tenant + full request/response bodies available on request.