ENVIAR FACTURA GENERADA OFFLINE
POST/api/documents/send
Para enviar a Sunat la factura generada en modo offline, puede usar el siguiente servicio, necesitará la url, el token y el external_id del documento generado.
Ejemplo:
- Método: POST
- URL: http://demo.fastura.app/api/documents/send
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
external_idstringrequired
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
Body
required
- JSON A ENVIAR
external_idstringrequired
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
Body
required
- JSON A ENVIAR
external_idstringrequired
Example:
2dded172-cd17-4078-9c88-10a9b1177f2d
Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
required
numberstring
Example:
F001-15
filenamestring
Example:
20415963255-01-F001-15
external_idstring
Example:
7d9feb66-16e9-47a9-86fd-ebccdb662678
links
object
cdrstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/document/cdr/7d9feb66-16e9-47a9-86fd-ebccdb662678
response
object
codestring
Example:
0
descriptionstring
Example:
La Factura numero F001-15, ha sido aceptada
notesstring[]
Example:
[]
ResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
true
data
object
required
numberstring
Example:
F001-15
filenamestring
Example:
20415963255-01-F001-15
external_idstring
Example:
7d9feb66-16e9-47a9-86fd-ebccdb662678
links
object
cdrstring
Example:
http://demo26.multifacturalonew.oo:8084/downloads/document/cdr/7d9feb66-16e9-47a9-86fd-ebccdb662678
response
object
codestring
Example:
0
descriptionstring
Example:
La Factura numero F001-15, ha sido aceptada
notesstring[]
Example:
[]
ResponseSamples component placeholder
Invalid input
Validation exception