8 lines
311 B
Python
8 lines
311 B
Python
from gti_fiscal_agent.runner import to_hub_product
|
|
|
|
|
|
def test_reference_schema_uses_classificacao_fiscal_as_canonical_ncm():
|
|
product = {"CODIGO": "000276", "PRODUTO": "ABACAXI M/ JARRA", "NCM": "99999999", "CLASSIFICACAO_FISCAL": "08043000"}
|
|
|
|
assert to_hub_product(product)["current_ncm"] == "08043000"
|