> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.erp.olist.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Incluir Nota de Serviço

> Serviço destinado a incluir novas notas fiscais de serviço (NFS-e).

## Endpoint

```
POST https://api.tiny.com.br/api2/nota.servico.incluir.php
```

## Parâmetros

| Parâmetro     | Tipo   | Ocorrência  | Descrição                                 |
| ------------- | ------ | ----------- | ----------------------------------------- |
| token         | string | obrigatório | Chave gerada para identificar sua empresa |
| formato       | string | obrigatório | Formato do retorno (json)                 |
| nota\_servico | xml    | obrigatório | Dados da NFS-e em formato XML             |

## Exemplo de chamada

```bash theme={null}
curl -X POST https://api.tiny.com.br/api2/nota.servico.incluir.php \
  -d "token=SEU_TOKEN&formato=json" \
  -d "nota_servico=<?xml version=\"1.0\" encoding=\"UTF-8\"?><nota_servico>...</nota_servico>"
```
