Skip to content

fix(accounting): accept receipt linked transactions - #841

Open
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/issue-206-linked-receipt
Open

fix(accounting): accept receipt linked transactions#841
miachillgood wants to merge 1 commit into
XeroAPI:masterfrom
miachillgood:codex/issue-206-linked-receipt

Conversation

@miachillgood

Copy link
Copy Markdown

Description

The live Accounting API can return RECEIPT as a linked transaction's SourceTransactionTypeCode, but the published schema currently restricts the field to ACCPAY and SPEND. Generated SDKs therefore reject an otherwise valid response during deserialization.

This adds RECEIPT to the enum and updates the field description so the next SDK generation accepts the observed response.

Fixes XeroAPI/xero-python#206.

Validation

  • parsed xero_accounting.yaml successfully with PyYAML
  • scripts/api-diff/api-diff.test.sh: 9/9 passed
  • git diff --check

The Docker-backed API diff could not run locally because the Docker daemon was unavailable. The change is additive; repository CI will run the official API-diff and code-generation validation.

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

Labels

None yet

Projects

None yet

1 participant