From 41d7f73e3e055986df596325fde889a44d2afeed Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Mon, 31 Aug 2026 12:40:12 +0000 Subject: [PATCH 1/4] 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 7a5bd0584..6a452061c 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 @@ -22948,11 +22948,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 From bf8f47c8733e0eece5bda261be5bcb47c9111705 Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Wed, 23 Sep 2026 14:14:38 +1000 Subject: [PATCH 2/4] fix(accounting)!: declare RECEIPT response compatibility BREAKING CHANGE: LinkedTransaction.SourceTransactionTypeCode can return RECEIPT. Clients generated from the earlier closed enum must accept this response value. From eebd525c17993eab3f0cbfac30028a113ec9ab25 Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Sat, 17 Oct 2026 21:13:57 +1100 Subject: [PATCH 3/4] ci: refresh deprecated action runtimes and runner images --- .github/workflows/pr-validation.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 5859d2894..eefb85f3c 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -7,7 +7,7 @@ on: jobs: codegen-validation: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Codegen Repo Validation permissions: contents: write @@ -16,13 +16,14 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: + persist-credentials: false fetch-depth: 0 - name: Get github app access token id: get_access_token - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 with: app-id: ${{ vars.XERO_CODEGEN_APP_ID }} private-key: ${{ secrets.XERO_GITHUB_APPLICATION_KEY }} @@ -55,11 +56,11 @@ jobs: --json databaseId \ --jq '.[0].databaseId') - echo "run_id=$RUN_ID" >> $GITHUB_OUTPUT + echo "run_id=$RUN_ID" >> "$GITHUB_OUTPUT" echo "Triggered workflow run ID: $RUN_ID" - name: Check status of codegen validation workflow - uses: Codex-/await-remote-run@v1.13.0 + uses: Codex-/await-remote-run@bb04140a0965ec5532845d826a74dc5f075f891b # v3.0.0 with: token: ${{ steps.get_access_token.outputs.token }} repo: xeroapi-sdk-codegen From 4745c8b163937a05aafcd413dcffa299eabf3224 Mon Sep 17 00:00:00 2001 From: Ryan Duguid Date: Sun, 18 Oct 2026 22:28:34 +1100 Subject: [PATCH 4/4] Revert "ci: refresh deprecated action runtimes and runner images" This reverts commit eebd525c17993eab3f0cbfac30028a113ec9ab25. --- .github/workflows/pr-validation.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index eefb85f3c..5859d2894 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -7,7 +7,7 @@ on: jobs: codegen-validation: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest name: Codegen Repo Validation permissions: contents: write @@ -16,14 +16,13 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@v4 with: - persist-credentials: false fetch-depth: 0 - name: Get github app access token id: get_access_token - uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.XERO_CODEGEN_APP_ID }} private-key: ${{ secrets.XERO_GITHUB_APPLICATION_KEY }} @@ -56,11 +55,11 @@ jobs: --json databaseId \ --jq '.[0].databaseId') - echo "run_id=$RUN_ID" >> "$GITHUB_OUTPUT" + echo "run_id=$RUN_ID" >> $GITHUB_OUTPUT echo "Triggered workflow run ID: $RUN_ID" - name: Check status of codegen validation workflow - uses: Codex-/await-remote-run@bb04140a0965ec5532845d826a74dc5f075f891b # v3.0.0 + uses: Codex-/await-remote-run@v1.13.0 with: token: ${{ steps.get_access_token.outputs.token }} repo: xeroapi-sdk-codegen