Atualizar NF-e da entrega

A transportadora atualiza ou complementa a NF-e (Nota Fiscal eletrônica) associada à entrega.

Header obrigatório. Toda chamada exige o header x-abbiamo-seller-group-key. Preencha-o no canto superior direito desta página ou veja como obter a sua chave.

Este endpoint permite atualizar o XML da NF-e (Nota Fiscal Eletrônica) de uma entrega específica.

XML Validation

The following fields within the xml_nfe_string have validations:

  • InfNfse: General information of the NFe.
  • Numero: Sequential number of the NFe.
  • DataEmissao: Date and time of NFe issuance.
  • PrestadorServico.IdentificacaoPrestador.Cnpj: CNPJ (Brazilian company identifier) of the issuer.
  • TomadorServico.IdentificacaoTomador.CpfCnpj.Cnpj / TomadorServico.IdentificacaoTomador.CpfCnpj.Cnpj: CNPJ or CPF (Brazilian personal identifier) of the recipient.
  • Servico.Valores.ValorServicos: Total value of the service (freight charges).

Garanta que os campos estão preenchidos corretamente e batem com os dados da entrega na Abbiamo. Informações incorretas ou faltantes resultam em erro de validação. A string precisa estar com escape ("\") por causa de aspas duplas repetidas.

Example: "<?xml version="1.0" encoding="UTF-8"?>...

PUT
/v1/delivery/nfe
x-abbiamo-carrier-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/delivery/nfe" \  -H "Content-Type: application/json" \  -d '{    "delivery_id": "string",    "xml_nfe_string": "string"  }'
"{}"

"{\n  \"code\": \"DELIVERY_NOT_FOUND\",\n  \"message\": \"Delivery with id 6060e377-d5cd-4acf-b4fe-0fcde588462 does not found\",\n  \"level\": \"WARNING\",\n  \"status\": 400,\n  \"params\": {\n    delivery_id: \"6060e377-d5cd-4acf-b4fe-0fcde588462\",\n  }\n}"

Nesta página