Skip to content

feat: add allocation tools (credit note / overpayment / prepayment) + list-overpayments/list-prepayments#187

Open
rathga wants to merge 6 commits into
XeroAPI:mainfrom
rathga:feat/allocations
Open

feat: add allocation tools (credit note / overpayment / prepayment) + list-overpayments/list-prepayments#187
rathga wants to merge 6 commits into
XeroAPI:mainfrom
rathga:feat/allocations

Conversation

@rathga

@rathga rathga commented Jun 7, 2026

Copy link
Copy Markdown

Adds five thin-wrapper tools mapping 1:1 to the SDK: list-overpayments, list-prepayments, and create-credit-note-allocation / create-overpayment-allocation / create-prepayment-allocation. Each create tool applies a source's remaining credit to one or more invoices via the Allocations array. Mirrors the existing list-credit-notes and create-payment patterns; shares one extracted allocation-line Zod schema.

🤖 Generated with Claude Code

rathga and others added 6 commits June 7, 2026 20:18
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant