Generate a vector PDF from document details. HTTP calls can return a temporary download link. Configured customer sync can save contact details and start follow-up. See https://pressmark.dev/privacy.
View input schema
{
"type": "object",
"properties": {
"compliance_mode": {
"description": "Compliance topic note (none, eu_vat, peppol_bis, hipaa_baa).",
"type": "string"
},
"county": {
"description": "County name for jurats and headers.",
"type": "string"
},
"currency": {
"default": "USD",
"description": "ISO 4217 currency code.",
"type": "string"
},
"currency_placement": {
"description": "Currency prefix or suffix placement.",
"type": "string"
},
"currency_separators": {
"description": "Number separators (comma_dot, dot_comma).",
"type": "string"
},
"currency_symbol_mode": {
"description": "Display currency symbol or ISO code.",
"type": "string"
},
"custom_fields": {
"description": "Custom key-value metadata fields.",
"type": "array"
},
"date_format": {
"description": "Date format (iso, us_slash, euro, formal_prose).",
"type": "string"
},
"doc_number": {
"description": "Document number. Left blank when omitted.",
"type": "string"
},
"doc_type": {
"description": "Archetype slug (invoice, receipt, residential_lease, nda, etc.).",
"type": "string"
},
"due_date": {
"description": "Payment due date (YYYY-MM-DD).",
"type": "string"
},
"execution_mode": {
"description": "Signature layout (esign, wet_ink, notarized_wet, ron).",
"type": "string"
},
"fields_style": {
"description": "Metadata and property fields style (standard, compact_strip, ledger_table, minimal_list).",
"type": "string"
},
"from": {
"description": "Issuer or landlord details.",
"properties": {
"address": {
"description": "Issuer address.",
"type": "string"
},
"email": {
"description": "Issuer email.",
"type": "string"
},
"name": {
"description": "Issuer name.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"from_style": {
"description": "Issuer or landlord card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).",
"type": "string"
},
"issue_date": {
"description": "Issue date (YYYY-MM-DD).",
"type": "string"
},
"items": {
"description": "Line items or rent schedule.",
"items": {
"properties": {
"description": {
"description": "Item description.",
"type": "string"
},
"quantity": {
"description": "Item quantity.",
"type": "number"
},
"unit_price": {
"description": "Unit price.",
"type": "number"
}
},
"required": [
"description",
"quantity",
"unit_price"
],
"type": "object"
},
"type": "array"
},
"layout_style": {
"description": "Header layout style (standard, minimal, modern_banner, classic_letterhead, editorial_centered, split_sidebar, swiss_grid, compact_ledger, framed).",
"type": "string"
},
"municipality": {
"description": "Municipal profile (Chicago, Cook County, NYC, SF, Seattle, Portland).",
"type": "string"
},
"notary_required": {
"description": "Add blank section for notary completion.",
"type": "boolean"
},
"notes_style": {
"description": "Notes and instructions block style (standard, callout_card, left_accent, numbered_legal).",
"type": "string"
},
"number_decimals": {
"description": "Decimal places for amounts (default 2).",
"type": "integer"
},
"parties_style": {
"description": "Party cards style (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).",
"type": "string"
},
"payment_link": {
"description": "HTTPS link supplied by the user to include in the document.",
"type": "string"
},
"payment_qr_code": {
"description": "Embed vector SVG QR code.",
"type": "boolean"
},
"payment_style": {
"description": "Style for payment details in the document (standard, banner, minimal_inline).",
"type": "string"
},
"recordable": {
"description": "Enable County Recorder 3-inch top margin.",
"type": "boolean"
},
"sections": {
"description": "Structured legal clause sections.",
"type": "array"
},
"sections_style": {
"description": "Custom sections and clauses style (standard, callout_card, left_accent, numbered_legal).",
"type": "string"
},
"signature_style": {
"description": "Signature block style (standard, framed_box, formal_deed, minimal_compact).",
"type": "string"
},
"signatures": {
"description": "Signature fields with signer names, dates, and optional signature images.",
"items": {
"properties": {
"date": {
"description": "Signing date.",
"type": "string"
},
"signature_data": {
"description": "Base64 signature image data URI.",
"type": "string"
},
"signer_name": {
"type": "string"
},
"signer_title": {
"type": "string"
}
},
"required": [
"signer_name"
],
"type": "object"
},
"type": "array"
},
"state_code": {
"description": "2-letter US state or DC code.",
"type": "string"
},
"table_style": {
"description": "Line items and rent schedule table style (standard, minimal_lines, bordered_ledger, modern_cards, compact_mono).",
"type": "string"
},
"tax_rate": {
"description": "Percentage tax rate.",
"type": "number"
},
"to": {
"description": "Recipient or tenant details.",
"properties": {
"address": {
"description": "Recipient address.",
"type": "string"
},
"email": {
"description": "Recipient email.",
"type": "string"
},
"name": {
"description": "Recipient name.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"to_style": {
"description": "Billed To or tenant card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).",
"type": "string"
},
"totals_style": {
"description": "Financial summary and totals box style (standard, card_highlight, banner_bar, compact, split_ledger).",
"type": "string"
}
},
"required": [
"doc_type",
"from",
"to"
],
"examples": [
{
"doc_type": "invoice",
"from": {
"name": "Acme Corp"
},
"items": [
{
"description": "Design retainer",
"quantity": 1,
"unit_price": 1500
}
],
"to": {
"name": "Client LLC"
}
}
]
}