Skip to content

Commit 15af1db

Browse files
author
Ripal Parikh
committed
[XBAP-26648] - Add reference query parameter and response field to Overpayment endpoint
1 parent e98ef67 commit 15af1db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

xero_accounting.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11127,6 +11127,12 @@ paths:
1112711127
example: 1
1112811128
schema:
1112911129
type: integer
11130+
- in: query
11131+
name: References
11132+
description: Filter by comma-separated list of References
11133+
example: "Ref1,Ref2"
11134+
schema:
11135+
type: string
1113011136
- $ref: "#/components/parameters/unitdp"
1113111137
- $ref: "#/components/parameters/pageSize"
1113211138
responses:
@@ -11150,6 +11156,7 @@ paths:
1115011156
- OverpaymentID: 098b4dcb-5622-4699-87f8-9d40c4ccceb3
1115111157
ID: 098b4dcb-5622-4699-87f8-9d40c4ccceb3
1115211158
Type: SPEND-OVERPAYMENT
11159+
Reference: Reference for payment1
1115311160
RemainingCredit: 500.00
1115411161
Allocations: []
1115511162
Payments: []
@@ -11175,6 +11182,7 @@ paths:
1117511182
- OverpaymentID: 2a8bda49-8908-473b-8bcf-1f90990460eb
1117611183
ID: 2a8bda49-8908-473b-8bcf-1f90990460eb
1117711184
Type: RECEIVE-OVERPAYMENT
11185+
Reference: Reference for payment2
1117811186
RemainingCredit: 20.00
1117911187
Allocations: []
1118011188
Payments: []
@@ -11200,6 +11208,7 @@ paths:
1120011208
- OverpaymentID: ed7f6041-c915-4667-bd1d-54c48e92161e
1120111209
ID: ed7f6041-c915-4667-bd1d-54c48e92161e
1120211210
Type: SPEND-OVERPAYMENT
11211+
Reference: Reference for payment3
1120311212
RemainingCredit: 3000.00
1120411213
Allocations: []
1120511214
Payments: []
@@ -11225,6 +11234,7 @@ paths:
1122511234
- OverpaymentID: 0859adbc-ea00-40cd-a877-258cf8644975
1122611235
ID: 0859adbc-ea00-40cd-a877-258cf8644975
1122711236
Type: RECEIVE-OVERPAYMENT
11237+
Reference: Reference for payment4
1122811238
RemainingCredit: 20.00
1122911239
Allocations: []
1123011240
Payments: []
@@ -11250,6 +11260,7 @@ paths:
1125011260
- OverpaymentID: 687b877f-634a-415d-92b2-74e62977de30
1125111261
ID: 687b877f-634a-415d-92b2-74e62977de30
1125211262
Type: RECEIVE-OVERPAYMENT
11263+
Reference: Reference for payment5
1125311264
RemainingCredit: 20.00
1125411265
Allocations: []
1125511266
Payments: []
@@ -11303,6 +11314,7 @@ paths:
1130311314
ID: ed7f6041-c915-4667-bd1d-54c48e92161e
1130411315
CurrencyRate: 1.000000
1130511316
Type: SPEND-OVERPAYMENT
11317+
Reference: Reference for payment
1130611318
RemainingCredit: 2999.00
1130711319
Allocations:
1130811320
- Amount: 1.00
@@ -23691,6 +23703,10 @@ components:
2369123703
type: boolean
2369223704
default: "false"
2369323705
example: "false"
23706+
Reference:
23707+
description: An optional description for Overpayment
23708+
type: string
23709+
example: "Ref for payment"
2369423710
Attachments:
2369523711
description: See Attachments
2369623712
type: array

0 commit comments

Comments
 (0)