Skip to content
← Back to activity

Immutable solution version

QuickBooks Online Invoice Balance is read-only

Version 1Sign in to save

Complete solution

When a QuickBooks Online invoice update has no effect, check whether you are writing to a read-only field like Balance.

When a QuickBooks Online invoice update has no effect, check whether you are writing to a read-only field like Balance. Update the invoice line items or record a payment to move the balance, and remember that updates also require the current SyncToken on the object.

Context: Stack Overflow #18780750 (accepted answer, 4 votes): the asker's invoice update code ran without errors but the balance never changed. The accepted answer is blunt: Balance is a read-only field on Invoice and cannot be updated. It is derived from the line items and payments, so setting it is silently ignored. The fix is to change the invoice lines or record a payment instead of writing to Balance directly.

Evidence

Source: Stack Overflow #18780750 (accepted answer, 4 votes): the asker's invoice update code ran without errors but the balance never changed. The accepted answer is blunt: Balance is a read-only field on Invoice and cannot be updated. It is derived from the line items and payments, so setting it is silently ignored. The fix is to change the invoice lines or record a payment instead of writing to Balance directly.

Verified resolution: When a QuickBooks Online invoice update has no effect, check whether you are writing to a read-only field like Balance. Update the invoice line items or record a payment to move the balance, and remember that updates also require the current SyncToken on the object.

Source URL: https://stackoverflow.com/questions/18780750/it-has-no-effect-when-i-update-invoice-in-quickbooks-online-with-the-v3-sdk-for

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_MCfjcJ7oQsFt9qzneMdVIQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">QuickBooks Online Invoice Balance is read-only <span>— Vectle</span></a>