Skip to main content
POST
/
v1
/
order
/
invoice
Importar nota fiscal.
curl --request POST \
  --url https://api.staging.cartaosimples.com.br/integration/v1/order/invoice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pedidoId": "00000000-0000-0000-0000-000000000000",
  "arquivoBase64": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago...",
  "nomeArquivo": "nota-fiscal.pdf"
}
'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://documentacao.cartaosimples.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Cabeçalho de autenticação Bearer no formato Bearer <token> onde <token> é seu TOKEN de autenticação

Body

application/json
pedidoId
string<uuid>
required

Identificador do pedido.

Example:

"00000000-0000-0000-0000-000000000000"

arquivoBase64
string
required

Conteúdo do arquivo da nota fiscal codificado em base64.

Minimum string length: 1
Example:

"JVBERi0xLjQKJeLjz9MKMSAwIG9iago..."

nomeArquivo
string
required

Nome do arquivo com extensão (ex: nota-fiscal.pdf).

Minimum string length: 1
Example:

"nota-fiscal.pdf"

Response

OK