{
  "invoiceId": "471102",
  "issueDate": "2013-03-05T00:00:00",
  "invoiceType": "RECHNUNG",
  "typeCode": "380",
  "isTest": true,
  "businessProcessType": "A1",
  "specificationIdentifier": "urn:cen.eu:en16931:2017",
  "currency": "EUR",
  "notes": [
    "Rechnung gemäß Bestellung vom 01.03.2013.",
    "Zahlbar innerhalb 30 Tagen netto bis 04.04.2013."
  ],
  "buyerOrderReferencedDocumentId": "PO-2013-001",
  "seller": {
    "name": "Lieferant GmbH",
    "address": {
      "street": "Lieferantenstraße 20",
      "city": "München",
      "postalCode": "80333",
      "country": "DE"
    },
    "contact": {
      "personName": "Anna Becker",
      "phoneNumber": "+49 89 1234 5678",
      "emailAddress": "vertrieb@lieferant.de"
    },
    "electronicAddress": "vertrieb@lieferant.de",
    "electronicAddressScheme": "EM",
    "taxId": "201/113/40209",
    "vatId": "DE123456789",
    "gln": "4000001123452",
    "legalOrganisationId": "DE123456789",
    "legalOrganisationIdScheme": "0088"
  },
  "buyer": {
    "id": "GE2013-001",
    "name": "Kunden AG Mitte",
    "address": {
      "street": "Kundenstraße 15",
      "lineTwo": "z. Hd. Hans Muster",
      "city": "Frankfurt",
      "postalCode": "69876",
      "country": "DE"
    },
    "contact": {
      "personName": "Hans Muster",
      "emailAddress": "einkauf@kunden-ag-mitte.de"
    },
    "electronicAddress": "einkauf@kunden-ag-mitte.de",
    "electronicAddressScheme": "EM",
    "vatId": "DE987654321",
    "gln": "4000001987658"
  },
  "deliveryDate": "2013-03-05T00:00:00",
  "payment": {
    "paymentReference": "2013-471102",
    "currency": "EUR",
    "paymentMeansCode": "58",
    "iban": "DE08700901001234567890",
    "bic": "GENODEF1M04",
    "accountName": "Lieferant GmbH",
    "dueDate": "2013-04-04T00:00:00",
    "terms": "Zahlbar innerhalb 30 Tagen netto."
  },
  "lineItems": [
    {
      "lineId": "1",
      "quantity": 20.0,
      "unitCode": "C62",
      "unitPrice": 9.90,
      "lineTotal": 198.00,
      "productName": "Trennblätter A4",
      "gtin": "4012345001235",
      "sellerProductId": "TB100A4",
      "taxCategoryCode": "S",
      "taxTypeCode": "VAT",
      "taxPercent": 19.0
    }
  ],
  "taxBreakdown": [
    {
      "taxAmount": 37.62,
      "basisAmount": 198.00,
      "taxCategoryCode": "S",
      "taxTypeCode": "VAT",
      "taxPercent": 19.0
    }
  ],
  "totals": {
    "lineTotal": 198.00,
    "chargeTotal": 0.00,
    "allowanceTotal": 0.00,
    "taxBasisTotal": 198.00,
    "taxTotal": 37.62,
    "grandTotal": 235.62,
    "duePayableAmount": 235.62,
    "taxPercent": 19.0,
    "currency": "EUR"
  }
}
