forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGeneralJournalEntryLine.php
58 lines (54 loc) · 1.99 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
<?php
namespace Picqer\Financials\Exact;
/**
* Class GeneralJournalEntryLine.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=GeneralJournalEntryGeneralJournalEntryLines
*
* @property string $ID Primary key
* @property string $Account Reference to account
* @property float $AmountFC Amount in the currency of the transaction. If an 'Including' VAT code is used this amount includes the VAT amount.
* @property float $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 string $Asset Reference to asset
* @property string $CostCenter Reference to cost center
* @property string $CostUnit Reference to cost unit
* @property string $Date Entry date
* @property string $Description Description
* @property string $Document Reference to document
* @property string $EntryID Reference to header of the entry
* @property string $GLAccount General ledger account
* @property string $Notes Extra remarks
* @property string $OffsetID
* @property int $OurRef Our ref of general journal entry
* @property string $Project Reference to project
* @property float $Quantity
* @property 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 float $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';
}