Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the reference date to the model properties and the getMethod #830

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

lionslair
Copy link
Contributor

The package is missing the reference field from the docs. I have added to the payroll and can confirm this works
https://developer.xero.com/documentation/api/payrollau/payrollcalendars/#get-payrollcalendars

[
  {
    "Name": "Fortnightly",
    "StartDate": "2021-09-01",
    "PaymentDate": "2021-09-06",
    "CalendarType": "FORTNIGHTLY",
    "ReferenceDate": "2021-09-01",
    "UpdatedDateUTC": "2021-09-30",
    "PayrollCalendarID": "05682961-e905-47fc-b3be-e9c2b698388e"
  },
  {
    "Name": "Weekly",
    "StartDate": "2021-09-08",
    "PaymentDate": "2021-09-13",
    "CalendarType": "WEEKLY",
    "ReferenceDate": "2021-09-01",
    "UpdatedDateUTC": "2021-10-06",
    "PayrollCalendarID": "7a316b34-c1d9-40a7-bae0-10fcde430171"
  }
]

The ReferenceDate field is now returned

@calcinai calcinai merged commit dc224c2 into calcinai:master Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants