Skip to main content
POST
/
notas
/
xml
/
fornecedor
Incluir nota fiscal de fornecedor por XML
curl --request POST \
  --url https://api.tiny.com.br/public-api/v3/notas/xml/fornecedor \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form xml='@example-file' \
  --form numeroPedido=123 \
  --form lancarContas=S \
  --form lancarEstoque=S
{
  "idNota": 123
}

Body

multipart/form-data
xml
file
numeroPedido
integer | null
lancarContas
enum<string> | null
  • S - Sim
  • N - Não
Available options:
S,
N
lancarEstoque
enum<string> | null
  • S - Sim
  • N - Não
Available options:
S,
N

Response

OK

idNota
integer