Skip to content

Vincular nota fiscal a mdfe

Request

Permite associar uma ou mais notas fiscais (identificadas pelas chaves de acesso) a um MDF-e (Manifesto Eletrônico de Documento Fiscal). É possível também informar o status do vínculo (ex: "AUTORIZADO", "ENCERRADO", "CANCELADO"). Apoio no controle logístico e fiscal.

Security
BearerAuth
Bodyapplication/jsonrequired

Dados para vincular nota fiscal a mdfe

chaves_acessoArray of stringsrequired

Chaves de acesso das notas fiscais vinculadas ao MDF-e

Example:
[ "42250323643586000108550010000001151606401726", "42250323643586000108550010000001141054498495" ]
identificadorstringrequired

Identificador do MDF-e

Example:"345345"
statusstring(StatusDoMDFE)

Status do MDF-e

Enum:"AUTORIZADO""ENCERRADO""CANCELADO"
Example:"ENCERRADO"
curl -i -X POST \
  https://api-v2.contaazul.com/v1/notas-fiscais/vinculo-mdfe \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "chaves_acesso": [
      "42250323643586000108550010000001151606401726",
      "42250323643586000108550010000001141054498495"
    ],
    "identificador": "345345",
    "status": "ENCERRADO"
  }'

Responses

No Content

Response
No content