TaaS - Reforma Tributária

Introdução

Introdução

Introdução

Este documento tem por objetivo explicar a forma de funcionamento da solução Systax TaaS para a reforma tributária, bem como exemplifica a forma de de-para dos dados utilizados na integração SAP-S4/HANA e Motor de Cálculos Systax.

Introdução

Acesso

Para utilizar o serviço de cálculo externo direto do SAP, siga este procedimento:

  1. Crie um destino HTTP para Partner Service Framework.

Para criar o destino HTTP, você deve fornecer dados que obtém da SAP e da Systax. Veja abaixo quais são esses dados:

Dados determinados pela SAP

No campo Name, use o nome de destino do serviço de parceiro que você obtém ao enviar um HTTP GET. Esta solicitação deve ser para a URL: https://<TaxConfigurationURL>/AvailableConfiguration.svc/ Destinations(‘<countryISO>’)


Dados determinados pela Systax

Campo

Dado

Type

Escolher HTTP

URL

https://wscockpit.systax.com.br/TaasReformaTeste/api/TaxRT/calculationRT

Proxy Type

Escolher Internet

Authentication

Utilizar usuário e senha fornecidos pela Systax

         2. Configure o Partner Service Framework

Novas Tags - Mercadorias


Novas Tags - Mercadorias

Request - Mercadorias

Para atender ao novo modelo da Reforma, foram criadas ao todo 4 novos campos , SHIP_TO e SHIP_FROM IBS/CBS Contributor. 

Segue abaixo um modelo de request, com os novos campos adicionados para atender a reforma tributária. 

Para que os novos blocos da reforma tributária retornem, os mesmos precisam estar preenchidos com "Y", conforme exemplo abaixo:

Mercadorias 

{

"id": "005056AB1BC71EDF93E742EC66C957CA",

"companyId": "682",

"date": "2024-07-18T09:40:39.000Z",

"saleorPurchase": "s",

"operationNatureCode": "S",

"grossOrNet": "n",

"currency": "BRL",

"Items": [

{

"id": "000060",

"itemCode": "80316631",

"itemType": "M",

"quantity": "15000.0000",

"unitPrice": "2.845350000000",

"itemClassifications": [

{

"itemStandardClassificationSystemCode": "ean",

"itemStandardClassificationCode": "78911246"

},

{

"itemStandardClassificationSystemCode": "ncm",

"itemStandardClassificationCode": "30049045"

}

 

],

"additionalItemInformation": [

 

 

{

"type": "materialOrigin",

"information": "5"

},

{

"type": "ownProduction",

"information": "N"

},

{

"type": "usage",

"information": "R"

},

{

"type": "CPRB",

"information": "N"

},

{

"type": "taxUnity",

"information": "IT"

},

{

"type": "commercialUnity",

"information": "CS"

}

],

"costInformation": [

{

"costType": "percentualdiscount",

"amount": "12.000"

}

]

}

],

"Locations": [

{

"type": "SHIP_FROM",

"addressLine1": "ROD PRESIDENTE DUTRA",

"zipCode": "27580-000",

"city": "ITATIAIA",

"state": "RJ",

"country": "BR"

},

{

"type": "SHIP_TO",

"addressLine1": "RUA PATAXOS",

"zipCode": "06833-073",

"city": "EMBU",

"state": "SP",

"country": "BR"

}

],

"Party": [

{

"id": "1",

"role": "SHIP_FROM",

"taxRegistration": [

{

"locationType": "SHIP_FROM",

"taxNumber": "4646001",

"taxNumberTypeCode": "CNAE"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "01358874001311",

"taxNumberTypeCode": "CNPJ"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "COFINSContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "3302254",

"taxNumberTypeCode": "IBGECode"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "ICMSContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "ICMSSTContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "78863692",

"taxNumberTypeCode": "IE"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "N",

"taxNumberTypeCode": "IPIContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "ISSContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "2062",

"taxNumberTypeCode": "legalNature"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "PISContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "3",

"taxNumberTypeCode": "taxRegimenCode"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Real Profit",

"taxNumberTypeCode": "taxDeclarationType"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "IBSContributor"

},

{

"locationType": "SHIP_FROM",

"taxNumber": "Y",

"taxNumberTypeCode": "CBSContributor"

}

]

},

{

"id": "2",

"role": "SHIP_TO",

"taxRegistration": [

{

"locationType": "SHIP_TO",

"taxNumber": "4771701",

"taxNumberTypeCode": "CNAE"

},

{

"locationType": "SHIP_TO",

"taxNumber": "61585865073701",

"taxNumberTypeCode": "CNPJ"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y",

"taxNumberTypeCode": "COFINSContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "3515004",

"taxNumberTypeCode": "IBGECode"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y",

"taxNumberTypeCode": "ICMSContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y",

"taxNumberTypeCode": "ICMSSTContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "298098655110",

"taxNumberTypeCode": "IE"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y",

"taxNumberTypeCode": "IPIContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "N",

"taxNumberTypeCode": "ISSContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y",

"taxNumberTypeCode": "PISContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "3",

"taxNumberTypeCode": "taxRegimenCode"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Real Profit",

"taxNumberTypeCode": "taxDeclarationType"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y,

"taxNumberTypeCode": "IBSContributor"

},

{

"locationType": "SHIP_TO",

"taxNumber": "Y,

"taxNumberTypeCode": "CBSContributor"

}

]

}

]

}


Novas Tags - Mercadorias

Response - Mercadorias

Para atender a nova reforma tributária, foram criados 3 novos blocos, IBSUF, IBSMUN e CBS. 

Segue abaixo o response com os novos blocos. 

Mercadorias

{

"total": "961.649999999484",

"subTotal": "961.649999999484",

"totalTax": "0.419568062827",

"taxLines": [   {

"id": "000002",

"totalTax": "0.000000000000",

"taxcode": "1903",

"taxValues":       [

{

"rate": "0.000000000000",

"taxable": "0.000000000000",

"name": "Imposto sobre Produtos Industrializados",

"value": "0.000000000000",

"exemptedBasePercent": "0.0000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "961.649999999484000",

"taxTypeCode": "IPI",

"taxAttributes":             [

{

"attributeType": "CENQ",

"attributeValue": "109"

},

{

"attributeType": "CST",

"attributeValue": "05"

},

{

"attributeType": "legalProvision1",

"attributeValue": "Art. 226, IX, do RIPI/2010"

},

{

"attributeType": "legalPCode1",

"attributeValue": "220005"

}

]

},

{

"rate": "0.0000",

"taxable": "0.000000000000",

"name": "Imposto sobre Comercialização de Mercadorias e Serviços",

"value": "0.000000000000",

"exemptedBasePercent": "0.0000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "961.649999999484",

"taxTypeCode": "ICMS",

"taxAttributes":             [

{

"attributeType": "CST",

"attributeValue": "50"

},

{

"attributeType": "legalProvision1",

"attributeValue": "RICMS/SP, art402, par1, par2. RICMS/SP, art52, incI "

},

{

"attributeType": "legalPCode1",

"attributeValue": "251437"

}

]

},

{

"rate": "0.0000",

"taxable": "0.000000000000",

"taxTypeCode": "IBS-UF",

"name": "Imposto de Bens e Serviços",

"value": "0.000000000000",

"exemptedBasePercent":"0.000000000000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "0.000000000000",

"fullRate": "0.0000",

"taxAttributes": [

{

"attributeType": "CST",

"attributeValue": ""

},

{

"attributeType": "IBSclassTrib",

"attributeValue": ""

},

{

"attributeType": "deferralPercentage",

"attributeValue": ""

},

{

"attributeType": "deferralAmount",

"attributeValue": ""

},

{

"attributeType": "reductionPercentage",

"attributeValue": ""

},

{

"attributeType": "taxRefundAmount",

"attributeValue": ""

},

{

"attributeType": "govReductPercentage",

"attributeValue": ""

},

{

"attributeType": "regularCST",

"attributeValue": ""

},

{

"attributeType": "regularcClassTrib",

"attributeValue": ""

},

{

"attributeType": "regularRate",

"attributeValue": ""

},

{

"attributeType": "regularAmount",

"attributeValue": ""

},

 

]

},

 

{

"rate": "0.0000",

"taxable": "0.000000000000",

"taxTypeCode": "IBS-MUN",

"name": "Imposto de Bens e Serviços para Município",

"value": "0.000000000000",

"exemptedBasePercent":"0.000000000000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "0.000000000000",

"fullRate": "0.0000",

"taxAttributes": [

{

"attributeType": "CST",

"attributeValue": ""

},

{

"attributeType": "cClassTrib",

"attributeValue": ""

},

{

"attributeType": "deferralPercentage",

"attributeValue": ""

},

{

"attributeType": "deferralAmount",

"attributeValue": ""

},

{

"attributeType": "reductionPercentage",

"attributeValue": ""

},

{

"attributeType": "taxRefundAmount",

"attributeValue": ""

},

{

"attributeType": "govReductPercentage",

"attributeValue": ""

},

{

"attributeType": "regularCST",

"attributeValue": ""

},

{

"attributeType": "regularcClassTrib",

"attributeValue": ""

},

{

"attributeType": "regularRate",

"attributeValue": ""

},

{

"attributeType": "regularAmount",

"attributeValue": ""

},

 

]

},

 

{

"rate": "0.0000",

"taxable": "0.000000000000",

"name": "PIS from supplier",

"value": "0.000000000000",

"exemptedBasePercent": "0.0000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "788.552999999577",

"taxTypeCode": "PIS-SUP",

"taxAttributes": [            {

"attributeType": "CST",

"attributeValue": "49"

}]

},

{

"rate": "0.0000",

"taxable": "0.000000000000",

"name": "Contribuição para o Financiamento da Seguridade Social",

"value": "0.000000000000",

"exemptedBasePercent": "0.0000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "788.552999999577",

"taxTypeCode": "COFINS",

"taxAttributes":             [

{

"attributeType": "CST",

"attributeValue": "98"

},

{

"attributeType": "legalProvision1",

"attributeValue": "Art. 1º da Lei nº 10.833/2003"

},

{

"attributeType": "legalPCode1",

"attributeValue": "230279"

}

]

},

{

"rate": "0.0000",

"taxable": "0.000000000000",

"name": "COFINS from supplier",

"value": "0.000000000000",

"exemptedBasePercent": "0.0000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "788.552999999577",

"taxTypeCode": "COFINS-SUP",

"taxAttributes": [

{

"attributeType": "CST",

"attributeValue": "49"

]

},

 

{

"rate": "0.0000",

"taxable": "0.000000000000",

"taxTypeCode": "CBS",

"name": "Contribuição de Bens e Serviços",

"value": "0.000000000000",

"exemptedBasePercent":"0.000000000000",

"exemptedBaseAmount": "0.000000000000",

"otherBaseAmount": "0.000000000000",

"fullRate": "0.0000",

"taxAttributes": [

{

"attributeType": "CST",

"attributeValue": ""

},

{

"attributeType": "cClassTrib",

"attributeValue": ""

},

{

"attributeType": "deferralPercentage",

"attributeValue": ""

},

{

"attributeType": "deferralAmount",

"attributeValue": ""

},

{

"attributeType": "reductionPercentage",

"attributeValue": ""

},

{

"attributeType": "taxRefundAmount",

"attributeValue": ""

},

{

"attributeType": "govReductPercentage",

"attributeValue": ""

},

{

"attributeType": "regularCST",

"attributeValue": ""

},

{

"attributeType": "regularcClassTrib",

"attributeValue": ""

},

{

"attributeType": "regularRate",

"attributeValue": ""

},

{

"attributeType": "regularAmount",

"attributeValue": ""

},

 

]

}], {

"date": "2025-05-05T19:07:05.4358049-03:00",

"genericInfo": "orig=0|CFOP_ENTRADA=1903|UFO=sp|UFD=sp|natOp=527|perfilorig=1,1143|perfildest=138,2601|tiporegra=ondemand|criacaoRegra=N|finalidade=343|versao=6.36|IdDet=866|infAdProd= ICMS:RICMS/SP, art402, par1, par2. RICMS/SP, art52, incI; IPI:RIPI/2010, art43, incVII; PIS:LF 9718/1998, art2; COFINS:LF 9718/1998, art2; ",

"partnerName": "Systax versao=6.36"

}

Campos retornados conforme CST

Campos retornados conforme CST

Campos retornados conforme CST

IBSUF
Campos CST 000 CST 200 CST 410 CST 510 CST 550
           
rate          
taxable X X
X X
value X        
exemptedBasePercent          
exemptedBaseAmount          
otherBaseAmount          
fullRate X X   X  
CST X X X X X
cClassTrib X X X X X
legalProvision1   X X X X
legalPcode1   X X X X
deferralPercentage       X  
deferralAmount       X  
reductionPercentage   X      
taxRefundAmount          
govReductPercentage          
regularCST   X X X X
regularcClassTrib   X X X X
regularRate   X X X X
regularAmount   X X X X
IBSMUN
Campos CST 000 CST 200 CST 410 CST 510 CST 550
           
rate          
taxable X X
X X
value          
exemptedBasePercent          
exemptedBaseAmount          
otherBaseAmount          
fullRate          
CST X X X X X
cClassTrib X X X X X
legalProvision1   X X X X
legalPcode1   X X X X
deferralPercentage          
deferralAmount          
reductionPercentage          
taxRefundAmount          
govReductPercentage          
regularCST          
regularcClassTrib          
regularRate          
regularAmount        
CBS
Campos CST 000 CST 200 CST 410 CST 510 CST 550
           
rate          
taxable X X
X X
value X        
exemptedBasePercent          
exemptedBaseAmount          
otherBaseAmount          
fullRate X X   X  
CST X X X X X
cClassTrib X X X X X
legalProvision1   X X X X
legalPcode1   X X X X
deferralPercentage       X  
deferralAmount       X  
reductionPercentage   X      
taxRefundAmount          
govReductPercentage          
regularCST   X X X X
regularcClassTrib   X X X X
regularRate   X X X X
regularAmount   X X X X

Definições de busca de regra

Definições de busca de regra

Busca de regras específicas, geral e geral por operação.

Para a busca de regras da reforma tributária, temos algumas definições que diferem da busca de regras atual. Abaixo segue essas definições.

A) Busca de regras específicas:

O TaaS sempre irá buscar primeiro regras específicas, aquelas cujo produto, ncm e origem são preenchidos na regra. Nesse tipo de regra, se encaixa os seguintes critérios, respeitando a seguinte ordem:

1) Busca por código de produto informado na chamada = É necessário que a configuração “AtivaBuscaCodProd” esteja ativa no cockpit;

2) Busca por ean informado na chamada = É necessário que a configuração “AtivaBuscaEan” esteja ativa no cockpit;

3) Busca por ncm informado na chamada = É necessário que a configuração “AtivaBuscaNCM” esteja ativa no cockpit.

B) Busca por regra geral:

Caso não seja encontrada uma regra especifica nos parâmetros acima, o TaaS irá fazer a busca por regral geral, onde:

1) É verificado se o produto informado consta na tabela do cockpit “produtos com regra geral”;

2) Se sim, é feito uma busca de regras considerando os parâmetros do cenário indicado na chamada e o código do produto, ncm e origem = vazio.

C) Busca de regra geral  por operação:

Caso o produto não conste na tabela “produtos com regra geral”, é feito uma busca de regras considerando os parâmetros do cenário indicado na chamada e o código do produto, ncm e origem = vazio.

Definições de busca de regra

Contingência

Para a reforma tributária, o TaaS não efetuará o cálculo On Demand como ocorre atualmente no modelo vigente. No entanto, para a reforma tributária, existe uma contingência: caso não haja regra que contemple o cálculo (tabela de produtos com regra geral, específica ou regra geral por operação), o motor buscará a regra geral do cenário para atender à requisição.

Além disso, o sistema registra logs detalhados de todas as transações, permitindo o acompanhamento e a análise posterior das decisões tomadas pelo motor de cálculo. Dessa forma, garante-se maior transparência e rastreabilidade no processo.

Novas Tags - Serviços

Novas Tags - Serviços

Request - Serviços

Para atender ao novo modelo da Reforma, foram criadas ao todo 4 novos campos:

Segue abaixo um modelo de request, com os novos campos adicionados para atender a reforma tributária. 

Para que os novos blocos da reforma tributária retornem, os mesmos precisam estar preenchidos com "Y", conforme exemplo abaixo:

Serviços
{
"id": "XKBLN2002601KOK569CCIOKJNBV",
"date": "2027-01-01T12:52:57.000Z",
"companyId": "1499",
"saleorPurchase": "S",
"operationNatureCode": "S",
"grossOrNet": "g",
"currency": "BRL",
"Items": [
{
"id": "000010",
"itemCode": "",
"itemType": "S",
"quantity": "1.000",
"unitPrice": "200.000",
"itemClassifications": [
{
"itemStandardClassificationSystemCode": "servTypeExec",
"itemStandardClassificationCode": "07.19"
},
{
"itemStandardClassificationSystemCode": "servTypeFed",
"itemStandardClassificationCode": "07.19"
},
{
"itemStandardClassificationSystemCode": "servTypeFrom",
"itemStandardClassificationCode": "07.19"
},
{
"itemStandardClassificationSystemCode": "nbs",
"itemStandardClassificationCode": "1.2301.99.00"
}
],
"additionalItemInformation": [
{
"type": "usage",
"information": ""
},
{
"type": "usagePurpose",
"information": ""
},
{
"type": "laborContract",
"information": ""
},
{
"type": "CPRB",
"information": "N"
}
]
}
],
"Locations": [
{
"type": "CONTRACT_FROM",
"addressLine1": "Av. Ernst MAHLE 2000",
"zipCode": "13846146",
"city": "BELO HORIZONTE",
"state": "MG",
"country": "BR"
},
{
"type": "CONTRACT_TO",
"addressLine1": "Rod.Engenheiro Joao Tosello (Limeira-Mogi Mirim)",
"zipCode": "13486264",
"city": "Limeira",
"state": "SP",
"country": "BR"
},
{
"type": "SERVICE_LOCATION",
"addressLine1": "Rod.Engenheiro Joao Tosello (Limeira-Mogi Mirim)",
"zipCode": "13486264",
"city": "BELO HORIZONTE",
"state": "MG",
"country": "BR"
}
],
"Party": [
{
"id": "1",
"role": "CONTRACT_FROM",
"taxRegistration": [
{
"locationType": "CONTRACT_FROM",
"taxNumber": "2941700",
"taxNumberTypeCode": "CNAE"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "60476884000187",
"taxNumberTypeCode": "CNPJ"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "COFINSContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "GE",
"taxNumberTypeCode": "companySize"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "N",
"taxNumberTypeCode": "CPOM"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "3171303",
"taxNumberTypeCode": "IBGECode"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "ICMSContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "N",
"taxNumberTypeCode": "ICMSSTContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "IPIContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "ISSContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "2062",
"taxNumberTypeCode": "legalNature"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "PISContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "3",
"taxNumberTypeCode": "taxRegimenCode"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "IBSContributor"
},
{
"locationType": "CONTRACT_FROM",
"taxNumber": "Y",
"taxNumberTypeCode": "CBSContributor"
}
]
},
{
"id": "2",
"role": "CONTRACT_TO",
"taxRegistration": [
{
"locationType": "CONTRACT_TO",
"taxNumber": "2949299",
"taxNumberTypeCode": "CNAE"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "49342181000395",
"taxNumberTypeCode": "CNPJ"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "COFINSContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "3526902",
"taxNumberTypeCode": "IBGECode"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "ICMSContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "ICMSSTContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "417554123110",
"taxNumberTypeCode": "IE"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "70556",
"taxNumberTypeCode": "IM"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "IPIContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "ISSContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "2062",
"taxNumberTypeCode": "legalNature"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "PISContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Real Profit",
"taxNumberTypeCode": "taxDeclarationType"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "3",
"taxNumberTypeCode": "taxRegimenCode"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "IBSContributor"
},
{
"locationType": "CONTRACT_TO",
"taxNumber": "Y",
"taxNumberTypeCode": "CBSContributor"
}
]
},
{
"id": "3",
"role": "SERVICE_LOCATION",
"taxRegistration": [
{
"locationType": "SERVICE_LOCATION",
"taxNumber": "3171303",
"taxNumberTypeCode": "IBGECode"
}
]
}
]
}

Novas Tags - Serviços

Response - Serviços

Para atender a nova reforma tributária, foram criados 3 novos blocos, IBSUF, IBSMUN e CBS. 

Segue abaixo o response com os novos blocos. 

Serviços
{
"total": "187.700000000000",
"subTotal": "200.000000000000",
"totalTax": "10.000000000000",
"taxLines": [
{
"id": "000010",
"totalTax": "10.000000000000",
"taxcode": "5933",
"taxValues": [
{
"rate": "5.0000",
"taxable": "200.000000000000",
"name": "Imposto Sobre Serviços withheld at provider",
"value": "10.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "ISS-PROV",
"taxAttributes": [
{
"attributeType": "CST",
"attributeValue": "1"
},
{
"attributeType": "legalProvision1",
"attributeValue": "Lei Complementar 116/2003. Lei n° 13.701/2003. Anexo I da IN SF/SUREM nº 08/2011."
}
]
},
{
"rate": "0.0000",
"taxable": "0.000000000000",
"name": "Programa de Integração Social",
"value": "0.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "200.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "PIS"
},
{
"rate": "0.0000",
"taxable": "0.000000000000",
"name": "Contribuição para o Financiamento da Seguridade Social",
"value": "0.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "200.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "COFINS"
},
{
"rate": "0.6500",
"taxable": "200.000000000000",
"name": "Withholding for Programa de Integração Social",
"value": "1.300000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "PIS-WHT",
"taxAttributes": [
{
"attributeType": "legalProvision1",
"attributeValue": "LF 10833/2003, art30 e 31 e IN SRF 459/2004"
}
]
},
{
"rate": "3.0000",
"taxable": "200.000000000000",
"name": "Withholding for COFINS",
"value": "6.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "COFINS-WHT",
"taxAttributes": [
{
"attributeType": "legalProvision1",
"attributeValue": "LF 10833/2003, art30 e 31 e IN SRF 459/2004"
}
]
},
{
"rate": "1.0000",
"taxable": "200.000000000000",
"name": "Withholding for Contribuição Social sobre o Lucro Líquido",
"value": "2.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "CSLL-WHT",
"taxAttributes": [
{
"attributeType": "legalProvision1",
"attributeValue": "LF 10833/2003, art30 e 31 e IN SRF 459/2004"
}
]
},
{
"rate": "1.5000",
"taxable": "200.000000000000",
"name": "Withholding for Imposto de Renda",
"value": "3.000000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "IR-WHT",
"taxAttributes": [
{
"attributeType": "legalProvision1",
"attributeValue": "DE 9580/2018, art714, par1, itV, itXVII, itXXXIX"
}
]
},
{
"rate": "0.0400",
"taxable": "190.000000000000",
"name": "Imposto de Bens e Serviços",
"value": "0.080000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "IBSUF",
"fullRate": "0.1000",
"taxAttributes": [
{
"attributeType": "CST",
"attributeValue": "200"
},
{
"attributeType": "cClassTrib",
"attributeValue": "200029"
},
{
"attributeType": "reductionPercentage",
"attributeValue": "60.0000"
}
]
},
{
"rate": "0.0200",
"taxable": "190.000000000000",
"name": "Imposto de Bens e Serviços para Município",
"value": "0.040000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "IBSMUN",
"fullRate": "0.0500",
"taxAttributes": [
{
"attributeType": "CST",
"attributeValue": "200"
},
{
"attributeType": "cClassTrib",
"attributeValue": "200029"
},
{
"attributeType": "reductionPercentage",
"attributeValue": "60.0000"
}
]
},
{
"rate": "0.3600",
"taxable": "190.000000000000",
"name": "Contribuição de Bens e Serviços",
"value": "0.680000000000",
"exemptedBasePercent": "0.0000",
"exemptedBaseAmount": "0.000000000000",
"otherBaseAmount": "0.000000000000",
"taxTypeCode": "CBS",
"fullRate": "0.9000",
"taxAttributes": [
{
"attributeType": "CST",
"attributeValue": "200"
},
{
"attributeType": "cClassTrib",
"attributeValue": "200029"
},
{
"attributeType": "reductionPercentage",
"attributeValue": "60.0000"
}
]
}
]
}
],
"date": "2026-07-17T14:58:48.1113572-03:00",
"genericInfo": "CPOM=S;perfilDest=1708;perfilRem=8;natOp=172|versao=6.56|perfilRemRT=1578|perfilDestRT=3140|IDcenarioRT=MGSP1.2301.99.00|versaoRT=1.00",
"partnerName": "Systax versao=6.56",
"partnerName_taas": "TaaSRT=1.14.1"
}