forked from Philippe-Mange/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGeneralJournalEntryLine.php
60 lines (55 loc) · 2.1 KB
/
GeneralJournalEntryLine.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
namespace Picqer\Financials\Exact;
/**
* Class GeneralJournalEntryLine
*
* @package Picqer\Financials\Exact
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=GeneralJournalEntryGeneralJournalEntryLines
*
* @property Edm.Guid $ID Primary key
* @property Edm.Guid $Account Reference to account
* @property Edm.Double $AmountFC Amount in the currency of the transaction. If an 'Including' VAT code is used this amount includes the VAT amount.
* @property Edm.Double $AmountVATFC Vat amount in the currency of the transaction. If you want to set this in a POST you have to specify VATCode as well.
* @property Edm.Guid $Asset Reference to asset
* @property Edm.String $CostCenter Reference to cost center
* @property Edm.String $CostUnit Reference to cost unit
* @property Edm.DateTime $Date Entry date
* @property Edm.String $Description Description
* @property Edm.Guid $Document Reference to document
* @property Edm.Guid $EntryID Reference to header of the entry
* @property Edm.Guid $GLAccount General ledger account
* @property Edm.String $Notes Extra remarks
* @property Edm.Guid $OffsetID
* @property Edm.Int32 $OurRef Our ref of general journal entry
* @property Edm.Guid $Project Reference to project
* @property Edm.Double $Quantity
* @property Edm.String $VATCode VATCode can only be used if the general journal has VAT enabled. VAT Lines will be automatically created if the VATCode is specified when creating a new general journal entry.
* @property Edm.Double $VATPercentage Vat percentage
*/
class GeneralJournalEntryLine extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'Account',
'AmountFC',
'AmountVATFC',
'Asset',
'CostCenter',
'CostUnit',
'Date',
'Description',
'Document',
'EntryID',
'GLAccount',
'Notes',
'OffsetID',
'OurRef',
'Project',
'Quantity',
'VATCode',
'VATPercentage',
];
protected $url = 'generaljournalentry/GeneralJournalEntryLines';
}