curl --request POST \
--url https://api.example.com/v1/movimentations/nfe \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '{
"movimentation_id": "c1a0e1b0-9c9a-4f45-bf42-123456789abc",
"subtotal": 51.80,
"discount": 0,
"date": "2025-02-02T12:00:00.000Z",
"recipient": {
"document": "12345678000199",
"name": "Empresa Exemplo LTDA",
"postal_code": "01001000"
},
"products": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"unit_price": 25.90,
"quantity": 2,
"subtotal": 51.80,
"discount": 0
}
],
"payments": [
{
"status": 1,
"payment_type": 3,
"value": 51.80
}
]
}'
NFe
Criar uma NFe
Crirar uma movimentação do tipo NFe
POST
/
movimentations
/
nfe
curl --request POST \
--url https://api.example.com/v1/movimentations/nfe \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '{
"movimentation_id": "c1a0e1b0-9c9a-4f45-bf42-123456789abc",
"subtotal": 51.80,
"discount": 0,
"date": "2025-02-02T12:00:00.000Z",
"recipient": {
"document": "12345678000199",
"name": "Empresa Exemplo LTDA",
"postal_code": "01001000"
},
"products": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"unit_price": 25.90,
"quantity": 2,
"subtotal": 51.80,
"discount": 0
}
],
"payments": [
{
"status": 1,
"payment_type": 3,
"value": 51.80
}
]
}'
Authorizations
string
required
Chave de acesso da API.
Body
string
required
ID da movimentação (UUID).
object
required
Product[]
required
Payment[]
required
number
required
Valor total bruto dos produtos.
number
required
Valor total de desconto.
string
required
Data da movimentação em formato ISO (ex:
2025-02-02T12:00:00.000Z).curl --request POST \
--url https://api.example.com/v1/movimentations/nfe \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '{
"movimentation_id": "c1a0e1b0-9c9a-4f45-bf42-123456789abc",
"subtotal": 51.80,
"discount": 0,
"date": "2025-02-02T12:00:00.000Z",
"recipient": {
"document": "12345678000199",
"name": "Empresa Exemplo LTDA",
"postal_code": "01001000"
},
"products": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"unit_price": 25.90,
"quantity": 2,
"subtotal": 51.80,
"discount": 0
}
],
"payments": [
{
"status": 1,
"payment_type": 3,
"value": 51.80
}
]
}'
⌘I
