Type 9.1 - Delivery Note (Associated)

Back story of the Invoice:

Issuer: GREECE 
Counterpart: GREECE 
Type: 9.1 [dispatch note - associated] 
Lines: 1 
Payment Methods: 0 

IMPORTANT: 
1. Line-by-line transmission is required for dispatch notes that double as invoices, just as it is done for the physical document
2. The issuer's name and full address is required. 
3. The counterpart's name and full address is required. 
4. MUST have a correlated invoice of type 9.2 
5. For each item, you must include the description (ex. chair, PC, etc.) and the measurement unit. Exactly as this description will be shown on the physical document
6. A dispatch date is required. Usually, it is the same as the issue date. 
7. A move purpose is required
8. There are no price values assigned to each item.

var sni = new SendInvoices("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", false);
 SendInvoices.invoice invoice = sni.newInvoice;
  
 #region issuer and counterpart
  invoice.issuer.vatNumber = "555777001";
  invoice.issuer.name = "Dokimastikos Dikimios";
  invoice.issuer.country = "GR";
  invoice.issuer.street = "Simple Road";
  invoice.issuer.streetNo = "557";
  invoice.issuer.postalCode = "12345";
  invoice.issuer.city = "Athens";
  
  invoice.counterpart.vatNumber = "555777003";
  invoice.counterpart.name = "Dokimios Dokimastikos";
  invoice.counterpart.country = "GR";
  invoice.counterpart.street = "Simple Road";
  invoice.counterpart.streetNo = "558";
  invoice.counterpart.postalCode = "12345";
  invoice.counterpart.city = "Athens";
 #endregion
  
 #region elements
  invoice.elements.series = "IZ";
  invoice.elements.aa = 6;
  invoice.elements.issueDate = DateTime.Now;
  invoice.elements.invoiceType = "9.1";
  invoice.elements.correlatedInvoices = "400001957554791"; // The MARK of an invoice type of 9.2
  
  invoice.elements.noteAddress.loaAdd.street = "Eleftheriou Venizelou";
  invoice.elements.noteAddress.loaAdd.streetNo = "557";
  invoice.elements.noteAddress.loaAdd.postalCode = "12345";
  invoice.elements.noteAddress.loaAdd.city = "Athens";
  
  invoice.elements.noteAddress.delAdd.street = "Eleftheriou Venizelou";
  invoice.elements.noteAddress.delAdd.streetNo = "558";
  invoice.elements.noteAddress.delAdd.postalCode = "54321";
  invoice.elements.noteAddress.delAdd.city = "Athens";
  invoice.elements.dispatchDate = DateTime.Now;
  invoice.elements.movePurpose = 1;
  invoice.elements.otherMovePurposeTitle = "TEST";
  invoice.elements.vehicleNumber = "BD51 SMR";
 #endregion
  
 #region Lines
  SendInvoices.invoiceLine ln = sni.newLine;
  ln.measurementUnit = 1;
  ln.VatCategory = 8;
  ln.lineComments = "line comment";
  ln.classification.Category = "category3";
  ln.itemDescr = "table";
  
  invoice.lines.Add(ln);
 #endregion
  
 string result = sni.SendInvoice(invoice, true);
 string qrUL = sni.getQRUrl;
 Image qrImage = sni.getQRImage(500);					
This language is not supported or no code example is available.
Dim sni As New SendInvoices("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", False)
         Dim invoice As SendInvoices.invoice = sni.newInvoice
  
 #Region "issuer and counterpart"
         invoice.issuer.vatNumber = "555777001"
         invoice.issuer.name = "Dokimastikos Dikimios"
         invoice.issuer.country = "GR"
         invoice.issuer.street = "Simple Road"
         invoice.issuer.streetNo = "557"
         invoice.issuer.postalCode = "12345"
         invoice.issuer.city = "Athens"
  
         invoice.counterpart.vatNumber = "555777003"
         invoice.counterpart.name = "Dokimios Dokimastikos"
         invoice.counterpart.country = "GR"
         invoice.counterpart.street = "Simple Road"
         invoice.counterpart.streetNo = "558"
         invoice.counterpart.postalCode = "12345"
         invoice.counterpart.city = "Athens"
 #End Region
  
 #Region "elements"
         invoice.elements.series = "IZ"
         invoice.elements.aa = 6
         invoice.elements.issueDate = Date.Now
         invoice.elements.invoiceType = "9.1"
         invoice.elements.correlatedInvoices = "400001957554791" 'The MARK of an invoice type of 9.2
  
         invoice.elements.noteAddress.loaAdd.street = "Eleftheriou Venizelou"
         invoice.elements.noteAddress.loaAdd.streetNo = "557"
         invoice.elements.noteAddress.loaAdd.postalCode = "12345"
         invoice.elements.noteAddress.loaAdd.city = "Athens"
  
         invoice.elements.noteAddress.delAdd.street = "Eleftheriou Venizelou"
         invoice.elements.noteAddress.delAdd.streetNo = "558"
         invoice.elements.noteAddress.delAdd.postalCode = "54321"
         invoice.elements.noteAddress.delAdd.city = "Athens"
         invoice.elements.dispatchDate = Date.Now
         invoice.elements.movePurpose = 1
         invoice.elements.otherMovePurposeTitle = "TEST"
         invoice.elements.vehicleNumber = "BD51 SMR"
 #End Region
  
 #Region "Lines"
         Dim ln As SendInvoices.invoiceLine = sni.newLine
         ln.measurementUnit = 1
         ln.VatCategory = 8
         ln.lineComments = "line comment"
         ln.classification.Category = "category3"
         ln.itemDescr = "table"
  
         invoice.lines.Add(ln)
 #End Region
  
         Dim result As String = sni.SendInvoice(invoice, True)
         Dim qrUL As String = sni.getQRUrl
         Dim qrImage As Image = sni.getQRImage(500)					
This language is not supported or no code example is available.

Remarks
 
Check if the classification you send is Valid using: myDATATools.checkClassification  
Get all Valid Classification Type by Invoice Type: Get All Valid Classification Type by Invoice Type 
Get all Valid Classification Category by Invoice Type: Get All Valid Classification Category by Invoice Type

In this article

Definition