id |
string |
The unique identifier for the item |
[optional] |
displayedAs |
string |
The name of the resource |
[optional] |
path |
string |
The API path for the resource |
[optional] |
createdAt |
\DateTime |
The datetime when the item was created |
[optional] |
updatedAt |
\DateTime |
The datetime when the item was last updated |
[optional] |
links |
\SynergiTech\Sage\Model\Link[] |
Links for the resource |
[optional] |
editable |
bool |
Indicates whether artefact can be edited |
[optional] |
vatReverseCharge |
bool |
Indicates whether Domestic Reverser Charge is applied to the artefact. Only used for a UK business. |
[optional] |
transaction |
\SynergiTech\Sage\Model\Transaction |
|
[optional] |
transactionType |
\SynergiTech\Sage\Model\Base |
|
[optional] |
contact |
\SynergiTech\Sage\Model\Contact |
|
[optional] |
deletedAt |
\DateTime |
The datetime when the item was deleted |
[optional] |
contactName |
string |
The name of the contact when the invoice was created |
[optional] |
contactReference |
string |
The reference of the contact when the invoice was created |
[optional] |
date |
\DateTime |
The date of the invoice |
[optional] |
dueDate |
\DateTime |
The due date of the invoice |
[optional] |
reference |
string |
The reference for the invoice |
[optional] |
vendorReference |
string |
The vendor reference for the invoice |
[optional] |
notes |
string |
Invoice notes |
[optional] |
totalQuantity |
float |
The total quantity of the invoice |
[optional] |
netAmount |
float |
The net amount of the invoice |
[optional] |
taxAmount |
float |
The tax amount of the invoice |
[optional] |
totalAmount |
float |
The total amount of the invoice |
[optional] |
paymentsAllocationsTotalAmount |
float |
The total amount of all payments and allocations |
[optional] |
paymentsAllocationsTotalDiscount |
float |
The total discount of all payments and allocations |
[optional] |
totalPaid |
float |
The total paid amount of the invoice including any payments, allocations and discounts |
[optional] |
outstandingAmount |
float |
The outstanding amount of the invoice |
[optional] |
currency |
\SynergiTech\Sage\Model\Base |
|
[optional] |
exchangeRate |
float |
The exchange rate for the invoice |
[optional] |
inverseExchangeRate |
string |
The inverse exchange rate for the credit note |
[optional] |
baseCurrencyNetAmount |
float |
The net amount of the invoice in base currency |
[optional] |
baseCurrencyTaxAmount |
float |
The tax amount of the invoice in base currency |
[optional] |
baseCurrencyTotalAmount |
float |
The total amount of the invoice in base currency |
[optional] |
baseCurrencyOutstandingAmount |
float |
The outstanding amount of the invoice in base currency |
[optional] |
status |
\SynergiTech\Sage\Model\Base |
|
[optional] |
voidReason |
string |
The reason the invoice was voided |
[optional] |
invoiceLines |
\SynergiTech\Sage\Model\PurchaseInvoiceLineItem[] |
The invoice lines of the invoice |
[optional] |
taxAnalysis |
\SynergiTech\Sage\Model\ArtefactTaxAnalysis[] |
The invoice tax analysis (Optional for Spain, restricted for all other regions) |
[optional] |
detailedTaxAnalysis |
\SynergiTech\Sage\Model\ArtefactDetailedTaxAnalysis |
|
[optional] |
paymentsAllocations |
\SynergiTech\Sage\Model\PaymentAllocation[] |
The associated payments and allocations |
[optional] |
lastPaid |
\DateTime |
The date of the last payment |
[optional] |
withholdingTaxRate |
float |
IRPF withheld Tax Rate (Spain only) |
[optional] |
withholdingTaxAmount |
float |
IRPF withheld Tax Amount (Spain only) |
[optional] |
baseCurrencyWithholdingTaxAmount |
float |
IRPF withheld Tax Amount (Spain only) in the base currency |
[optional] |
originalInvoice |
\SynergiTech\Sage\Model\Generic |
|
[optional] |
originalInvoiceNumber |
string |
The number relating to the original invoice (Spain only) |
[optional] |
originalInvoiceDate |
string |
The Invoice date relating to the original invoice (Spain only) |
[optional] |
taxReconciled |
bool |
Indicates if the artefact is tax reconciled or not. |
[optional] |
import |
bool |
Indicates whether import rules are applied to the artefact. Only used for Accounting businesses, where the vendor is flagged as importer. |
[optional] |