Pressmark
v1.4.0Create PDF invoices, estimates, contracts, and real estate documents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_document Generate PDF Document
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.
| Parameter | Type | Description |
|---|---|---|
doc_type * | string | Archetype slug (invoice, receipt, residential_lease, nda, etc.). |
from * | object | Issuer or landlord details. |
to * | object | Recipient or tenant details. |
compliance_mode | string | Compliance topic note (none, eu_vat, peppol_bis, hipaa_baa). |
county | string | County name for jurats and headers. |
currency | string | ISO 4217 currency code. |
currency_placement | string | Currency prefix or suffix placement. |
currency_separators | string | Number separators (comma_dot, dot_comma). |
currency_symbol_mode | string | Display currency symbol or ISO code. |
custom_fields | array | Custom key-value metadata fields. |
date_format | string | Date format (iso, us_slash, euro, formal_prose). |
doc_number | string | Document number. Left blank when omitted. |
due_date | string | Payment due date (YYYY-MM-DD). |
execution_mode | string | Signature layout (esign, wet_ink, notarized_wet, ron). |
fields_style | string | Metadata and property fields style (standard, compact_strip, ledger_table, minimal_list). |
from_style | string | Issuer or landlord card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
issue_date | string | Issue date (YYYY-MM-DD). |
items | array | Line items or rent schedule. |
layout_style | string | Header layout style (standard, minimal, modern_banner, classic_letterhead, editorial_centered, split_sidebar, swiss_grid, compact_ledger, framed). |
municipality | string | Municipal profile (Chicago, Cook County, NYC, SF, Seattle, Portland). |
notary_required | boolean | Add blank section for notary completion. |
notes_style | string | Notes and instructions block style (standard, callout_card, left_accent, numbered_legal). |
number_decimals | integer | Decimal places for amounts (default 2). |
parties_style | string | Party cards style (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
payment_link | string | HTTPS link supplied by the user to include in the document. |
payment_qr_code | boolean | Embed vector SVG QR code. |
payment_style | string | Style for payment details in the document (standard, banner, minimal_inline). |
recordable | boolean | Enable County Recorder 3-inch top margin. |
sections | array | Structured legal clause sections. |
sections_style | string | Custom sections and clauses style (standard, callout_card, left_accent, numbered_legal). |
signature_style | string | Signature block style (standard, framed_box, formal_deed, minimal_compact). |
signatures | array | Signature fields with signer names, dates, and optional signature images. |
state_code | string | 2-letter US state or DC code. |
table_style | string | Line items and rent schedule table style (standard, minimal_lines, bordered_ledger, modern_cards, compact_mono). |
tax_rate | number | Percentage tax rate. |
to_style | string | Billed To or tenant card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
totals_style | string | Financial summary and totals box style (standard, card_highlight, banner_bar, compact, split_ledger). |
preview_document Preview Document as PNG
Render a PNG preview from supplied document details. HTTP calls can return a temporary image link.
| Parameter | Type | Description |
|---|---|---|
doc_type * | string | Archetype slug (invoice, receipt, residential_lease, nda, etc.). |
from * | object | Issuer or landlord details. |
to * | object | Recipient or tenant details. |
compliance_mode | string | Compliance topic note (none, eu_vat, peppol_bis, hipaa_baa). |
county | string | County name for jurats and headers. |
currency | string | ISO 4217 currency code. |
currency_placement | string | Currency prefix or suffix placement. |
currency_separators | string | Number separators (comma_dot, dot_comma). |
currency_symbol_mode | string | Display currency symbol or ISO code. |
custom_fields | array | Custom key-value metadata fields. |
date_format | string | Date format (iso, us_slash, euro, formal_prose). |
doc_number | string | Document number. Left blank when omitted. |
due_date | string | Payment due date (YYYY-MM-DD). |
execution_mode | string | Signature layout (esign, wet_ink, notarized_wet, ron). |
fields_style | string | Metadata and property fields style (standard, compact_strip, ledger_table, minimal_list). |
from_style | string | Issuer or landlord card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
issue_date | string | Issue date (YYYY-MM-DD). |
items | array | Line items or rent schedule. |
layout_style | string | Header layout style (standard, minimal, modern_banner, classic_letterhead, editorial_centered, split_sidebar, swiss_grid, compact_ledger, framed). |
municipality | string | Municipal profile (Chicago, Cook County, NYC, SF, Seattle, Portland). |
notary_required | boolean | Add blank section for notary completion. |
notes_style | string | Notes and instructions block style (standard, callout_card, left_accent, numbered_legal). |
number_decimals | integer | Decimal places for amounts (default 2). |
parties_style | string | Party cards style (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
payment_link | string | HTTPS link supplied by the user to include in the document. |
payment_qr_code | boolean | Embed vector SVG QR code. |
payment_style | string | Style for payment details in the document (standard, banner, minimal_inline). |
recordable | boolean | Enable County Recorder 3-inch top margin. |
sections | array | Structured legal clause sections. |
sections_style | string | Custom sections and clauses style (standard, callout_card, left_accent, numbered_legal). |
signature_style | string | Signature block style (standard, framed_box, formal_deed, minimal_compact). |
signatures | array | Signature fields with signer names, dates, and optional signature images. |
state_code | string | 2-letter US state or DC code. |
table_style | string | Line items and rent schedule table style (standard, minimal_lines, bordered_ledger, modern_cards, compact_mono). |
tax_rate | number | Percentage tax rate. |
to_style | string | Billed To or tenant card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner). |
totals_style | string | Financial summary and totals box style (standard, card_highlight, banner_bar, compact, split_ledger). |
calculate_totals Calculate Document Totals
Compute subtotal, tax, discount, grand total, and balance due from document items. Stateless.
| Parameter | Type | Description |
|---|---|---|
document * | object | Document JSON with items, tax_rate, discount_amount, and optional amount_paid. |
convert_document Convert Document
Convert document details to an invoice, estimate, receipt, credit note, or refund PDF. HTTP calls can return a temporary download link.
| Parameter | Type | Description |
|---|---|---|
document * | object | Stateless input document JSON payload to transform. |
target_type * | string | Target type (invoice, receipt, estimate, credit_note, refund). |
credit_reason | string | Credit note or refund reason. |
due_days | integer | Days until payment due. |
payment_link | string | HTTPS link supplied by the user to include in the document. |
payment_qr_code | boolean | Embed SVG vector QR code. |
record_payment Create Payment Record
Create a receipt or updated invoice from supplied payment details. Does not charge or verify payment. HTTP calls can return a temporary download link.
| Parameter | Type | Description |
|---|---|---|
document * | object | Stateless input invoice JSON payload. |
amount_paid | number | Amount paid toward balance. |
paid_date | string | Payment date (YYYY-MM-DD). |
payment_method | string | Payment method (Stripe, Apple Pay, Wire). |
transaction_reference | string | Transaction reference ID. |
submit_feedback Send Pressmark feedback
Send a bug report, feature request, or general feedback to the private Pressmark inbox when the user asks. Include only details they choose to share; omit documents, passwords, and tokens.
| Parameter | Type | Description |
|---|---|---|
description * | string | |
kind * | string | |
request_id * | string | A new UUID for this report. Reuse it when retrying unchanged feedback. |
summary * | string | |
actual | string | |
expected | string | |
reply_email | string | Optional email supplied by the user for feedback follow-up. |
steps | string | |
version | string |
get_feedback_status Check feedback status
Check one Pressmark report using its report ID and private access key. Returns its review status without exposing the report text or contact details.
| Parameter | Type | Description |
|---|---|---|
access_key * | string | |
report_id * | string |