Pressmark

v1.2.4
dev.pressmark/pressmark Checked 1 day ago Published 1 month ago

Create 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.

ParameterTypeDescription
doc_type *stringArchetype slug (invoice, receipt, residential_lease, nda, etc.).
from *objectIssuer or landlord details.
to *objectRecipient or tenant details.
compliance_modestringCompliance topic note (none, eu_vat, peppol_bis, hipaa_baa).
countystringCounty name for jurats and headers.
currencystringISO 4217 currency code.
currency_placementstringCurrency prefix or suffix placement.
currency_separatorsstringNumber separators (comma_dot, dot_comma).
currency_symbol_modestringDisplay currency symbol or ISO code.
custom_fieldsarrayCustom key-value metadata fields.
date_formatstringDate format (iso, us_slash, euro, formal_prose).
doc_numberstringDocument number. Left blank when omitted.
due_datestringPayment due date (YYYY-MM-DD).
execution_modestringSignature layout (esign, wet_ink, notarized_wet, ron).
fields_stylestringMetadata and property fields style (standard, compact_strip, ledger_table, minimal_list).
from_stylestringIssuer or landlord card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
issue_datestringIssue date (YYYY-MM-DD).
itemsarrayLine items or rent schedule.
layout_stylestringHeader layout style (standard, minimal, modern_banner, classic_letterhead, editorial_centered, split_sidebar, swiss_grid, compact_ledger, framed).
municipalitystringMunicipal profile (Chicago, Cook County, NYC, SF, Seattle, Portland).
notary_requiredbooleanAdd blank section for notary completion.
notes_stylestringNotes and instructions block style (standard, callout_card, left_accent, numbered_legal).
number_decimalsintegerDecimal places for amounts (default 2).
parties_stylestringParty cards style (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
payment_linkstringHTTPS link supplied by the user to include in the document.
payment_qr_codebooleanEmbed vector SVG QR code.
payment_stylestringStyle for payment details in the document (standard, banner, minimal_inline).
recordablebooleanEnable County Recorder 3-inch top margin.
sectionsarrayStructured legal clause sections.
sections_stylestringCustom sections and clauses style (standard, callout_card, left_accent, numbered_legal).
signature_stylestringSignature block style (standard, framed_box, formal_deed, minimal_compact).
signaturesarraySignature fields with signer names, dates, and optional signature images.
state_codestring2-letter US state or DC code.
table_stylestringLine items and rent schedule table style (standard, minimal_lines, bordered_ledger, modern_cards, compact_mono).
tax_ratenumberPercentage tax rate.
to_stylestringBilled To or tenant card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
totals_stylestringFinancial 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.

ParameterTypeDescription
doc_type *stringArchetype slug (invoice, receipt, residential_lease, nda, etc.).
from *objectIssuer or landlord details.
to *objectRecipient or tenant details.
compliance_modestringCompliance topic note (none, eu_vat, peppol_bis, hipaa_baa).
countystringCounty name for jurats and headers.
currencystringISO 4217 currency code.
currency_placementstringCurrency prefix or suffix placement.
currency_separatorsstringNumber separators (comma_dot, dot_comma).
currency_symbol_modestringDisplay currency symbol or ISO code.
custom_fieldsarrayCustom key-value metadata fields.
date_formatstringDate format (iso, us_slash, euro, formal_prose).
doc_numberstringDocument number. Left blank when omitted.
due_datestringPayment due date (YYYY-MM-DD).
execution_modestringSignature layout (esign, wet_ink, notarized_wet, ron).
fields_stylestringMetadata and property fields style (standard, compact_strip, ledger_table, minimal_list).
from_stylestringIssuer or landlord card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
issue_datestringIssue date (YYYY-MM-DD).
itemsarrayLine items or rent schedule.
layout_stylestringHeader layout style (standard, minimal, modern_banner, classic_letterhead, editorial_centered, split_sidebar, swiss_grid, compact_ledger, framed).
municipalitystringMunicipal profile (Chicago, Cook County, NYC, SF, Seattle, Portland).
notary_requiredbooleanAdd blank section for notary completion.
notes_stylestringNotes and instructions block style (standard, callout_card, left_accent, numbered_legal).
number_decimalsintegerDecimal places for amounts (default 2).
parties_stylestringParty cards style (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
payment_linkstringHTTPS link supplied by the user to include in the document.
payment_qr_codebooleanEmbed vector SVG QR code.
payment_stylestringStyle for payment details in the document (standard, banner, minimal_inline).
recordablebooleanEnable County Recorder 3-inch top margin.
sectionsarrayStructured legal clause sections.
sections_stylestringCustom sections and clauses style (standard, callout_card, left_accent, numbered_legal).
signature_stylestringSignature block style (standard, framed_box, formal_deed, minimal_compact).
signaturesarraySignature fields with signer names, dates, and optional signature images.
state_codestring2-letter US state or DC code.
table_stylestringLine items and rent schedule table style (standard, minimal_lines, bordered_ledger, modern_cards, compact_mono).
tax_ratenumberPercentage tax rate.
to_stylestringBilled To or tenant card style override (standard, badged, minimal, boxed_grid, editorial_split, stacked_banner).
totals_stylestringFinancial 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.

ParameterTypeDescription
document *objectDocument 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.

ParameterTypeDescription
document *objectStateless input document JSON payload to transform.
target_type *stringTarget type (invoice, receipt, estimate, credit_note, refund).
credit_reasonstringCredit note or refund reason.
due_daysintegerDays until payment due.
payment_linkstringHTTPS link supplied by the user to include in the document.
payment_qr_codebooleanEmbed 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.

ParameterTypeDescription
document *objectStateless input invoice JSON payload.
amount_paidnumberAmount paid toward balance.
paid_datestringPayment date (YYYY-MM-DD).
payment_methodstringPayment method (Stripe, Apple Pay, Wire).
transaction_referencestringTransaction 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.

ParameterTypeDescription
description *string
kind *string
request_id *stringA new UUID for this report. Reuse it when retrying unchanged feedback.
summary *string
actualstring
expectedstring
reply_emailstringOptional email supplied by the user for feedback follow-up.
stepsstring
versionstring

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.

ParameterTypeDescription
access_key *string
report_id *string