---
agentTools:
  projectIndex: https://girafa-ecommerce-hub.readme.io/llms.txt
---

# Cadastro de NF

Enviar a nota fiscal para o pedido.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Geral HUB",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://hub.girafacomunicacao.com.br/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/orders/{order}/invoice": {
      "post": {
        "summary": "Cadastro de NF",
        "description": "Enviar a nota fiscal para o pedido.",
        "operationId": "cadastro-de-nf",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "serie",
                  "number",
                  "key",
                  "xml",
                  "date"
                ],
                "properties": {
                  "serie": {
                    "type": "string"
                  },
                  "number": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "danfe": {
                    "type": "string",
                    "description": "Link com o Danfe da NF"
                  },
                  "xml": {
                    "type": "string",
                    "description": "Link com o XML da NF"
                  },
                  "date": {
                    "type": "string",
                    "description": "YYYY-MM-DD HH:MM:SS",
                    "format": "date"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "631fa9f804f5db006250d5f4:631fa89fa297200017093d86"
}
```