Skip to content

BILLS-6409: updated /invoices endpoints to include RoundingAmount and EnteredTotal fields in API contracts - #844

Open
sli-o1 wants to merge 2 commits into
XeroAPI:masterfrom
sli-o1:master
Open

BILLS-6409: updated /invoices endpoints to include RoundingAmount and EnteredTotal fields in API contracts#844
sli-o1 wants to merge 2 commits into
XeroAPI:masterfrom
sli-o1:master

Conversation

@sli-o1

@sli-o1 sli-o1 commented Aug 24, 2026

Copy link
Copy Markdown

Description

The newly exposed fields are available to PUT/POST/GET by ID endpoints for ACCPAY and ACCREC document types.

  • Validations

Validations are only in place for SUBMITTED/AUTHORISED documents if the supplied API requests come with all 3 of total, totalTax and subTotal.

  • RoundingAmount

RoundingAmount would be persisted if it is within +/- $0.10 (inclusive).

  • EnteredTotal

EnteredTotal would be persisted without validations if document is in DRAFT. User supplied values for EnteredTotal are ignored if document is in SUBMITTED/AUTHORISED.

sli-o1 and others added 2 commits August 24, 2026 15:53
… EnteredTotal fields in API contracts for ACCPAY and ACCREC document types.
@ryanNexus
ryanNexus enabled auto-merge September 2, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants