Skip to content

Commit 5ec0ae3

Browse files
authored
Merge pull request #642 from DannyvdSluijs/Update-09-04-2024
feat: Update to documentation d.d. 09-04-2024
2 parents 729c879 + 17af61d commit 5ec0ae3

21 files changed

+698
-18
lines changed

src/Picqer/Financials/Exact/AcceptQuotation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAcceptQuotation
99
*
1010
* @property string $QuotationID Identifier of the quotation.
11-
* @property int $Action 0 = No action (Default), 1 = create sales order, 2 = create sales invoice, 3 = create project, 4 = add to existing project, 5 = create subscription, 99 = follow email with sign off action.
11+
* @property int $Action 0 = No action (Default), 1 = create sales order, 2 = create sales invoice, 3 = create project, 4 = add to existing project, 5 = create subscription, 99 = follow email with sign off action. For CRM standalone: Code 99 only applicable for quotation with status '60 - Awaiting online acceptance'.
1212
* @property string $AddToExistingProjectSuccess Contains information if the quotation was successfully added to existing project.
1313
* @property bool $CreateItemPriceAgreement Create a project item price agreement. Only needed when Action = 3 or Action = 4. Default = True.
1414
* @property bool $CreateProjectWBS Create a project work breakdown structure. Only needed when ProjectBudgetType = 2.

src/Picqer/Financials/Exact/Account.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
* @property string $PaymentConditionPurchaseDescription Description of PaymentConditionPurchase
114114
* @property string $PaymentConditionSales Code of default payment condition for sales
115115
* @property string $PaymentConditionSalesDescription Description of PaymentConditionSales
116+
* @property string $PeppolIdentifier Peppol identifier user entered manually, corresponds to picked peppol adress
117+
* @property int $PeppolIdentifierType Peppol identifier type that user picked manually - GLN, COC, etc
116118
* @property string $Phone Phone number
117119
* @property string $PhoneExtension Phone number extention
118120
* @property string $Postcode Visit address postcode
@@ -261,6 +263,8 @@ class Account extends Model
261263
'PaymentConditionPurchaseDescription',
262264
'PaymentConditionSales',
263265
'PaymentConditionSalesDescription',
266+
'PeppolIdentifier',
267+
'PeppolIdentifierType',
264268
'Phone',
265269
'PhoneExtension',
266270
'Postcode',

src/Picqer/Financials/Exact/DirectDebitMandate.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
*
1010
* @property string $ID Primary key
1111
* @property string $Account Account to which the mandate belongs.
12+
* @property string $Attachment Contain attachment (Format: Base64 encoded) of the mandate belongs. Binaries are not sent in the response.
13+
* @property string $AttachmentFileName Filename of the attachment to which the mandate belongs.
1214
* @property string $BankAccount Bank account to which the mandate belongs.
1315
* @property string $CancellationDate Date that the mandate is cancelled. Used to check the validity of the mandate.
1416
* @property string $Created Creation date
@@ -34,6 +36,8 @@ class DirectDebitMandate extends Model
3436
protected $fillable = [
3537
'ID',
3638
'Account',
39+
'Attachment',
40+
'AttachmentFileName',
3741
'BankAccount',
3842
'CancellationDate',
3943
'Created',

src/Picqer/Financials/Exact/EmailWithSignOffQuotation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @property string $QuotationID Identifier of the quotation.
1111
* @property string $AcceptEmailLayout If you enter for this field, your customer receives an email with the quotation after approval of the quotation.
1212
* @property string $AcceptOpportunityStage The stage of the opportunity after approval of the quotation.
13-
* @property int $Action 0 = No action (Default), 1 = create sales order, 2 = create sales invoice, 3 = create project, 4 = add to existing project, 5 = create subscription
13+
* @property int $Action 0 = No action (Default), 1 = create sales order, 2 = create sales invoice, 3 = create project, 4 = add to existing project, 5 = create subscription. For CRM standalone: If the value is not provided, the default value will set to '2 - create sales invoice'. If the value is provided, the value must be '2 - create sales invoice'. Otherwise, the error message will be thrown.
1414
* @property bool $AllowProvideYourRef Allow customers to enter their purchase order number.
1515
* @property bool $CreateItemPriceAgreement Create a project item price agreement. Only needed when Action = 3 or Action = 4. Default = True.
1616
* @property bool $CreateProjectWBS Create a project work breakdown structure. Only needed when ProjectBudgetType = 2.
@@ -19,7 +19,7 @@
1919
* @property string $EmailLayout Based on this layout the email text is produced.
2020
* @property string $ErrorMessage Contains the error message if an error occurred during the creation of the Email.
2121
* @property string $ExtraText Extra text that can be added to the printed document and email.
22-
* @property string $InvoiceJournal The journal in which the sales invoice will be booked. Mandatory for Action = 2.
22+
* @property string $InvoiceJournal The journal in which the sales invoice will be booked. Mandatory for Action = 2. For CRM standalone: If the value is not provided, the default value will set to 'sales journal'. If the value is provided, the value must be 'sales journal'. Otherwise, the error message will be thrown.
2323
* @property int $ProjectBudgetType The budget type of the project that will be created. 0 = None (Default), 1 = Hours per hour type, 2 = Work breakdown structure (WBS).
2424
* @property string $ProjectClassification The ID of the project classification.
2525
* @property string $ProjectCode The code of the project that will be created. Mandatory for Action = 3.

src/Picqer/Financials/Exact/Employment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* @property string $Employee Employee ID
1616
* @property string $EmployeeFullName Name of employee
1717
* @property int $EmployeeHID Numeric number of Employee
18+
* @property int $EmploymentNumber Employment number
1819
* @property string $EndDate End date of employment
19-
* @property int $HID Numeric ID of the employment
2020
* @property string $Modified Last modified date
2121
* @property string $Modifier User ID of modifier
2222
* @property string $ModifierFullName Name of modifier
@@ -40,8 +40,8 @@ class Employment extends Model
4040
'Employee',
4141
'EmployeeFullName',
4242
'EmployeeHID',
43+
'EmploymentNumber',
4344
'EndDate',
44-
'HID',
4545
'Modified',
4646
'Modifier',
4747
'ModifierFullName',

src/Picqer/Financials/Exact/EmploymentOrganization.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@
2222
* @property string $Employee ID of employee
2323
* @property string $EmployeeFullName Name of employee
2424
* @property int $EmployeeHID Numeric ID of the employee
25-
* @property string $Employment Employement ID
26-
* @property int $EmploymentHID Numeric ID of the employment
25+
* @property string $Employment Employment ID
26+
* @property int $EmploymentNumber Employment number
2727
* @property string $EndDate Organization end date
2828
* @property string $JobTitle ID of job title
2929
* @property string $JobTitleCode Job title code
3030
* @property string $JobTitleDescription Job title description
3131
* @property string $Modified Last modified date
3232
* @property string $Modifier User ID of modifier
3333
* @property string $ModifierFullName Name of modifier
34-
* @property string $Notes Explanation or extra information can be stored in the notes
3534
* @property string $StartDate Organization start date
3635
*/
3736
class EmploymentOrganization extends Model
@@ -55,15 +54,14 @@ class EmploymentOrganization extends Model
5554
'EmployeeFullName',
5655
'EmployeeHID',
5756
'Employment',
58-
'EmploymentHID',
57+
'EmploymentNumber',
5958
'EndDate',
6059
'JobTitle',
6160
'JobTitleCode',
6261
'JobTitleDescription',
6362
'Modified',
6463
'Modifier',
6564
'ModifierFullName',
66-
'Notes',
6765
'StartDate',
6866
];
6967

src/Picqer/Financials/Exact/EmploymentSalary.php

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,71 +8,95 @@
88
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=PayrollEmploymentSalaries
99
*
1010
* @property string $ID Primary key
11+
* @property int $AmountType Salary Section: Salary typeValue: 0 - Gross, 1 - Net.
12+
* @property string $AmountTypeDescription Salary Section: Salary type descriptionWhen AmountType value is 0, return 'Gross'When AmountType value 1, return 'Net'
1113
* @property float $AverageDaysPerWeek The average number of contract days that an employee works per week
1214
* @property float $AverageHoursPerWeek The average number of contract hours that an employee works per week
15+
* @property float $BillabilityTarget Schedule Section: Billability target
1316
* @property string $Created Creation date
1417
* @property string $Creator User ID of creator
1518
* @property string $CreatorFullName Name of creator
19+
* @property string $Description General section: Custom description
1620
* @property int $Division Division code
1721
* @property string $Employee Employee ID
1822
* @property string $EmployeeFullName Name of employee
1923
* @property int $EmployeeHID Employee number
2024
* @property string $Employment Employment
21-
* @property int $EmploymentHID Employment number
25+
* @property int $EmploymentNumber Employment number
2226
* @property int $EmploymentSalaryType Salary type of employment. 1 - Periodical (fixed), 2 - Per hour (variable)
2327
* @property string $EmploymentSalaryTypeDescription Salary type description
2428
* @property string $EndDate Salary record end date
29+
* @property float $ExternalRate Rate Section: External rate
2530
* @property int $Frequency Frequency: 1 - Yearly, 2 - Quarterly, 3 - Monthly, 4 - 4-weekly, 5 - Weekly, 11 - Yearly (Pro forma), 12 - Quarterly (Pro forma), 13 - Monthly (Pro forma), 14 - 4-Weekly (Pro forma), 15 - Weekly (Pro forma)
31+
* @property string $FrequencyDescription Payroll period frequency description
2632
* @property float $FulltimeAmount Salary when working fulltime
2733
* @property float $HourlyWage Hourly wage
34+
* @property float $IntercompanyRate Rate Section: Intercompany rate
2835
* @property float $InternalRate Internal rate for time & billing or professional service user
2936
* @property int $JobLevel Employee job level in context of a wage scale
3037
* @property string $Modified Last modified date
3138
* @property string $Modifier User ID of modifier
3239
* @property string $ModifierFullName Name of modifier
3340
* @property float $ParttimeAmount Salary when working parttime
3441
* @property float $ParttimeFactor Contract hours / Fulltime contract hours
42+
* @property int $SalaryBasedType Salary Section: Salary based on.Value: 0 - Manual entry, 1 - Wagescale, 2 - Minimum wage, 3 - Minimum hourly wage
43+
* @property string $SalaryBasedTypeDescription When SalaryBasedType value is 0, return 'Manual entry'When SalaryBasedType value 1, return 'Wage scale'When SalaryBasedType value 2, return 'Minimum wage'When SalaryBasedType value 3, return 'Minimum hourly wage'
3544
* @property string $Scale Employee wage scale
3645
* @property string $Schedule Employment schedule
3746
* @property string $ScheduleCode Employment schedule code
3847
* @property string $ScheduleDescription Description of employment schedule
3948
* @property string $StartDate Salary record start date
49+
* @property string $WageScale Salary Section: Wagescale ID
50+
* @property int $WageScalePeriod Salary Section: Period for automatic step increase
51+
* @property string $WageScaleStep Salary Section: Wagescale Step Code
4052
*/
4153
class EmploymentSalary extends Model
4254
{
4355
use Query\Findable;
4456

4557
protected $fillable = [
4658
'ID',
59+
'AmountType',
60+
'AmountTypeDescription',
4761
'AverageDaysPerWeek',
4862
'AverageHoursPerWeek',
63+
'BillabilityTarget',
4964
'Created',
5065
'Creator',
5166
'CreatorFullName',
67+
'Description',
5268
'Division',
5369
'Employee',
5470
'EmployeeFullName',
5571
'EmployeeHID',
5672
'Employment',
57-
'EmploymentHID',
73+
'EmploymentNumber',
5874
'EmploymentSalaryType',
5975
'EmploymentSalaryTypeDescription',
6076
'EndDate',
77+
'ExternalRate',
6178
'Frequency',
79+
'FrequencyDescription',
6280
'FulltimeAmount',
6381
'HourlyWage',
82+
'IntercompanyRate',
6483
'InternalRate',
6584
'JobLevel',
6685
'Modified',
6786
'Modifier',
6887
'ModifierFullName',
6988
'ParttimeAmount',
7089
'ParttimeFactor',
90+
'SalaryBasedType',
91+
'SalaryBasedTypeDescription',
7192
'Scale',
7293
'Schedule',
7394
'ScheduleCode',
7495
'ScheduleDescription',
7596
'StartDate',
97+
'WageScale',
98+
'WageScalePeriod',
99+
'WageScaleStep',
76100
];
77101

78102
protected $url = 'payroll/EmploymentSalaries';

src/Picqer/Financials/Exact/EmploymentTaxAuthoritiesGeneral.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @property string $EmployeeFullName Name of employee
1818
* @property int $EmployeeHID Employee number
1919
* @property string $Employment Employment
20-
* @property int $EmploymentHID Employment number
20+
* @property int $EmploymentNumber Employment number
2121
* @property string $EndDate End date of employment agencies
2222
* @property string $InfluenceInsuranceObligation Influence insurance obligation
2323
* @property string $InfluenceInsuranceObligationDescription Influence insurance obligation description
@@ -46,7 +46,7 @@ class EmploymentTaxAuthoritiesGeneral extends Model
4646
'EmployeeFullName',
4747
'EmployeeHID',
4848
'Employment',
49-
'EmploymentHID',
49+
'EmploymentNumber',
5050
'EndDate',
5151
'InfluenceInsuranceObligation',
5252
'InfluenceInsuranceObligationDescription',

src/Picqer/Financials/Exact/ProjectTimeTransaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @property string $EndTime End time of the time transaction
2727
* @property int $EntryNumber Number that represents the grouping of time transactions
2828
* @property string $ErrorText (Only used by backgroundjobs) To determine which transaction has an error
29-
* @property int $HourStatus Status of the transaction: 1 = Draft, 2 = Rejected, 10 = Submitted, 11 = Failed on approval, 14 = Processing, 16 = Processing, 19 = Failed while undoing approval, 20 = Final
29+
* @property int $HourStatus For POST/PUT: Status of the transaction: 1 = Draft, 2 = Rejected, 10 = Submitted For GET: Status of the transaction: 1 = Draft, 2 = Rejected, 10 = Submitted, 11 = Failed on approval, 14 = Processing, 16 = Processing, 19 = Failed while undoing approval, 20 = Final
3030
* @property string $Item Item that is linked to the transaction, which provides the time information
3131
* @property string $ItemDescription Description of the item that is linked to the transaction
3232
* @property bool $ItemDivisable Indicates if fractional quantities of the item can be used, for example quantity = 0.4

src/Picqer/Financials/Exact/StockSerialNumber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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 $ParentID ID to link part item to assembled item (assembly order and pick order only)
25+
* @property string $ParentID The main item’s serial number ID, which should be linked to the issued part’s item serial number for the shop order.
2626
* @property string $PickOrderLine ID of pick order entry in which this serial or batch number was used.
2727
* @property string $Remarks Remarks
2828
* @property string $SalesOrderLine ID of sales order in which this serial or batch number was reserved. Provided only for the Exact Online Premium users.

0 commit comments

Comments
 (0)