Skip to content

Commit ed9ac6b

Browse files
authored
PAT-2140: Remove PUT for NZ pay runs.
1 parent 15f1045 commit ed9ac6b

File tree

1 file changed

+0
-226
lines changed

1 file changed

+0
-226
lines changed

xero-payroll-nz.yaml

Lines changed: 0 additions & 226 deletions
Original file line numberDiff line numberDiff line change
@@ -5198,232 +5198,6 @@ paths:
51985198
paymentMethod: Electronically
51995199
payslipMessage: null
52005200
invalidPayeeIDs: null
5201-
put:
5202-
security:
5203-
- OAuth2:
5204-
- payroll.payruns
5205-
tags:
5206-
- PayrollNz
5207-
operationId: updatePayRun
5208-
x-hasPayrollUkProblem: true
5209-
x-example:
5210-
- startDateValue:
5211-
key: startDate
5212-
keyPascal: StartDate
5213-
keySnake: start_date
5214-
is_date: true
5215-
java_datatype: LocalDate
5216-
csharp_datatype: DateTime
5217-
default: LocalDate.of(2020, Month.OCTOBER, 28)
5218-
java: LocalDate.of(2020, Month.OCTOBER, 28)
5219-
csharp: new DateTime(2020, 10, 10)
5220-
php: new DateTime('2020-10-28')
5221-
node: '''2020-10-28'''
5222-
python: dateutil.parser.parse('2020-10-28T00:00:00Z')
5223-
ruby: '''YYYY-MM-DD'''
5224-
- paymentDateValue:
5225-
key: paymentDate
5226-
keyPascal: PaymentDate
5227-
keySnake: payment_date
5228-
is_date: true
5229-
java_datatype: LocalDate
5230-
csharp_datatype: DateTime
5231-
default: LocalDate.of(2020, Month.OCTOBER, 30)
5232-
java: LocalDate.of(2020, Month.OCTOBER, 30)
5233-
csharp: new DateTime(2020, 10, 12)
5234-
php: new DateTime('2020-10-30')
5235-
node: '''2020-10-30'''
5236-
python: dateutil.parser.parse('2020-10-30T00:00:00Z')
5237-
ruby: '''YYYY-MM-DD'''
5238-
- payRunCalendar:
5239-
key: payRunCalendar
5240-
keyPascal: PayRunCalendar
5241-
keySnake: pay_run_calendar
5242-
is_object: true
5243-
- calendarType:
5244-
key: calendarType
5245-
keyPascal: CalendarType
5246-
keySnake: calendar_type
5247-
nonString: true
5248-
default: CalendarType.Weekly
5249-
php: XeroAPI\XeroPHP\Models\PayrollNz\CalendarType.WEEKLY
5250-
node: CalendarType.Weekly
5251-
ruby: XeroRuby::PayrollNz::calendar_type::WEEKLY
5252-
python: calendar_type.WEEKLY
5253-
java: com.xero.models.payrollnz.CalendarType.WEEKLY
5254-
csharp: CalendarType.Weekly
5255-
object: payRunCalendar
5256-
- periodStartDate:
5257-
key: periodStartDate
5258-
keyPascal: PeriodStartDate
5259-
keySnake: period_start_date
5260-
is_variable: true
5261-
nonString: true
5262-
default: startDate
5263-
python: start_date
5264-
ruby: start_date
5265-
object: payRunCalendar
5266-
- paymentDate:
5267-
key: paymentDate
5268-
keyPascal: PaymentDate
5269-
keySnake: payment_date
5270-
is_last: true
5271-
is_variable: true
5272-
nonString: true
5273-
default: paymentDate
5274-
python: payment_date
5275-
ruby: payment_date
5276-
object: payRunCalendar
5277-
summary: Updates a pay run
5278-
parameters:
5279-
- $ref: '#/components/parameters/idempotencyKey'
5280-
- in: path
5281-
name: PayRunID
5282-
x-snake: pay_run_id
5283-
required: true
5284-
description: Identifier for the pay run
5285-
schema:
5286-
type: string
5287-
format: uuid
5288-
responses:
5289-
"200":
5290-
description: search results matching criteria
5291-
content:
5292-
application/json:
5293-
schema:
5294-
$ref: '#/components/schemas/PayRunObject'
5295-
example:
5296-
id: 00000000-0000-0000-0000-000000000000
5297-
providerName: provider-name
5298-
dateTimeUTC: 2020-09-10T17:38:14.8294283
5299-
httpStatusCode: OK
5300-
pagination: null
5301-
problem: null
5302-
payRun:
5303-
payRunID: 8ba9831d-38e4-43d4-808e-472a5d195bce
5304-
payrollCalendarID: 9aa56064-990f-4ad3-a189-d966d8f6a030
5305-
periodStartDate: 2019-06-10T00:00:00
5306-
periodEndDate: 2019-06-16T00:00:00
5307-
paymentDate: 2019-07-01T00:00:00
5308-
totalCost: 9806.03
5309-
totalPay: 6362.53
5310-
payRunStatus: Draft
5311-
payRunType: Scheduled
5312-
calendarType: Weekly
5313-
postedDateTime: null
5314-
paySlips:
5315-
- paySlipID: 51a01760-cf9d-4ba1-bf3a-2065d4f8e073
5316-
employeeID: 68342973-c405-4b86-b5d3-d7b877c27995
5317-
lastEdited: 2020-09-10T17:20:23
5318-
firstName: Tony
5319-
lastName: Starkwpjgdjxdvwson
5320-
totalEarnings: 3628.8
5321-
grossEarnings: 3628.8
5322-
totalPay: 2362.72
5323-
totalEmployerTaxes: 18.9
5324-
totalEmployeeTaxes: 1057.22
5325-
totalDeductions: 100
5326-
totalReimbursements: 0
5327-
totalStatutoryDeductions: 108.86
5328-
totalSuperannuation: 108.86
5329-
bacsHash: null
5330-
paymentMethod: Electronically
5331-
- paySlipID: 499bb866-40fd-44ea-a2d9-91e79e5ac08e
5332-
employeeID: 1c4f0c92-03ad-43f2-a690-ee51397ece6a
5333-
lastEdited: 2019-09-24T03:14:29
5334-
firstName: GST
5335-
lastName: Contractor
5336-
totalEarnings: 800
5337-
grossEarnings: 800
5338-
totalPay: 760
5339-
totalEmployerTaxes: 0
5340-
totalEmployeeTaxes: 160
5341-
totalDeductions: 0
5342-
totalReimbursements: 120
5343-
totalStatutoryDeductions: 0
5344-
totalSuperannuation: 0
5345-
bacsHash: null
5346-
paymentMethod: Electronically
5347-
- paySlipID: f98b6411-7755-41f7-8d89-a3475eadf866
5348-
employeeID: 2e63a4ff-e911-44fc-8290-a65ec7299b30
5349-
lastEdited: 2019-09-24T03:14:06
5350-
firstName: Dairy
5351-
lastName: Milker
5352-
totalEarnings: 1353.85
5353-
grossEarnings: 1353.85
5354-
totalPay: 726.83
5355-
totalEmployerTaxes: 22.11
5356-
totalEmployeeTaxes: 290.97
5357-
totalDeductions: 200
5358-
totalReimbursements: 21.33
5359-
totalStatutoryDeductions: 157.38
5360-
totalSuperannuation: 67.69
5361-
bacsHash: null
5362-
paymentMethod: Electronically
5363-
- paySlipID: 0923bc21-900e-4660-b37c-127c59bd4b12
5364-
employeeID: 9126967a-99a1-4b46-a0f3-43e28737756e
5365-
lastEdited: 2019-09-24T03:14:15
5366-
firstName: General
5367-
lastName: Manager
5368-
totalEarnings: 1730.77
5369-
grossEarnings: 1730.77
5370-
totalPay: 1151.71
5371-
totalEmployerTaxes: 22.77
5372-
totalEmployeeTaxes: 410.6
5373-
totalDeductions: 30
5374-
totalReimbursements: 0
5375-
totalStatutoryDeductions: 138.46
5376-
totalSuperannuation: 69.23
5377-
bacsHash: null
5378-
paymentMethod: Electronically
5379-
- paySlipID: df88d132-3cd6-43f3-8c4a-28ca53406138
5380-
employeeID: ae679eeb-8708-4e3b-afe9-2de117a7f68f
5381-
lastEdited: 2019-09-24T03:18:06
5382-
firstName: Part-time
5383-
lastName: Worker
5384-
totalEarnings: 450
5385-
grossEarnings: 450
5386-
totalPay: 339.45
5387-
totalEmployerTaxes: 2.27
5388-
totalEmployeeTaxes: 66.15
5389-
totalDeductions: 0
5390-
totalReimbursements: 0
5391-
totalStatutoryDeductions: 44.4
5392-
totalSuperannuation: 13.5
5393-
bacsHash: null
5394-
paymentMethod: Electronically
5395-
- paySlipID: ae8d94e8-c30f-4b19-88df-a68c1bda2b90
5396-
employeeID: 45e50e4b-7979-4d3b-b943-8c4f0cb9df3d
5397-
lastEdited: 2019-09-24T03:18:25
5398-
firstName: Permanent
5399-
lastName: Worker
5400-
totalEarnings: 1400
5401-
grossEarnings: 1400
5402-
totalPay: 1021.82
5403-
totalEmployerTaxes: 13.86
5404-
totalEmployeeTaxes: 300.18
5405-
totalDeductions: 22
5406-
totalReimbursements: 0
5407-
totalStatutoryDeductions: 56
5408-
totalSuperannuation: 42
5409-
bacsHash: null
5410-
paymentMethod: Electronically
5411-
payslipMessage: null
5412-
invalidPayeeIDs: null
5413-
"400":
5414-
description: validation error for a bad request
5415-
content:
5416-
application/json:
5417-
schema:
5418-
$ref: '#/components/schemas/Problem'
5419-
requestBody:
5420-
required: true
5421-
content:
5422-
application/json:
5423-
schema:
5424-
$ref: '#/components/schemas/PayRun'
5425-
example:
5426-
paymentDate: "2019-07-01"
54275201
/PaySlips:
54285202
parameters:
54295203
- $ref: '#/components/parameters/requiredHeader'

0 commit comments

Comments
 (0)