Repzo API - Quick Convert to PDF (1.0.0)

Download OpenAPI specification:Download

OpenAPI specification for Repzo Quick Convert to PDF endpoints.

Convert document to PDF

Request Body schema: application/json
documentType
required
string
Enum: "invoice" "proforma" "order" "quote" "receipt"

Type of document to convert

documentId
required
string

ID of the document to convert

template
string

Template to use for PDF generation

object

PDF generation options

language
string

Language for the PDF content

Responses

Request samples

Content type
application/json
{
  • "documentType": "invoice",
  • "documentId": "string",
  • "template": "string",
  • "options": {
    },
  • "language": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "pdfUrl": "string",
  • "filename": "string",
  • "size": 0,
  • "pages": 0,
  • "generatedAt": "2019-08-24T14:15:22Z",
  • "expiresAt": "2019-08-24T14:15:22Z"
}