Central Fox Tecnologia LTDA Mdfes API
The mdfes API from Central Fox Tecnologia LTDA — 2 operation(s) for mdfes.
The mdfes API from Central Fox Tecnologia LTDA — 2 operation(s) for mdfes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/foxnfe-com-br:foxnfe-com-br-mdfes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: FOX NF-e Mdfes API
version: '1.20260923'
description: Contrato derivado das rotas, regras Laravel e respostas estáticas. Condições de validação são descritas nos campos. x-source identifica a evidência. Valores dinâmicos sem tipo comprovado não recebem tipos inventados.
servers:
- url: https://www.foxnfe.com.br
tags:
- name: mdfes
paths:
/api/v1/mdfes:
post:
operationId: post_api_v1_mdfes
tags:
- mdfes
summary: Mdfe store
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:17
x-middleware:
- api
- auth:sanctum
- agent.provider
- tenant.identify
- tenant.status
- plan.limits
- throttle:30,60
- ability:nfes:emit
responses:
'201':
description: Resposta implementada pelo controlador.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: integer
numero_mdfe:
type: integer
serie:
type: integer
modelo:
type: integer
ambiente:
type: integer
status:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:75
chave_acesso:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:76
rejection_code:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:76
rejection_reason:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:77
created_at:
type:
- string
- 'null'
format: date-time
examples:
estrutura_ficticia:
summary: Exemplo estrutural fictício; não é recibo de execução.
description: Dados sintéticos para explicar o formato. Identificadores, cadastros fiscais, arquivos e regras de domínio devem ser substituídos por valores válidos do ambiente de homologação. Este exemplo não comprova aceitação fiscal.
value:
data:
id: 1
numero_mdfe: 1
serie: 1
modelo: 1
x-source:
- app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:57
'422':
description: Resposta implementada pelo controlador.
content:
application/json:
schema:
type: object
properties:
error:
type: string
example: mdfe_make_failed
message:
type: string
details:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:59
examples:
estrutura_ficticia:
summary: Exemplo estrutural fictício; não é recibo de execução.
description: Dados sintéticos para explicar o formato. Identificadores, cadastros fiscais, arquivos e regras de domínio devem ser substituídos por valores válidos do ambiente de homologação. Este exemplo não comprova aceitação fiscal.
value:
error: mdfe_make_failed
message: EXEMPLO_FICTICIO
details: null
x-source:
- app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:59
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/post_api_v1_mdfesRequest'
examples:
estrutura_ficticia:
summary: Exemplo estrutural fictício; não é recibo de execução.
description: Dados sintéticos para explicar o formato. Identificadores, cadastros fiscais, arquivos e regras de domínio devem ser substituídos por valores válidos do ambiente de homologação. Este exemplo não comprova aceitação fiscal.
value:
ide:
cUF: 1
dhEmi: EXEMPLO_FICTICIO
UFIni: EX
UFFim: EX
emit:
- null
enderEmit:
- null
infMunCarrega:
cMunCarrega: EXEMPLO_FICTICIO
xMunCarrega: EXEMPLO_FICTICIO
infMunDescarga:
cMunDescarga: EXEMPLO_FICTICIO
xMunDescarga: EXEMPLO_FICTICIO
infNFe:
chNFe: EXEMPLO_FICTICIOXXXXXXXXXXXXXXXXXXXXXXXXXXXX
veicTracao:
placa: EXEMPLO_FICTICIO
tara: 1
tpRod: EXEMPLO_FICTICIO
tpCar: EXEMPLO_FICTICIO
tot:
vCarga: 1
cUnid: EXEMPLO_FICTICIO
qCarga: 1
infRespTec:
CNPJ: EXEMPLO_FICTICIO
xContato: EXEMPLO_FICTICIO
email: integracao@example.invalid
fone: EXEMPLO_FICTICIO
/api/v1/mdfes/{id}:
get:
operationId: get_api_v1_mdfes__id_
tags:
- mdfes
summary: Mdfe show
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:63
x-middleware:
- api
- auth:sanctum
- agent.provider
- tenant.identify
- tenant.status
- plan.limits
responses:
'200':
description: Resposta implementada pelo controlador.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: integer
numero_mdfe:
type: integer
serie:
type: integer
modelo:
type: integer
ambiente:
type: integer
status:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:75
chave_acesso:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:76
rejection_code:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:76
rejection_reason:
description: Valor calculado pelo servidor; o tipo não é restringido sem evidência estática.
x-source: app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:77
created_at:
type:
- string
- 'null'
format: date-time
examples:
estrutura_ficticia:
summary: Exemplo estrutural fictício; não é recibo de execução.
description: Dados sintéticos para explicar o formato. Identificadores, cadastros fiscais, arquivos e regras de domínio devem ser substituídos por valores válidos do ambiente de homologação. Este exemplo não comprova aceitação fiscal.
value:
data:
id: 1
numero_mdfe: 1
serie: 1
modelo: 1
x-source:
- app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:67
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: integer
pattern: '[0-9]+'
components:
schemas:
post_api_v1_mdfesRequest:
type: object
properties:
ide:
x-laravel-rules:
- required
- array
type: object
properties:
cUF:
x-laravel-rules:
- required
- integer
type: integer
tpEmit:
x-laravel-rules:
- sometimes
- integer
type: integer
dhEmi:
x-laravel-rules:
- required
- string
type: string
serie:
x-laravel-rules:
- sometimes
- integer
type: integer
UFIni:
x-laravel-rules:
- required
- string
- size:2
type: string
minLength: 2
maxLength: 2
UFFim:
x-laravel-rules:
- required
- string
- size:2
type: string
minLength: 2
maxLength: 2
required:
- cUF
- dhEmi
- UFIni
- UFFim
emit:
x-laravel-rules:
- required
- array
type:
- array
- object
items: {}
additionalProperties: true
enderEmit:
x-laravel-rules:
- required
- array
type:
- array
- object
items: {}
additionalProperties: true
infMunCarrega:
x-laravel-rules:
- required
- array
type: object
properties:
cMunCarrega:
x-laravel-rules:
- required
- string
type: string
xMunCarrega:
x-laravel-rules:
- required
- string
type: string
required:
- cMunCarrega
- xMunCarrega
infMunDescarga:
x-laravel-rules:
- required
- array
type: object
properties:
cMunDescarga:
x-laravel-rules:
- required
- string
type: string
xMunDescarga:
x-laravel-rules:
- required
- string
type: string
required:
- cMunDescarga
- xMunDescarga
infNFe:
x-laravel-rules:
- required
- array
type: object
properties:
chNFe:
x-laravel-rules:
- required
- string
- size:44
type: string
minLength: 44
maxLength: 44
required:
- chNFe
veicTracao:
x-laravel-rules:
- required
- array
type: object
properties:
placa:
x-laravel-rules:
- required
- string
type: string
tara:
x-laravel-rules:
- required
- numeric
type: number
tpRod:
x-laravel-rules:
- required
- string
type: string
tpCar:
x-laravel-rules:
- required
- string
type: string
required:
- placa
- tara
- tpRod
- tpCar
tot:
x-laravel-rules:
- required
- array
type: object
properties:
vCarga:
x-laravel-rules:
- required
- numeric
type: number
cUnid:
x-laravel-rules:
- required
- string
type: string
qCarga:
x-laravel-rules:
- required
- numeric
type: number
required:
- vCarga
- cUnid
- qCarga
infRespTec:
x-laravel-rules:
- required
- array
type: object
properties:
CNPJ:
x-laravel-rules:
- required
- string
type: string
xContato:
x-laravel-rules:
- required
- string
type: string
email:
x-laravel-rules:
- required
- email
type: string
format: email
fone:
x-laravel-rules:
- required
- string
type: string
required:
- CNPJ
- xContato
- email
- fone
required:
- ide
- emit
- enderEmit
- infMunCarrega
- infMunDescarga
- infNFe
- veicTracao
- tot
- infRespTec
x-source:
- app/app/Modules/Fiscal/Mdfe/Http/Controllers/MdfeController.php:19
securitySchemes:
bearerAuth:
type: http
scheme: bearer