Skip to content

feat: BILLS-6409 updated /invoices endpoints with RoundingAmount and EnteredTotal - #847

Closed
sli-o1 wants to merge 3 commits into
XeroAPI:masterfrom
sli-o1:master
Closed

feat: BILLS-6409 updated /invoices endpoints with RoundingAmount and EnteredTotal#847
sli-o1 wants to merge 3 commits into
XeroAPI:masterfrom
sli-o1:master

Conversation

@sli-o1

@sli-o1 sli-o1 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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 sli-o1 closed this Sep 3, 2026
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