Browse Source

added units

marton levente 7 months ago
parent
commit
5cc6857f01
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

@@ -29,7 +29,8 @@ UNIT_CODES = {
     'MTK': 'aquare metre',
     'MTK': 'aquare metre',
     'MWH': 'megawatt hour',
     'MWH': 'megawatt hour',
     'GV': 'gigajoule',
     'GV': 'gigajoule',
-    'MON': 'month'
+    'MON': 'month',
+    'MTQ': 'ccubic metre'
 }
 }
 
 
 
 

+ 2 - 1
anafapi/nextup.py

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