documents

Generate Html

Generate a document as HTML and return it directly.

This endpoint generates HTML and returns it as a response that can be displayed directly in a browser.

Args: request: Document generation request

Returns: HTML content

Raises: HTTPException: If generation fails

post/documents/generate-html

Request

  • Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.jeevyfabrication.com/documents/generate-html
  • Auth: none declared

Request body

doc_type'quote_request' | 'po' | 'invoice' | 'quote' | 'work_order' required

Types of business documents that can be generated.

currencystring

Currency symbol

tax_ratenumber

Tax rate as decimal (0-1)

logo_pathstring nullable

Path to company logo image

output_formatstring

Output format: 'html' or 'pdf'

document_namestring nullable

Custom name for the generated document

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.