# Part of Odoo. See LICENSE file for full copyright and licensing details. def generate_response(invoice_line_ids): assert len(invoice_line_ids) == 4, "the mocked response is for 4 lines" for i, line in enumerate(RESPONSE['lines']): line['lineCode'] = invoice_line_ids[i].id return RESPONSE # To reduce the size of this mocked response it was trimmed as follows: # del response['header']['additionalInfo'] # for line in response['input']['lines'] + response['lines']: # del line['warnings'] # for details in line.get('taxDetails', []): # details.pop('citation', None) # details.pop('citationId', None) RESPONSE = {'header': {'accountId': 'xxxxx', 'amountCalcType': 'gross', 'companyLocation': 'xxxxx', 'documentCode': 'account.move_220', 'eDocCreatorPerspective': True, 'eDocCreatorType': 'self', 'goods': {'class': 'VENDA PRODUTO À NAO CONTRIBUINTE DE ICMS', 'tpImp': '1'}, 'locations': {'entity': {'activitySector': {'code': 'false'}, 'address': {'cityCode': 4318705, 'cityName': 'São Leopoldo', 'country': 'BRA', 'countryCode': '0', 'state': 'RS', 'zipcode': '93022-718'}, 'federalTaxId': '', 'suframa': '', 'taxRegime': 'individual', 'taxesSettings': {'icmsTaxPayer': False}, 'type': 'individual'}, 'establishment': {'activitySector': {'code': 'false'}, 'address': {'cityCode': 4106902, 'cityName': 'Curitiba', 'country': 'BRA', 'countryCode': '0', 'state': 'PR', 'zipcode': '80010-010'}, 'federalTaxId': 'false', 'suframa': '', 'taxRegime': 'individual', 'taxesSettings': {'icmsTaxPayer': False, 'pisCofinsIcmsTaxCreditReliefMode': {'icms': True, 'icmsFcp': True}, 'pisCofinsIcmsTaxReliefMode': {'icms': True, 'icmsFcp': True}}, 'type': 'business'}}, 'messageType': 'goods', 'subscriptionId': 'xxxxx', 'transactionDate': '2021-01-01'}, 'input': {'header': {'accountId': 'xxxxx', 'amountCalcType': 'gross', 'companyLocation': 'xxxxx', 'documentCode': 'account.move_220', 'eDocCreatorPerspective': True, 'eDocCreatorType': 'self', 'goods': {}, 'locations': {'entity': {'activitySector': {'code': 'false'}, 'address': {'cityCode': 4318705, 'cityName': 'São ' 'Leopoldo', 'country': 'BRA', 'countryCode': '0', 'state': 'RS', 'zipcode': '93022-718'}, 'federalTaxId': '', 'suframa': '', 'taxRegime': 'individual', 'taxesSettings': {'icmsTaxPayer': False}, 'type': 'individual'}, 'establishment': {'activitySector': {'code': 'false'}, 'address': {'cityCode': 4106902, 'cityName': 'Curitiba', 'country': 'BRA', 'countryCode': '0', 'state': 'PR', 'zipcode': '80010-010'}, 'federalTaxId': 'false', 'suframa': '', 'taxRegime': 'individual', 'taxesSettings': {'icmsTaxPayer': False, 'pisCofinsIcmsTaxCreditReliefMode': {'icms': True, 'icmsFcp': True}, 'pisCofinsIcmsTaxReliefMode': {'icms': True, 'icmsFcp': True}}, 'type': 'business'}}, 'messageType': 'goods', 'subscriptionId': 'xxxxx', 'transactionDate': '2021-01-01'}, 'lines': [{'freightAmount': 0, 'goods': {}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAmount': 35, 'lineCode': 1671, 'lineTaxedDiscount': 3.5, 'numberOfItems': 0, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'useType': 'use or consumption'}, {'freightAmount': 0, 'goods': {}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAmount': 30, 'lineCode': 1672, 'lineTaxedDiscount': 0, 'numberOfItems': 0, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'useType': 'use or consumption'}, {'freightAmount': 0, 'goods': {}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAmount': 15, 'lineCode': 1673, 'lineTaxedDiscount': 0, 'numberOfItems': 0, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'useType': 'use or consumption'}, {'freightAmount': 0, 'goods': {}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAmount': 15, 'lineCode': 1674, 'lineTaxedDiscount': 0, 'numberOfItems': 0, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'useType': 'use or consumption'}], 'version': '3'}, 'lines': [{'cfop': 6107, 'freightAmount': 0, 'goods': {'entityIcmsStSubstitute': 'default', 'subjectToIPIonInbound': False}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAdditionalInfo': '', 'lineAmount': 35, 'lineCode': 1671, 'lineNetFigure': 29.49, 'lineTaxedDiscount': 3.5, 'lineUnitPrice': 35, 'numberOfItems': 1, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'taxDetails': [{'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 13.45, 'subtotalTaxable': 31.5, 'tax': 4.24, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribFed'}, {'exemptionCode': '', 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 19, 'subtotalTaxable': 31.5, 'tax': 5.98, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribState'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 31.5, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'cofins'}, {'cst': '00', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'modBC': '3', 'rate': 12, 'source': '0', 'subtotalTaxable': 31.5, 'tax': 3.78, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icms'}, {'exemptionCode': '', 'icmsInterPartRate': 100, 'isCustomCitation': False, 'jurisdictionName': 'Rio Grande do Sul', 'jurisdictionType': 'State', 'rate': 17.5, 'subtotalTaxable': 31.5, 'tax': 1.73, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaDest'}, {'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'rate': 12, 'subtotalTaxable': 31.5, 'tax': 0, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaRemet'}, {'calcMode': 'rate', 'cst': '53', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'legalTaxClass': 999, 'rate': 0, 'subtotalTaxable': 31.5, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'ipi', 'traceCode': 'C005'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 31.5, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'pis'}], 'useType': 'use or consumption'}, {'cfop': 6107, 'freightAmount': 0, 'goods': {'entityIcmsStSubstitute': 'default', 'subjectToIPIonInbound': False}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAdditionalInfo': '', 'lineAmount': 30, 'lineCode': 1672, 'lineNetFigure': 24.75, 'lineTaxedDiscount': 0, 'lineUnitPrice': 30, 'numberOfItems': 1, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'taxDetails': [{'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 13.45, 'subtotalTaxable': 30, 'tax': 4.03, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribFed'}, {'exemptionCode': '', 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 19, 'subtotalTaxable': 30, 'tax': 5.7, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribState'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 30, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'cofins'}, {'cst': '00', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'modBC': '3', 'rate': 12, 'source': '0', 'subtotalTaxable': 30, 'tax': 3.6, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icms'}, {'exemptionCode': '', 'icmsInterPartRate': 100, 'isCustomCitation': False, 'jurisdictionName': 'Rio Grande do Sul', 'jurisdictionType': 'State', 'rate': 17.5, 'subtotalTaxable': 30, 'tax': 1.65, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaDest'}, {'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'rate': 12, 'subtotalTaxable': 30, 'tax': 0, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaRemet'}, {'calcMode': 'rate', 'cst': '53', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'legalTaxClass': 999, 'rate': 0, 'subtotalTaxable': 30, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'ipi', 'traceCode': 'C005'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 30, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'pis'}], 'useType': 'use or consumption'}, {'cfop': 6107, 'freightAmount': 0, 'goods': {'entityIcmsStSubstitute': 'default', 'subjectToIPIonInbound': False}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAdditionalInfo': '', 'lineAmount': 15, 'lineCode': 1673, 'lineNetFigure': 12.38, 'lineTaxedDiscount': 0, 'lineUnitPrice': 15, 'numberOfItems': 1, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'taxDetails': [{'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 13.45, 'subtotalTaxable': 15, 'tax': 2.02, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribFed'}, {'exemptionCode': '', 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 19, 'subtotalTaxable': 15, 'tax': 2.85, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribState'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'cofins'}, {'cst': '00', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'modBC': '3', 'rate': 12, 'source': '0', 'subtotalTaxable': 15, 'tax': 1.8, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icms'}, {'exemptionCode': '', 'icmsInterPartRate': 100, 'isCustomCitation': False, 'jurisdictionName': 'Rio Grande do Sul', 'jurisdictionType': 'State', 'rate': 17.5, 'subtotalTaxable': 15, 'tax': 0.82, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaDest'}, {'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'rate': 12, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaRemet'}, {'calcMode': 'rate', 'cst': '53', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'legalTaxClass': 999, 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'ipi', 'traceCode': 'C005'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'pis'}], 'useType': 'use or consumption'}, {'cfop': 6107, 'freightAmount': 0, 'goods': {'entityIcmsStSubstitute': 'default', 'subjectToIPIonInbound': False}, 'insuranceAmount': 0, 'itemDescriptor': {'cest': '', 'hsCode': '4901.10.00', 'productType': 'FOR PRODUCT', 'source': '0'}, 'lineAdditionalInfo': '', 'lineAmount': 15, 'lineCode': 1674, 'lineNetFigure': 12.38, 'lineTaxedDiscount': 0, 'lineUnitPrice': 15, 'numberOfItems': 1, 'operationType': 'standardSales', 'otherCostAmount': 0, 'overwrite': 'no', 'taxDetails': [{'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 13.45, 'subtotalTaxable': 15, 'tax': 2.02, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribFed'}, {'exemptionCode': '', 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 19, 'subtotalTaxable': 15, 'tax': 2.85, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'aproxtribState'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'cofins'}, {'cst': '00', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'modBC': '3', 'rate': 12, 'source': '0', 'subtotalTaxable': 15, 'tax': 1.8, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icms'}, {'exemptionCode': '', 'icmsInterPartRate': 100, 'isCustomCitation': False, 'jurisdictionName': 'Rio Grande do Sul', 'jurisdictionType': 'State', 'rate': 17.5, 'subtotalTaxable': 15, 'tax': 0.82, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaDest'}, {'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'rate': 12, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'liability', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'icmsDifaRemet'}, {'calcMode': 'rate', 'cst': '53', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'legalTaxClass': 999, 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Informative', 'impactOnNetAmount': 'Informative'}, 'taxType': 'ipi', 'traceCode': 'C005'}, {'calcMode': 'rate', 'cst': '06', 'exemptionCode': '', 'isCustomCitation': False, 'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'rate': 0, 'subtotalTaxable': 15, 'tax': 0, 'taxImpact': {'accounting': 'none', 'impactOnFinalPrice': 'Included', 'impactOnNetAmount': 'Included'}, 'taxType': 'pis'}], 'useType': 'use or consumption'}], 'processingInfo': {'authMS': 3.775, 'calculationMS': 13.1084, 'duration': '13.108', 'env': 'sbx', 'invoiceSubmitMS': 0.0071, 'retrieveDataMS': 195.543, 'taxDiscoveryMS': 167.0002, 'totalMS': 216.052, 'versionId': '23.12.2'}, 'summary': {'numberOfLines': 4, 'taxByType': {'aproxtribFed': {'jurisdictions': [{'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'tax': 12.31}], 'subtotalTaxable': 91.5, 'tax': 12.31}, 'aproxtribState': {'jurisdictions': [{'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'tax': 17.38}], 'subtotalTaxable': 91.5, 'tax': 17.38}, 'cofins': {'jurisdictions': [{'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'tax': 0}], 'subtotalTaxable': 91.5, 'tax': 0}, 'icms': {'jurisdictions': [{'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'tax': 10.98}], 'subtotalTaxable': 91.5, 'tax': 10.98}, 'icmsDifaDest': {'jurisdictions': [{'jurisdictionName': 'Rio ' 'Grande ' 'do ' 'Sul', 'jurisdictionType': 'State', 'tax': 5.02}], 'subtotalTaxable': 91.5, 'tax': 5.02}, 'icmsDifaRemet': {'jurisdictions': [{'jurisdictionName': 'Paraná', 'jurisdictionType': 'State', 'tax': 0}], 'subtotalTaxable': 91.5, 'tax': 0}, 'ipi': {'jurisdictions': [{'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'tax': 0}], 'subtotalTaxable': 91.5, 'tax': 0}, 'pis': {'jurisdictions': [{'jurisdictionName': 'Brazil', 'jurisdictionType': 'Country', 'tax': 0}], 'subtotalTaxable': 91.5, 'tax': 0}}, 'taxImpactHighlights': {'added': [], 'included': [{'subtotalTaxable': 91.5, 'tax': 0, 'taxType': 'cofins'}, {'subtotalTaxable': 91.5, 'tax': 10.98, 'taxType': 'icms'}, {'subtotalTaxable': 91.5, 'tax': 5.02, 'taxType': 'icmsDifaDest'}, {'subtotalTaxable': 91.5, 'tax': 0, 'taxType': 'icmsDifaRemet'}, {'subtotalTaxable': 91.5, 'tax': 0, 'taxType': 'pis'}], 'informative': [{'subtotalTaxable': 91.5, 'tax': 12.31, 'taxType': 'aproxtribFed'}, {'subtotalTaxable': 91.5, 'tax': 17.38, 'taxType': 'aproxtribState'}, {'subtotalTaxable': 91.5, 'tax': 0, 'taxType': 'ipi'}], 'subtracted': [], 'withheld': []}, 'totalFreights': 0, 'totalInsurances': 0, 'totalInvoice': 91.5, 'totalLineAmounts': 95, 'totalOtherCosts': 0, 'totalTaxedDiscounts': 3.5, 'totalUnTaxedOtherCosts': 0, 'totalUntaxedDiscounts': 0}, 'version': '3'}