Amigos, passei esse json para emitir uma NFe, e esta retornando um erro:
{
"infNFe": {
"versao": "4.00",
"Id": "",
"ide": {
"cUF": 42,
"cNF": "94328487",
"natOp": "REMESSA",
"mod": 55,
"serie": 2,
"nNF": 1,
"dhEmi": "2024-06-25T16:55:11Z",
"dhSaiEnt": "2024-06-25T16:55:11Z",
"tpNF": 1,
"idDest": 1,
"cMunFG": "4202404",
"tpImp": 1,
"tpEmis": 1,
"cDV": 7,
"tpAmb": 1,
"finNFe": 1,
"indFinal": 1,
"indPres": 1,
"procEmi": 0,
"verProc": "4.0"
},
"emit": {
"CNPJ": "33911101000173",
"xNome": "Moda Cores Ltda",
"xFant": "Modacores",
"enderEmit": {
"xLgr": "Rua Almirante Barroso",
"nro": "387",
"xCpl": " ",
"xBairro": "Bras",
"cMun": "4202404",
"xMun": "Sao Paulo",
"UF": "SP",
"CEP": "08773300",
"cPais": "1058",
"xPais": "BRASIL",
"fone": "4732889978"
},
"IE": "126243189115",
"CRT": 3
},
"dest": {
"CNPJ": "03061133000166",
"xNome": "STAACK TINTURARIA LTDA",
"enderDest": {
"xLgr": "RUA ITAJAI",
"nro": "100",
"xCpl": " ",
"xBairro": "LIMOEIRO",
"cMun": "4202909",
"xMun": "Brusque",
"UF": "SC",
"CEP": "88352495",
"cPais": "1058",
"xPais": "BRASIL",
"fone": "4733554000"
},
"indIEDest": 1,
"IE": "253728240",
"email": " "
},
"retirada": {
"CNPJ": "33911101000173",
"xNome": "Moda Cores Ltda",
"xLgr": "Rua Almirante Barroso",
"nro": "387",
"xCpl": " ",
"xBairro": "Bras",
"cMun": "4202404",
"xMun": "Sao Paulo",
"UF": "SP",
"CEP": "08773300",
"cPais": "1058",
"xPais": "BRASIL",
"fone": "4732889978",
"email": "pcp@modacores.com.br",
"IE": "126243189115"
},
"det": [
{
"nItem": 1,
"prod": {
"cProd": "15502",
"cEAN": "SEM GTIN",
"xProd": "MOLETON PARIS SOFT MOL-285",
"NCM": "54024400",
"CFOP": "6901",
"uCom": "KG",
"qCom": 1348.400,
"vUnCom": 19.00,
"vProd": 25619.60000,
"cEANTrib": "SEM GTIN",
"uTrib": "KG",
"qTrib": 1348.400,
"vUnTrib": 19.00,
"indTot": 1
},
"imposto": {
"vTotTrib": 0,
"ICMS": {
"ICMS40": {
"orig": 2,
"CST": "50",
"vICMSDeson": 0,
"motDesICMS": 9,
"indDeduzDeson": 0
}
},
"PIS": {
"PISNT": {
"CST": "08"
}
},
"COFINS": {
"COFINSNT": {
"CST": "08"
}
}
}
}
],
"total": {
"ICMSTot": {
"vBC": 0,
"vICMS": 0,
"vICMSDeson": 0,
"vFCP": 0,
"vBCST": 0,
"vST": 0,
"vFCPST": 0,
"vFCPSTRet": 0,
"vProd": 25619.60000,
"vFrete": 0,
"vSeg": 0,
"vDesc": 0,
"vII": 0,
"vIPI": 0,
"vIPIDevol": 0,
"vPIS": 0,
"vCOFINS": 0,
"vOutro": 0,
"vNF": 0
}
},
"transp": {
"modFrete": 0,
"transporta": {
"CNPJ": "29970567000172",
"xNome": "TRANSIT CARGO LTDA",
"xEnder": "RUA BUSINESS PARK",
"xMun": "BLUMENAU",
"UF": "SC"
},
"vol": [
{
"qVol": 8,
"esp": "VOLUME",
"nVol": "0",
"pesoL": 230.400,
"pesoB": 270.800
}
]
},
"pag": {
"detPag": [
{
"indPag": 0,
"tPag": "90",
"vPag": 0
}
]
},
"infAdic": {
"infAdFisco": " "
},
"infRespTec": {
"CNPJ": "21214930000118",
"xContato": "OPENSOFT INFORMATICA EIRELI - ME",
"email": "james.isecke@hotmail.com",
"fone": "62981261148"
}
},
"ambiente": "homologacao",
"referencia": "667b209f7da77"
}
Erro retornado pela API:
{
"error": {
"code": "ValidationFailed",
"message": "Validation failed: O campo 'infNFe.Id' não corresponde ao formato esperado ^(NFe[0-9]{44})$",
"errors": [
{
"code": "InvalidFormat",
"message": "O campo 'infNFe.Id' não corresponde ao formato esperado ^(NFe[0-9]{44})$"
}
]
}
}
Como posso resolver?