Skip to main content
POST
/
pedidos
/
{idPedido}
/
gerar-nota-fiscal
Gerar nota fiscal do pedido
curl --request POST \
  --url https://api.tiny.com.br/public-api/v3/pedidos/{idPedido}/gerar-nota-fiscal \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "modelo": 55
}'
{
  "id": 123,
  "numero": 123,
  "serie": 123
}

Path Parameters

idPedido
integer
required

Identificador do pedido

Body

application/json
modelo
enum<integer>

Modelo da nota fiscal

  • 55 - NFe
  • 65 - NFCe
Available options:
55,
65
Example:

55

Response

OK

id
integer
numero
integer
serie
integer