Skip to content

feat: BILLS-6409 updated invoices endpoints with RoundingAmount - #848

Merged
ryanNexus merged 1 commit into
XeroAPI:masterfrom
sli-o1:master
Sep 3, 2026
Merged

feat: BILLS-6409 updated invoices endpoints with RoundingAmount#848
ryanNexus merged 1 commit 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.

@ryanNexus ryanNexus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@ryanNexus
ryanNexus merged commit 225e5ea into XeroAPI:master Sep 3, 2026
5 checks passed
@xero-public-bot

Copy link
Copy Markdown

🎉 This PR is included in version 19.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants