From 57180c49f4ec92419d743a64f9c52078feaa95e9 Mon Sep 17 00:00:00 2001 From: Reuben Frances-Reeves Date: Tue, 21 Jul 2026 15:02:53 +1200 Subject: [PATCH] feat: Added a new query parameter Reference in the BankTransaction and Prepayment endpoint --- xero_accounting.yaml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/xero_accounting.yaml b/xero_accounting.yaml index f9759e979..fffdf27fe 100644 --- a/xero_accounting.yaml +++ b/xero_accounting.yaml @@ -1255,6 +1255,20 @@ paths: type: integer - $ref: "#/components/parameters/unitdp" - $ref: "#/components/parameters/pageSize" + - in: query + name: References + x-snake: references + description: Filter by a comma-separated list of References + style: form + explode: false + example: ""Ref1", "Ref2"" + x-example-java: Arrays.asList("Ref1","Ref2") + x-example-php: ""Ref1", "Ref2"" + x-example-csharp: new List<string>{"Ref1","Ref2"} + schema: + type: array + items: + type: string responses: "200": description: Success - return response of type BankTransactions array with 0 to n BankTransaction @@ -12526,7 +12540,7 @@ paths: type: string - in: query name: page - description: e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment + description: e.g. page=1 – Up to 100 prepayments will be returned in a single API call with line items shown for each prepayment example: 1 schema: type: integer @@ -12546,6 +12560,20 @@ paths: type: array items: type: string + - in: query + name: References + x-snake: references + description: Filter by a comma-separated list of References + style: form + explode: false + example: ""Ref1", "Ref2"" + x-example-java: Arrays.asList("Ref1","Ref2") + x-example-php: ""Ref1", "Ref2"" + x-example-csharp: new List<string>{"Ref1","Ref2"} + schema: + type: array + items: + type: string responses: "200": description: Success - return response of type Prepayments array for all Prepayment