Skip to content

Commit

Permalink
Merge pull request #495 from DannyvdSluijs/Update-models-to-curent-do…
Browse files Browse the repository at this point in the history
…cs-august-17

Update the docs once again
  • Loading branch information
stephangroen authored Aug 18, 2021
2 parents 7f0824a + e92064a commit fd550d5
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/DocumentFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -36,6 +37,7 @@ class DocumentFolder extends Model
'Modifier',
'ModifierFullName',
'ParentFolder',
'Share',
];

protected $url = 'documents/DocumentFolders';
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/Me.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -51,6 +52,7 @@ class Me extends Model
'UserID',
'AccountingDivision',
'CurrentDivision',
'CustomerCode',
'DivisionCustomer',
'DivisionCustomerCode',
'DivisionCustomerName',
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -103,6 +104,7 @@ class Project extends Model
'FixedPriceItemDescription',
'HasWBSLines',
'IncludeInvoiceSpecification',
'IncludeSpecificationInInvoicePdf',
'InternalNotes',
'InvoiceAddress',
'InvoiceAsQuoted',
Expand Down
12 changes: 11 additions & 1 deletion src/Picqer/Financials/Exact/PurchaseOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -75,6 +80,11 @@ class PurchaseOrder extends Model
'PurchaseOrderID',
'AmountDC',
'AmountFC',
'ApprovalStatus',
'ApprovalStatusDescription',
'Approved',
'Approver',
'ApproverFullName',
'Created',
'Creator',
'CreatorFullName',
Expand Down
2 changes: 2 additions & 0 deletions src/Picqer/Financials/Exact/VatCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -86,6 +87,7 @@ class VatCode extends Model
'Modified',
'Modifier',
'ModifierFullName',
'OssCountry',
'Percentage',
'TaxReturnType',
'Type',
Expand Down

0 comments on commit fd550d5

Please sign in to comment.