diff --git a/src/Picqer/Financials/Exact/DocumentFolder.php b/src/Picqer/Financials/Exact/DocumentFolder.php index 6380682b..c35f81be 100644 --- a/src/Picqer/Financials/Exact/DocumentFolder.php +++ b/src/Picqer/Financials/Exact/DocumentFolder.php @@ -18,6 +18,7 @@ * @property string $Modifier User ID of modifier * @property string $ModifierFullName Name of modifier * @property string $ParentFolder Document folder parent folder ID + * @property int $Share Document folder share level */ class DocumentFolder extends Model { @@ -36,6 +37,7 @@ class DocumentFolder extends Model 'Modifier', 'ModifierFullName', 'ParentFolder', + 'Share', ]; protected $url = 'documents/DocumentFolders'; diff --git a/src/Picqer/Financials/Exact/Me.php b/src/Picqer/Financials/Exact/Me.php index 670ea8ef..230edddc 100644 --- a/src/Picqer/Financials/Exact/Me.php +++ b/src/Picqer/Financials/Exact/Me.php @@ -10,6 +10,7 @@ * @property string $UserID Primary key * @property int $AccountingDivision Accounting division number * @property int $CurrentDivision Division number that is currently used in the API. You should use a division number in the url + * @property string $CustomerCode Account code of the logged in user. * @property string $DivisionCustomer Owner account of the division * @property string $DivisionCustomerCode Owner account code of the division * @property string $DivisionCustomerName Owner account name of the division @@ -51,6 +52,7 @@ class Me extends Model 'UserID', 'AccountingDivision', 'CurrentDivision', + 'CustomerCode', 'DivisionCustomer', 'DivisionCustomerCode', 'DivisionCustomerName', diff --git a/src/Picqer/Financials/Exact/Project.php b/src/Picqer/Financials/Exact/Project.php index 59c65695..87037099 100644 --- a/src/Picqer/Financials/Exact/Project.php +++ b/src/Picqer/Financials/Exact/Project.php @@ -39,6 +39,7 @@ * @property string $FixedPriceItemDescription Description of FixedPriceItem * @property bool $HasWBSLines Indicates if whether the Project has WBS * @property int $IncludeInvoiceSpecification Include invoice specification. E.g: 1 = Based on account, 2 = Always, 3 = Never + * @property bool $IncludeSpecificationInInvoicePdf Indicates whether to include invoice specification in invoice PDF * @property string $InternalNotes Internal notes not to be printed in invoice * @property string $InvoiceAddress Invoice address * @property bool $InvoiceAsQuoted Indicates whether the project is invoice as quoted @@ -103,6 +104,7 @@ class Project extends Model 'FixedPriceItemDescription', 'HasWBSLines', 'IncludeInvoiceSpecification', + 'IncludeSpecificationInInvoicePdf', 'InternalNotes', 'InvoiceAddress', 'InvoiceAsQuoted', diff --git a/src/Picqer/Financials/Exact/PurchaseOrder.php b/src/Picqer/Financials/Exact/PurchaseOrder.php index 6e3c97e5..8e4ffb70 100644 --- a/src/Picqer/Financials/Exact/PurchaseOrder.php +++ b/src/Picqer/Financials/Exact/PurchaseOrder.php @@ -10,6 +10,11 @@ * @property string $PurchaseOrderID Primary key * @property float $AmountDC Total amount in the default currency of the company * @property float $AmountFC Total amount in the currency of the transaction + * @property int $ApprovalStatus Shows if this purchase order is approved + * @property string $ApprovalStatusDescription Description of ApprovalStatus + * @property string $Approved Approval datetime + * @property string $Approver User who approved the purchase order + * @property string $ApproverFullName Name of approver * @property string $Created Creation date * @property string $Creator User ID of creator * @property string $CreatorFullName Name of creator @@ -25,7 +30,7 @@ * @property string $Document Document that is manually linked to the purchase order * @property string $DocumentSubject Subject of the document * @property bool $DropShipment Shows if it is a drop shipment purchase order - * @property float $ExchangeRate Allows you to set the currency for the invoice. You can only do this if you have checked the Variable: Currency and Variable: Exchange rate fields in the sales journal settings. Once a line has been created in the invoice, the currency can no longer be changed. + * @property float $ExchangeRate The exchange rate between the invoice currency and the default currency of the division. * @property int $InvoiceStatus Invoice status of purchase order: 10-Open, 20-Partial, 30-Complete, 40-Canceled * @property string $Modified Last modified date * @property string $Modifier User ID of modifier @@ -75,6 +80,11 @@ class PurchaseOrder extends Model 'PurchaseOrderID', 'AmountDC', 'AmountFC', + 'ApprovalStatus', + 'ApprovalStatusDescription', + 'Approved', + 'Approver', + 'ApproverFullName', 'Created', 'Creator', 'CreatorFullName', diff --git a/src/Picqer/Financials/Exact/VatCode.php b/src/Picqer/Financials/Exact/VatCode.php index ce56efc4..15e7fed5 100644 --- a/src/Picqer/Financials/Exact/VatCode.php +++ b/src/Picqer/Financials/Exact/VatCode.php @@ -39,6 +39,7 @@ * @property string $Modified Last modified date * @property string $Modifier User ID of modifier * @property string $ModifierFullName User name of modifier + * @property string $OssCountry OSS country. Available when OneStopShop featureset is enabled in the administration. * @property float $Percentage Percentage of the VAT code * @property int $TaxReturnType Indicates what type of Taxcode it is: can be VAT, IncomeTax * @property string $Type Indicates how the VAT amount should be calculated in relation to the invoice amount. B = VAT 0% (Only base amount), E = Excluding, I = Including, N = No VAT @@ -86,6 +87,7 @@ class VatCode extends Model 'Modified', 'Modifier', 'ModifierFullName', + 'OssCountry', 'Percentage', 'TaxReturnType', 'Type',