Exemplo de chamada resposta TaaS
Para acessar a coleção de chamadas Clique Aqui.
De acordo com a transação realizada (exemplo: compra, venda, transferência, etc.) e os dados mestres do cadastro de fornecedor, planta recebedora ou vendedora, filiais e dados mestres de materiais será feita a conversão para que o Motor Systax entenda para qual produto e operação está sendo requisitado o cálculo.
Abaixo exemplo de requisição e retorno onde os dados definem uma operação de compra de um varejista, para revenda, de SP para SP, de um fornecedor industrial que produziu a mercadoria.
Cenário Systax: SP-SP-120-1-140–569 Compra para revenda_Indústria_Varejo
Na chamada exemplo abaixo:
- A operação de compra é identificada pelos campos “operationNatureCode” e “saleorPurchase” igual a “P”;
- Para determinar a UFs (SP-SP)– consideramos os campos “state” do Ship From e Ship To, do bloco “Locations”;
- Para determinar a operação e perfil do fornecedor/remetente (120-Venda de Produção do Estabelecimento e 1-Indústria) – consideramos os campos “materialOrigin” e “cnae” do Ship From.
- Para determinar o perfil do destinatário (140-Varejista) – consideramos o campo “cnae” do Ship To.
Chamada |
Retorno |
{ "id": "02E7B3F979971EED93E6ACEAC7A51EB9", "date": "2022-10-18T19:37:10.000Z", "companyId": "1410", "saleorPurchase": "P", "operationNatureCode": "P", "grossOrNet": "g", "currency": "BRL", "Items": [ { "id": "000010", "itemCode": "TBD", "itemType": "M", "quantity": "1.000", "unitPrice": "50.2000", "itemClassifications": [ { "itemStandardClassificationSystemCode": "cest", "itemStandardClassificationCode": "" }, { "itemStandardClassificationSystemCode": "ncm", "itemStandardClassificationCode": "12060010" } ], "additionalItemInformation": [ { "type": "materialOrigin", "information": "0" }, { "type": "usage", "information": "R" } ] } ], "Locations": [ { "type": "SHIP_FROM", "addressLine1": "Rua Pamplona 145, 11 andar", "zipCode": "01405000", "city": "São Paulo", "state": "SP", "country": "BR" }, { "type": "SHIP_TO", "addressLine1": "Av. Ipanema 165", "zipCode": "03015000", "city": "São Paulo", "state": "SP", "country": "BR" } ], "Party": [ { "id": "1", "role": "SHIP_FROM", "taxRegistration": [ { "locationType": "SHIP_FROM", "taxNumber": "112240", "taxNumberTypeCode": "CNAE" }, { "locationType": "SHIP_FROM", "taxNumber": "0000000000100", "taxNumberTypeCode": "CNPJ" }, { "locationType": "SHIP_FROM", "taxNumber": "Y", "taxNumberTypeCode": "COFINSContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "3304557", "taxNumberTypeCode": "IBGECode" }, { "locationType": "SHIP_FROM", "taxNumber": "Y", "taxNumberTypeCode": "ICMSContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "Y", "taxNumberTypeCode": "ICMSSTContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "Y", "taxNumberTypeCode": "IPIContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "N", "taxNumberTypeCode": "ISSContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "Presumed Profit", "taxNumberTypeCode": "taxDeclarationType" }, { "locationType": "SHIP_FROM", "taxNumber": "Y", "taxNumberTypeCode": "PISContributor" }, { "locationType": "SHIP_FROM", "taxNumber": "", "taxNumberTypeCode": "taxRegimenCode" } ] }, { "id": "2", "role": "SHIP_TO", "taxRegistration": [ { "locationType": "SHIP_TO", "taxNumber": "4711302", "taxNumberTypeCode": "CNAE" }, { "locationType": "SHIP_TO", "taxNumber": "74544297000192", "taxNumberTypeCode": "CNPJ" }, { "locationType": "SHIP_TO", "taxNumber": "Y", "taxNumberTypeCode": "COFINSContributor" }, { "locationType": "SHIP_TO", "taxNumber": "3304557", "taxNumberTypeCode": "IBGECode" }, { "locationType": "SHIP_TO", "taxNumber": "Y", "taxNumberTypeCode": "ICMSContributor" }, { "locationType": "SHIP_TO", "taxNumber": "Y", "taxNumberTypeCode": "ICMSSTContributor" }, { "locationType": "SHIP_TO", "taxNumber": "956224310481", "taxNumberTypeCode": "IE" }, { "locationType": "SHIP_TO", "taxNumber": "N", "taxNumberTypeCode": "IPIContributor" }, { "locationType": "SHIP_TO", "taxNumber": "Y", "taxNumberTypeCode": "ISSContributor" }, { "locationType": "SHIP_TO", "taxNumber": "2062", "taxNumberTypeCode": "legalNature" }, { "locationType": "SHIP_TO", "taxNumber": "Y", "taxNumberTypeCode": "PISContributor" }, { "locationType": "SHIP_TO", "taxNumber": "Real Profit", "taxNumberTypeCode": "taxDeclarationType" } ] } ] }
|
{ "total": "50.200000000000", "subTotal": "50.200000000000", "totalTax": "50.200000000000", "taxLines": [ { "id": "000010", "totalTax": "15.511800000000", "taxcode": "1102", "taxValues": [ { "rate": "0.0000", "taxable": "0.000000000000", "name": "Imposto sobre Produtos "value": "0.000000000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "50.200000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "IPI", "taxAttributes": [ { "attributeType": "CENQ", "attributeValue": "999" }, { "attributeType": "CST", "attributeValue": "03" }, { "attributeType": "legalProvision1", "attributeValue": "Art. 226 do RIPI/2010" }, { "attributeType": "legalPCode1", "attributeValue": "210059" } ] }, { "rate": "18.0000", "taxable": "50.200000000000", "name": "Imposto sobre Comercialização "value": "9.036000000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "0.000000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "ICMS", "taxAttributes": [ { "attributeType": "CST", "attributeValue": "00" }, { "attributeType": "baseDetermination", "attributeValue": "3" } ] }, { "rate": "1.6500", "taxable": "50.200000000000", "name": "Programa de Integração Social", "value": "0.828300000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "0.000000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "PIS", "taxAttributes": [ { "attributeType": "CST", "attributeValue": "50" } ] }, { "rate": "0.6500", "taxable": "50.200000000000", "name": "PIS from supplier", "value": "0.326300000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "0.000000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "PIS-SUP", "taxAttributes": [ { "attributeType": "CST", "attributeValue": "01" } ] }, { "rate": "7.6000", "taxable": "50.200000000000", "name": "Contribuição para o "value": "3.815200000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "0.000000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "COFINS", "taxAttributes": [ { "attributeType": "CST", "attributeValue": "50" } ] }, { "rate": "3.0000", "taxable": "50.200000000000", "name": "COFINS from supplier", "value": "1.506000000000", "exemptedBasePercent": "0.0000", "exemptedBaseAmount": "0.000000000000", "otherBaseAmount": "0.000000000000", "taxTypeCode": "COFINS-SUP", "taxAttributes": [ { "attributeType": "CST", "attributeValue": "01" } ] } ] } ], "date": "2023-05-19T18:02:59.26442-03:00", "genericInfo": "busca=NCMD|codProd=NCM_12060010-0|orig=1|CFOP_ENTRADA=1102|UFO=sp|UFD=sp|natOp=120| perfilorig=1|perfildest=140|finalidade=569 "partnerName": "Systax versao=6.07" }
|