Browse Source

added units

marton levente 7 months ago
parent
commit
bcd78e6d3f
2 changed files with 4 additions and 2 deletions
  1. 2 1
      anafapi/en16931/invoice_line.py
  2. 2 1
      anafapi/nextup.py

+ 2 - 1
anafapi/en16931/invoice_line.py

@@ -28,7 +28,8 @@ UNIT_CODES = {
     'HAD': 'PRZI',
     'MTK': 'aquare metre',
     'MWH': 'megawatt hour',
-    'GV': 'gigajoule'
+    'GV': 'gigajoule',
+    'MON': 'month'
 }
 
 

+ 2 - 1
anafapi/nextup.py

@@ -32,7 +32,8 @@ MEAS_UNITS = {
     'HAD': 92,
     'MTK': 78,
     'MWH': 93,
-    'GV': 94}
+    'GV': 94,
+    'MON': 95}
 
 TEMPLATES = {
     'materii prime': 29,