Skip to main content

Request - Serviços

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

  • NBS
  • CONTRACT_FROM = IBSContributor
  • CONTRACT_FROM = CBSContributor
  • CONTRACT_TO = IBSContributor
  • CONTRACT_TO = CBSContributor 

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:

{
    "id": "TST1-MGSP-172-8-1708-2027-123019900-SAIDA",
    "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"
                }
            ]
        }
    ]
}