elements Structure
It contains all the necessary fields required to determine an invoice.
Name | Description | |
---|---|---|
aa | The invoice number, type of Long | |
correlatedInvoices |
The correlated invoices, type of String The field labelled "correlated invoices" it has values only when invoice type is 1.6, 2.4, and 5.1. Its value should correspond to the "Mark" associated with the original invoice. |
|
currency |
ISO Currency Code, type of String Get a list of all currency codes using myDATATools.getCurrencies |
|
deductionsAmount | The total deductions amount of the invoice, type of Double | |
dispatchDate |
The dispatch date, type of Date Determines the date the dispatch will start. |
|
dispatchTime |
The dispatch time, type of String Determines the time (24-hour) the dispatch will start. Example: 18:31 |
|
exchangeRate |
It has value only when you use a currency other than EUR. Get the Exchage Rates using ExchangeRates Class. The exchange rate, type of Double |
|
feesAmount | The total fees amount of the invoice, type of Double | |
fuelInvoice |
The fuel invoice, type of Boolean. Determines if the invoice stands for "Fuel Invoice". |
|
grossValue | The total gross value of the invoice, type of Double | |
invoiceType |
The invoice type, type of String Get a list of all invoiceType using myDATATools.getInvoiceType |
|
invoiceVariationType |
The invoice variation type, type of Integer This data is returned in the event that an entity failed to transmit the invoice to myDATA and its counterparty instead transmitted it on his behalf. Get a list of all invoiceVariationType using myDATATools.getInvoiceVariationType |
|
isDeliveryNote |
Indication of Delivery Note, type of Boolean Determines if the invoice also stands for a delivery note. It is only applicable to invoice Type 1.1. |
|
issueDate | The issue date, type of Date | |
movePurpose |
The move purpose of the dispatch, type of Integer Get a list of all movePurpose using myDATATools.getMovePurpose |
|
netValue | The total net value of the invoice, type of Double | |
noteAddress |
It has values only when Invoice Type is 9.4 [or 1.1 with isDeliveryNote=True] Delivery Note Addresses is an object of deliveryNoteAddresses containing the loading and delivery addresses. |
|
otherCorrelatedEntities |
Other Correlated Entities is a list type of otherCorrelatedEntities. This list is optional and can be send with any invoiceType. |
|
otherMovePurposeTitle |
It has values only when movePurpose=18 A concise explanation of the "Other Move Purpose" can be provided in this field, which is a free text area. |
|
otherTaxesAmount | The total other taxes amount of the invoice, type of Double | |
selfPricing |
The self pricing, type of Boolean This value is "true" if the invoice issued by the issuer represents an expense for the issuer and a profit for the counterpart. |
|
series |
Determines the series of the invoice. If there is no series, it will be zero (0). The series, type of String |
|
specialInvoiceCategory |
The special invoice category, type of Integer The values returned in this field show if the invoice pertains to a unique invoice type and not the one specified in the invoiceType. Get a list of all specialInvoiceCategory using myDATATools.getspecialInvoiceCategory |
|
stampDutyAmount | The total stamp duty amount of the invoice, type of Double | |
taxes | The taxes of the invoice, type of Dictionary | |
thirdPartyCollection | It has value only when Invoice Type is 8.4 or 8.5 | |
transmissionFailure |
It has value only when the invoice issue date is earlier than the current date and outside of the range set by the myDATA limitations law. Possible values for ERP: 3 (Loss of connection) Possible values for Providers: 1 (failure of entity to communicate with the provider) and 2 (failure of the provider to communicate with myDATA) The transmission failure, type of Integer |
|
vatAmount | The total vat amount of the invoice, type of Double | |
vatPaymentSuspension |
The vat payment suspension, type of Boolean Determines if the issuer is not obligated to pay the VAT to the government. |
|
vehicleNumber | The licence plate of the vehicle that it is associated with the dispatch, type of String | |
withHeldAmount | The total withheld amount of the invoice, type of Double |