From 7b7734fff41ef93411acd73c134301c338580763 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 31 Aug 2026 12:40:12 +0000 Subject: [PATCH] fix(accounting): document live TaxNumberType prefix and RECEIPT links GET Contact.TaxNumberType has been observed as TAXNUMBERTYPE/SSN. LinkedTransaction.SourceTransactionTypeCode includes RECEIPT for receive-money bank transactions, not only ACCPAY and SPEND. --- xero_accounting.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xero_accounting.yaml b/xero_accounting.yaml index 663959fc4..d648fc031 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -21300,7 +21300,7 @@ components: maxLength: 50 type: string TaxNumberType: - description: Identifier of the regional type of tax number, such as US, UK, or other regional tax identifiers + description: Identifier of the regional type of tax number, such as US, UK, or other regional tax identifiers. GET responses have been observed with a namespaced form (TAXNUMBERTYPE/SSN); treat that as SSN. type: string enum: - SSN @@ -22932,11 +22932,12 @@ components: example: /Date(1573755038314)/ readOnly: true SourceTransactionTypeCode: - description: The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction. + description: The Type of the source transaction. ACCPAY if created from a bill, SPEND if created from a spend-money bank transaction, RECEIPT if created from a receive-money bank transaction. type: string enum: - ACCPAY - SPEND + - RECEIPT ValidationErrors: description: Displays array of validation error messages from the API type: array