feat(quickbooks): add sales and accounts receivable - #6130
feat(quickbooks): add sales and accounts receivable#6130BillLeoutsakosvl346 wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryAdds 15 bounded QuickBooks sales and accounts-receivable operations.
Confidence Score: 5/5The PR appears safe to merge after its stacked base, with no actionable correctness or security defects identified. The new operation identifiers, editor contracts, runtime parameter mappings, bounded parsers, request construction, response transformations, and registry entries remain aligned, and malformed or incomplete financial inputs are rejected before dispatch.
|
| Filename | Overview |
|---|---|
| apps/sim/tools/quickbooks/sales_utils.ts | Adds strict bounded parsing and request-body construction for sales lines, payment allocations, creates, and sparse updates. |
| apps/sim/blocks/blocks/quickbooks.ts | Exposes the new operations with coordinated parameter routing, conditional fields, and operation-specific outputs. |
| apps/sim/tools/quickbooks/read_sales_transactions.ts | Implements fixed-mapping list and by-ID reads with bounded pagination and native transaction outputs. |
| apps/sim/tools/quickbooks/void_invoice.ts | Adds explicitly confirmed invoice voiding while preserving the returned record ID and SyncToken. |
| apps/sim/tools/quickbooks/void_customer_payment.ts | Adds explicitly confirmed customer-payment voiding through the payment update-and-void request contract. |
| apps/sim/tools/quickbooks/sales.test.ts | Covers validation, payload construction, operation routing, response transformation, and void confirmation behavior. |
| apps/sim/tools/registry.ts | Registers all newly added QuickBooks tools consistently with the block's allowed tool identifiers. |
Sequence Diagram
sequenceDiagram
participant Workflow
participant Block as QuickBooks Block
participant Tool as QuickBooks Tool
participant QBO as QuickBooks Online
Workflow->>Block: Select sales/receivables operation
Block->>Block: Parse bounded lines, allocations, and parameters
Block->>Tool: Dispatch registered operation
Tool->>QBO: One authenticated read or mutation request
QBO-->>Tool: Native transaction response
Tool-->>Workflow: Bounded record, IDs, SyncToken, and pagination metadata
Reviews (1): Last reviewed commit: "fix(quickbooks): address independent sal..." | Re-trigger Greptile
|
bugbot run |
|
bugbot run verbose=true |
|
cursor review |
|
@cursor review |
PR SummaryMedium Risk Overview New capabilities include list/by-ID sales transaction reads, create and sparse-update for the six document types, and void for invoices and payments with explicit The block UI gains matching sub-blocks (transaction type, lines, payment fields, void confirmation) and output conditions now support Reviewed by Cursor Bugbot for commit 9e1e42c. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cb1e5a7. Configure here.

Summary
Adds the second stacked QuickBooks PR with 15 bounded sales and accounts-receivable operations, bringing the block to 25 operations total.
Safety and contracts
feat/quickbooks-01-master-dataas a stacked PRValidation
fit.fit()false-positive warningsgit diff --checkpassedgpt-5.6-solhigh-reasoning review against staging completed with no remaining actionable findingsStack