elements Structure
It contains all the necessary fields required to determine an invoice.
Name | Description | |
---|---|---|
aa |
mandatory field, numbers ONLY. The invoice number, type of Long |
|
correlatedInvoices |
The correlated invoices, type of String The field labelled "correlated invoices" is obligatory for invoices 1.6, 2.4, and 5.1. Its value should correspond To the "Mark" associated With the original invoice. |
|
currency |
Default value EUR. ISO Currency Code ONLY. The currency, type of String Get a list of all currency codes using myDATATools.getCurrencies |
|
deductionsAmount |
Fill out this field only if lineData is false The 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 is a mandatory field only when you use a currency other than EUR. Get the Exchage Rates using ExchangeRates Class. The exchange rate, type of Double |
|
feesAmount |
Fill out this field only if lineData is false The fees amount of the invoice, type of Double |
|
invoiceType |
mandatory field The invoice type, type of String Get a list of all invoiceType using myDATATools.getInvoiceType |
|
invoiceVariationType |
The invoice variation type, type of Integer Only enter this information when you are sending an expense to myDATA for an entity whose original issuer neglected to send it. 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. Default Value False |
|
issueDate |
Default Value Current System Date The issue date, type of Date |
|
lineData |
Define if the taxes are at line level. Default value false If the taxes are at line level, you should fill in the invoiceLine.otherTaxesPercentCategory, the invoiceLine.otherTaxesAmount, the invoiceLine.stampDutyPercentCategory, the invoiceLine.stampDutyAmount, the invoiceLine.withheldPercentCategory, the invoiceLine.withheldAmount, the invoiceLine.feesPercentCategory, the invoiceLine.feesAmount, and the invoiceLine.deductionsAmount. Complete the required fields only. There is no requirement to complete the aforementioned fields in full. lineData, type of Boolean |
|
movePurpose |
The move purpose of the dispatch, type of Integer Get a list of all movePurpose using myDATATools.getMovePurpose |
|
multipleConnectedMarks |
This field is not applicable to invoice types 1.6, 2.4, and 5.1. Invoice marks that are connected to the current invoice. Use a comma (,) to divide the marks. Example: 400000000000001,400000000000002,400000000000003 |
|
noteAddress |
It is a mandatory field 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 is a mandatory field 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 |
Fill out this field only if lineData is false The other taxes amount of the invoice, type of Double |
|
selfPricing |
The self pricing, type of Boolean Set this value to "true" if the invoice issued by the issuer represents an expense for the issuer and a profit for the counterpart. |
|
series |
Default Value 0 Determines the series of the invoice. If there is no series, it should be filled with zero (0). The series, type of String |
|
specialInvoiceCategory |
The special invoice category, type of Integer Only enter values in this field if the invoice in question pertains to a unique invoice type and not the one specified in the invoiceType. The end user will be aware of the precise circumstances in which values should be entered into this field. Get a list of all specialInvoiceCategory using myDATATools.getspecialInvoiceCategory |
|
stampDutyAmount |
Fill out this field only if lineData is false The stamp duty amount of the invoice, type of Double |
|
tableAA | Acceptable only for invoiceType="8.6" The restaurant table number. | |
thirdPartyCollection | It is a acceptable field only when Invoice Type is 8.4 or 8.5 | |
totalCancelDeliveryOrders |
Acceptable only for invoiceType="8.6"
Indication of multiple rejections of order slips. If True, then the field multipleConnectedMarks must have values and the invoiceLine array should have exactly one (1) line with zero (0) values. |
|
transmissionFailure |
It is a mandatory field only when the invoice issue date is earlier than the current date and outside of the range set by the myDATA limitations law. Acceptable values for ERP: 3 (Loss of connection) Acceptable 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 |
|
vatPaymentSuspension |
The vat payment suspension, type of Boolean Determines if the issuer is not obligated to pay the VAT to the government. Default Value False |
|
vehicleNumber | The licence plate of the vehicle that it is associated with the dispatch, type of String | |
withheldAmount |
Fill out this field only if lineData is false The withheld amount of the invoice, type of Double |