Skip to content

Commit b13eea7

Browse files
authored
Merge pull request #661 from DannyvdSluijs/Update-from-documentation-2024-10-28
feat: Update based on documentation d.d. 2024-10-28
2 parents 6d40baa + d25c30c commit b13eea7

File tree

11 files changed

+35
-13
lines changed

11 files changed

+35
-13
lines changed

src/Picqer/Financials/Exact/DivisionClassName.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* @property string $Customer ID of customer
1515
* @property string $Description Description of classification
1616
* @property int $DescriptionTermID Term ID of the classification
17-
* @property DivisionClass[] $DivisionClasses Collection of classification properties
1817
* @property string $Modified Last modified date
1918
* @property string $Modifier User ID of modifier
2019
* @property string $ModifierFullName Name of modifier
@@ -32,7 +31,6 @@ class DivisionClassName extends Model
3231
'Customer',
3332
'Description',
3433
'DescriptionTermID',
35-
'DivisionClasses',
3634
'Modified',
3735
'Modifier',
3836
'ModifierFullName',

src/Picqer/Financials/Exact/Document.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @property string $CategoryDescription Description of Category
1818
* @property string $Contact ID of the related contact of this document
1919
* @property string $ContactFullName Contact full name
20+
* @property string $ContractNumber Contract Number
2021
* @property string $Created Creation date
2122
* @property string $Creator User ID of creator
2223
* @property string $CreatorFullName Name of creator
@@ -69,6 +70,7 @@ class Document extends Model
6970
'CategoryDescription',
7071
'Contact',
7172
'ContactFullName',
73+
'ContractNumber',
7274
'Created',
7375
'Creator',
7476
'CreatorFullName',

src/Picqer/Financials/Exact/Me.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @property bool $IsEmployeeSelfServiceUser Employee user with limited access and specific start page
2828
* @property bool $IsMyFirmLiteUser MyFirm lite user of accountant with limited access and specific start page (internal use)
2929
* @property bool $IsMyFirmPortalUser MyFirm user of accountant with limited access and specific start page (internal use)
30+
* @property bool $IsOEIMigrationMandatory Determines whether one exact identity migration is mandatory for the user. True - User does have to migrate, False - User does not have to migrate
3031
* @property bool $IsStarterUser Starter user with limited access and specific start page (internal use)
3132
* @property string $Language Language spoken by this user
3233
* @property string $LanguageCode Language (culture) that is used in Exact Online
@@ -73,6 +74,7 @@ class Me extends Model
7374
'IsEmployeeSelfServiceUser',
7475
'IsMyFirmLiteUser',
7576
'IsMyFirmPortalUser',
77+
'IsOEIMigrationMandatory',
7678
'IsStarterUser',
7779
'Language',
7880
'LanguageCode',

src/Picqer/Financials/Exact/PrintedSalesInvoice.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @property string $EmailLayout Based on this layout the email text is produced
1919
* @property string $ExtraText Extra text that can be added to the printed document and email
2020
* @property string $InvoiceDate Date of the invoice
21+
* @property string $PeppolCreationError Contains the error message if an error occurred during the sending via peppol
22+
* @property string $PeppolCreationSuccess Contains information if sending via peppol was succesfully sent
2123
* @property string $PostboxMessageCreationError Contains the error message if an error occurred during the sending of a postbox message
2224
* @property string $PostboxMessageCreationSuccess Contains information if a postbox message was succesfully sent
2325
* @property string $PostboxSender The postbox from where the message is sent
@@ -26,6 +28,7 @@
2628
* @property bool $SendEmailToCustomer Set to True if an email containing the invoice should be sent to the invoice customer. This option overrules SendInvoiceToCustomerPostbox.
2729
* @property string $SenderEmailAddress Email address from which the email will be sent. If not specified, the company email address will be used.
2830
* @property bool $SendInvoiceToCustomerPostbox Set to True if a postbox message containing the invoice should be sent to the invoice customer Take notes:The digital postbox option only available if the license has Mailbox feature set.
31+
* @property bool $SendInvoiceViaPeppol Set to True if the invoice should be sent via peppol to the invoice customer.
2932
* @property bool $SendOutputBasedOnAccount Set to True if the output preference should be taken from the account. It will be either Document only, Email or Digital postbox. This option overrules both SendEmailToCustomer and SendInvoiceToCustomerPostbox. Take notes:The digital postbox option only available if the license has Mailbox feature set.
3033
*/
3134
class PrintedSalesInvoice extends Model
@@ -47,6 +50,8 @@ class PrintedSalesInvoice extends Model
4750
'EmailLayout',
4851
'ExtraText',
4952
'InvoiceDate',
53+
'PeppolCreationError',
54+
'PeppolCreationSuccess',
5055
'PostboxMessageCreationError',
5156
'PostboxMessageCreationSuccess',
5257
'PostboxSender',
@@ -55,6 +60,7 @@ class PrintedSalesInvoice extends Model
5560
'SendEmailToCustomer',
5661
'SenderEmailAddress',
5762
'SendInvoiceToCustomerPostbox',
63+
'SendInvoiceViaPeppol',
5864
'SendOutputBasedOnAccount',
5965
];
6066

src/Picqer/Financials/Exact/Project.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
* @property string $InternalNotes Internal notes not to be printed in invoice
4848
* @property string $InvoiceAddress Invoice address
4949
* @property bool $InvoiceAsQuoted Indicates whether the project is invoice as quoted
50+
* @property string $InvoiceDescription Description for generate project invoice
5051
* @property InvoiceTerm[] $InvoiceTerms Collection of invoice terms
5152
* @property int $IsWBSRequiredForEntry Indicates whether the project WBS is required for time and cost entry E.g: 0 = Based on company setting, 1 = Yes, 2 = No
5253
* @property string $Manager Responsible person for this project
@@ -118,6 +119,7 @@ class Project extends Model
118119
'InternalNotes',
119120
'InvoiceAddress',
120121
'InvoiceAsQuoted',
122+
'InvoiceDescription',
121123
'InvoiceTerms',
122124
'IsWBSRequiredForEntry',
123125
'Manager',

src/Picqer/Financials/Exact/Schedule.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,32 @@
88
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=HRMSchedules
99
*
1010
* @property string $ID Primary key
11-
* @property float $AverageHours Average hours per week in a schedule
11+
* @property float $AverageHours Average hours per week in a schedulePlease be aware this property is mandatory if you use ScheduleType 1 or 2.For Time and Billing basic company, when creating a new schedule, the value is set to 0. When schedule entries are created, the BC will set the calculated value for Average hours per week.
1212
* @property float $BillabilityTarget Billability target
1313
* @property string $Code Schedule code
1414
* @property string $Created Creation date
1515
* @property string $Creator ID of creator
1616
* @property string $CreatorFullName Name of the creator
17-
* @property float $Days Average days per week in the schedule
17+
* @property float $Days Average days per week in the scheduleFor Time and Billing basic company, when creating a new schedule, the value is set to 0. When schedule entries are created, the BC will set the calculated value for Average days per week.
1818
* @property string $Description Description of the schedule
1919
* @property int $Division Division code
20+
* @property string $Employee Employee ID of the schedule
21+
* @property string $EmployeeFullName Employee full name of the schedule
2022
* @property string $Employment Employment ID for schedule
21-
* @property int $EmploymentHID Employment number
23+
* @property string $EmploymentCLA Employment CLA ID of the schedule
24+
* @property int $EmploymentNumber Employment number
2225
* @property string $EndDate End date of the schedule
2326
* @property float $Hours Number of hours per week in a CLA for which the schedule is built
24-
* @property float $LeaveHoursCompensation Number of hours which are built up each week for later leave
27+
* @property float $LeaveHoursCompensation Number of hours which are built up each week for later leaveFor Time and Billing basic company, the value is set to 0.
2528
* @property int $Main Indication if the schedule is a main schedule for a CLA. 1 = Yes, 0 = No
2629
* @property string $Modified Last modified date
2730
* @property string $Modifier ID of modifier
2831
* @property string $ModifierFullName Name of the modifier
2932
* @property float $PaymentParttimeFactor Part-time factor for payroll calculation. Value between 0 and 1
30-
* @property int $ScheduleType Type of schedule. 1 = Hours and average days, 2 = Hours and specific days, 3 = Hours per day, 4 = Time frames per day
33+
* @property ScheduleEntry[] $ScheduleEntries The collection of schedule entries
34+
* @property int $ScheduleType Type of schedule. 1 = Hours and average days, 2 = Hours and specific days, 3 = Hours per day, 4 = Time frames per day1 - Hours and average days, StartWeek will automatically set to 12 - Hours and specific days, StartWeek must be greater or equal to 1, AverageDaysPerWeek will automatically set to 03 - Hours per day, StartWeek must be greater or equal to 1, AverageHoursPerWeek and AverageDaysPerWeek will automatically set to 04 - Time frames per day, Hours per day, StartWeek must be greater or equal to 1, AverageHoursPerWeek and AverageDaysPerWeek will automatically set to 0Note: For Time and Billing basic company, the schedule type is automatically set to value "3 - Hour per day".
3135
* @property string $ScheduleTypeDescription Description of the schedule type
32-
* @property string $StartDate Week in the schedule which is used to start with. By default the number will be 1.
36+
* @property string $StartDate Start date of the schedule
3337
* @property int $StartWeek Week to start the schedule from for an employee
3438
*/
3539
class Schedule extends Model
@@ -47,8 +51,11 @@ class Schedule extends Model
4751
'Days',
4852
'Description',
4953
'Division',
54+
'Employee',
55+
'EmployeeFullName',
5056
'Employment',
51-
'EmploymentHID',
57+
'EmploymentCLA',
58+
'EmploymentNumber',
5259
'EndDate',
5360
'Hours',
5461
'LeaveHoursCompensation',
@@ -57,6 +64,7 @@ class Schedule extends Model
5764
'Modifier',
5865
'ModifierFullName',
5966
'PaymentParttimeFactor',
67+
'ScheduleEntries',
6068
'ScheduleType',
6169
'ScheduleTypeDescription',
6270
'StartDate',

src/Picqer/Financials/Exact/SyncBankAccount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
* @property string $EmployeeFullName Name of employee
1919
* @property int $EmployeeHID Numeric number of Employee
2020
* @property string $ID Primary key
21-
* @property bool $Main This indicates if the bank account is the main bank account. Set this to true if the bank account is the main bank account. If there are no bank accounts, the first bank account will automatically be set as the main bank account.
21+
* @property bool $Main This indicates if the bank account is the main bank account
2222
* @property string $Modified Last modified date
2323
* @property string $Modifier User ID of modifier
2424
* @property string $ModifierFullName Name of modifier
25-
* @property string $Number This is the bank account number.
25+
* @property string $Number This is the bank account number. (maximum of 34 characters)
2626
*/
2727
class SyncBankAccount extends Model
2828
{

src/Picqer/Financials/Exact/SyncDocument.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @property string $CategoryDescription Description of Category
1818
* @property string $Contact ID of the related contact of this document
1919
* @property string $ContactFullName Contact full name
20+
* @property string $ContractNumber Contract Number
2021
* @property string $Created Creation date
2122
* @property string $Creator User ID of creator
2223
* @property string $CreatorFullName Name of creator
@@ -73,6 +74,7 @@ class SyncDocument extends Model
7374
'CategoryDescription',
7475
'Contact',
7576
'ContactFullName',
77+
'ContractNumber',
7678
'Created',
7779
'Creator',
7880
'CreatorFullName',

src/Picqer/Financials/Exact/SyncProject.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* @property string $InvoiceAddress Invoice address
4949
* @property bool $InvoiceAsQuoted Indicates whether the project is invoice as quoted
5050
* @property int $IsWBSRequiredForEntry Indicates whether the project WBS is required for time and cost entry E.g: 0 = Based on company setting, 1 = Yes, 2 = No
51+
* @property string $InvoiceDescription Description for generate project invoice
5152
* @property string $Manager Responsible person for this project
5253
* @property string $ManagerFullname Name of Manager
5354
* @property float $MarkupPercentage Purchase markup percentage
@@ -115,6 +116,7 @@ class SyncProject extends Model
115116
'InternalNotes',
116117
'InvoiceAddress',
117118
'InvoiceAsQuoted',
119+
'InvoiceDescription',
118120
'IsWBSRequiredForEntry',
119121
'Manager',
120122
'ManagerFullname',

src/Picqer/Financials/Exact/SyncSchedule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @property float $PaymentParttimeFactor Part-time factor for payroll calculation. Value between 0 and 1
3131
* @property int $ScheduleType Type of schedule. 1 = Hours and average days, 2 = Hours and specific days, 3 = Hours per day, 4 = Time frames per day
3232
* @property string $ScheduleTypeDescription Description of the schedule type
33-
* @property string $StartDate Week in the schedule which is used to start with. By default the number will be 1.
33+
* @property string $StartDate Start date of the schedule
3434
* @property int $StartWeek Week to start the schedule from for an employee
3535
*/
3636
class SyncSchedule extends Model

0 commit comments

Comments
 (0)