You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eb8fc44
Browse filesBrowse the repository at this point in the historyBrowse files
fix(quickbooks): correct the sparse-void TSDoc and narrow receipt customerId types
The sparse guard's TSDoc claimed Intuit documents `sparse` as required to void
any object. That is false for Invoice, whose void request model is
`deleterequest` (Id + SyncToken, no sparse); only the `include=void` form
carries it. The code was already correct; the comment would have led an editor
to 'fix' void_invoice.ts into breaking it.
Also narrows QuickBooksCreateSalesReceiptParams.customerId to optional so the
type matches the required:false declaration, per salesreceiptrequest.Required
listing only Line.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RB5M2gk7zZgGomnQqr7WRB
0 commit comments