File size: 2,340 Bytes
ca66b51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "invoiceId": "Snippet1",
  "issueDate": "2017-11-13",
  "dueDate": "2017-12-01",
  "invoiceTypeCode": "380",
  "documentCurrencyCode": "EUR",
  "taxCurrencyCode": "SEK",
  "buyerReference": "0150abc",
  "invoicePeriodStartDate": "2017-12-01",
  "invoicePeriodEndDate": "2017-12-31",
  "supplierName": "SupplierTradingName Ltd.",
  "supplierRegistrationName": "SupplierOfficialName Ltd",
  "supplierVatId": "GB1232434",
  "supplierCountryCode": "GB",
  "customerName": "BuyerTradingName AS",
  "customerRegistrationName": "Buyer Official Name",
  "customerVatId": "SE4598375937",
  "customerCountryCode": "SE",
  "paymentMeansCode": "30",
  "payeeIban": "IBAN32423940",
  "payeeBic": "BIC324098",
  "lineExtensionAmount": 5900.0,
  "taxExclusiveAmount": 5900.0,
  "taxInclusiveAmount": 7125.0,
  "allowanceTotalAmount": 200.0,
  "chargeTotalAmount": 200.0,
  "prepaidAmount": 1000.0,
  "payableAmount": 6125.0,
  "taxTotalAmount": 1225.0,
  "allowanceCharges": [
    {
      "isCharge": true,
      "reason": "Cleaning",
      "reasonCode": "CG",
      "amount": 200.0,
      "baseAmount": 1000.0,
      "taxCategoryPercent": 25.0
    },
    {
      "isCharge": false,
      "reason": "Discount",
      "reasonCode": "95",
      "amount": 200.0,
      "baseAmount": null,
      "taxCategoryPercent": 25.0
    }
  ],
  "invoiceLines": [
    {
      "lineId": "1",
      "invoicedQuantity": 10.0,
      "unitCode": "C62",
      "lineExtensionAmount": 4000.0,
      "itemName": "item name",
      "itemDescription": "Description of item",
      "sellersItemId": "97iugug876",
      "priceAmount": 410.0,
      "taxCategoryId": "S",
      "taxCategoryPercent": 25.0
    },
    {
      "lineId": "2",
      "invoicedQuantity": 10.0,
      "unitCode": "C62",
      "lineExtensionAmount": 1000.0,
      "itemName": "item name",
      "itemDescription": "Description of item",
      "sellersItemId": "97iugug876",
      "priceAmount": 200.0,
      "taxCategoryId": "E",
      "taxCategoryPercent": 0.0
    },
    {
      "lineId": "3",
      "invoicedQuantity": 10.0,
      "unitCode": "C62",
      "lineExtensionAmount": 900.0,
      "itemName": "item name",
      "itemDescription": "Description of item",
      "sellersItemId": "97iugug876",
      "priceAmount": 100.0,
      "taxCategoryId": "S",
      "taxCategoryPercent": 25.0
    }
  ]
}