|
1682 | 1682 | },
|
1683 | 1683 | "sickLeaveHoursToAccrueAnnually" : {
|
1684 | 1684 | "type" : "number",
|
1685 |
| - "description" : "Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day", |
| 1685 | + "description" : "Deprecated use SickLeaveToAccrueAnnually", |
1686 | 1686 | "format" : "double",
|
1687 | 1687 | "example" : 100.5,
|
1688 | 1688 | "x-is-money" : true
|
1689 | 1689 | },
|
1690 | 1690 | "sickLeaveMaximumHoursToAccrue" : {
|
1691 | 1691 | "type" : "number",
|
1692 |
| - "description" : "Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day", |
| 1692 | + "description" : "Deprecated use SickLeaveMaximumToAccrue", |
| 1693 | + "format" : "double", |
| 1694 | + "example" : 200.5, |
| 1695 | + "x-is-money" : true |
| 1696 | + }, |
| 1697 | + "SickLeaveToAccrueAnnually" : { |
| 1698 | + "type" : "number", |
| 1699 | + "description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type", |
| 1700 | + "format" : "double", |
| 1701 | + "example" : 100.5, |
| 1702 | + "x-is-money" : true |
| 1703 | + }, |
| 1704 | + "SickLeaveMaximumToAccrue" : { |
| 1705 | + "type" : "number", |
| 1706 | + "description" : "Maximum number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type", |
1693 | 1707 | "format" : "double",
|
1694 | 1708 | "example" : 200.5,
|
1695 | 1709 | "x-is-money" : true
|
|
1708 | 1722 | },
|
1709 | 1723 | "SickLeaveAnniversaryDate" : {
|
1710 | 1724 | "type" : "string",
|
1711 |
| - "description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave", |
| 1725 | + "description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave. When null the Employee's start date is used as the anniversary date", |
| 1726 | + "format" : "date", |
| 1727 | + "example" : "2020-01-19", |
| 1728 | + "x-is-date" : true |
| 1729 | + }, |
| 1730 | + "AnnualLeaveAnniversaryDate" : { |
| 1731 | + "type" : "string", |
| 1732 | + "description" : "The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date", |
1712 | 1733 | "format" : "date",
|
1713 | 1734 | "example" : "2020-01-19",
|
1714 | 1735 | "x-is-date" : true
|
|
1748 | 1769 | },
|
1749 | 1770 | "hoursAccruedAnnually" : {
|
1750 | 1771 | "type" : "number",
|
1751 |
| - "description" : "The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"", |
| 1772 | + "description" : "Deprecated use UnitsAccruedAnnually", |
1752 | 1773 | "format" : "double",
|
1753 | 1774 | "x-is-money" : true
|
1754 | 1775 | },
|
| 1776 | + "UnitsAccruedAnnually" : { |
| 1777 | + "type" : "number", |
| 1778 | + "description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"", |
| 1779 | + "format" : "double", |
| 1780 | + "x-is-money" : true |
| 1781 | + }, |
| 1782 | + "typeOfUnitsToAccrue" : { |
| 1783 | + "type" : "string", |
| 1784 | + "description" : "The type of units accrued for the leave annually" |
| 1785 | + }, |
1755 | 1786 | "maximumToAccrue" : {
|
1756 | 1787 | "type" : "number",
|
1757 |
| - "description" : "The maximum number of hours that can be accrued for the leave", |
| 1788 | + "description" : "The maximum number of units that can be accrued for the leave", |
1758 | 1789 | "format" : "double",
|
1759 | 1790 | "x-is-money" : true
|
1760 | 1791 | },
|
1761 | 1792 | "openingBalance" : {
|
1762 | 1793 | "type" : "number",
|
1763 |
| - "description" : "The initial number of hours assigned when the leave was added to the employee", |
| 1794 | + "description" : "The initial number of units assigned when the leave was added to the employee", |
1764 | 1795 | "format" : "double",
|
1765 | 1796 | "x-is-money" : true
|
1766 | 1797 | },
|
| 1798 | + "openingBalanceTypeOfUnits" : { |
| 1799 | + "type" : "string", |
| 1800 | + "description" : "The type of units for the opening balance" |
| 1801 | + }, |
1767 | 1802 | "rateAccruedHourly" : {
|
1768 | 1803 | "type" : "number",
|
1769 | 1804 | "description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
|
|
2607 | 2642 | "format" : "double",
|
2608 | 2643 | "x-is-money" : true
|
2609 | 2644 | },
|
| 2645 | + "numberOfUnitsTaken" : { |
| 2646 | + "type" : "number", |
| 2647 | + "description" : "The number of units taken for the leave", |
| 2648 | + "format" : "double" |
| 2649 | + }, |
| 2650 | + "typeOfUnits" : { |
| 2651 | + "type" : "string", |
| 2652 | + "description" : "The type of units paid for the leave" |
| 2653 | + }, |
| 2654 | + "typeOfUnitsTaken" : { |
| 2655 | + "type" : "string", |
| 2656 | + "description" : "The type of units taken for the leave" |
| 2657 | + }, |
2610 | 2658 | "periodStatus" : {
|
2611 | 2659 | "type" : "string",
|
2612 |
| - "description" : "Period Status", |
2613 |
| - "enum" : [ "Approved", "Completed" ] |
| 2660 | + "description" : "Status of leave", |
| 2661 | + "enum" : [ "Approved", "Completed", "Estimated" ] |
2614 | 2662 | }
|
2615 | 2663 | },
|
2616 | 2664 | "description" : ""
|
|
2665 | 2713 | "isActive" : {
|
2666 | 2714 | "type" : "boolean",
|
2667 | 2715 | "description" : "Shows whether the leave type is active or not"
|
| 2716 | + }, |
| 2717 | + "typeOfUnits" : { |
| 2718 | + "type" : "string", |
| 2719 | + "description" : "The type of units to be paid for the leave type" |
| 2720 | + }, |
| 2721 | + "typeOfUnitsToAccrue" : { |
| 2722 | + "type" : "string", |
| 2723 | + "description" : "The type of units to be accrued for the leave type" |
2668 | 2724 | }
|
2669 | 2725 | },
|
2670 | 2726 | "description" : ""
|
|
4027 | 4083 | <nav id="scrollingNav">
|
4028 | 4084 | <ul class="sidenav nav nav-list">
|
4029 | 4085 | <li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
|
4030 |
| - <li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.3.0</li> |
| 4086 | + <li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.0.0</li> |
4031 | 4087 | <li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
|
4032 | 4088 | <li data-group="PayrollNz" data-name="approveTimesheet" class="">
|
4033 | 4089 | <a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
|
|
0 commit comments