Runs on 2026-11-27, containers on an arm64 Mac. n8n 2.49.7 (n8nio/n8n:latest, image created 2026-11-26), workflows imported
and run with `n8n import:workflow` and `n8n execute --rawOutput`. Our API: a local container built from the same source as
the hosted API. Gotenberg 8.40.0 (LibreOffice 26.8.2.2): 692.0 MB compressed download (linux/arm64 manifest), 1,645 MB on
disk (du of the container's file system), 138.5 MiB memory after the runs (docker stats).

=== workflows/test-final.json (the page's workflow, local address): status success
startedAt 2026-11-27T06:13:54.944Z, stoppedAt 2026-11-27T06:13:55.310Z (0.37 s for three files)
outputs: field-service-handbook.pdf 43134, quarterly-report.pdf 82830, supply-agreement-draft.pdf 36177
SHA-256 against the PHP guide's curl outputs (same API build): contract and handbook identical; the report differs only in
CreationDate/ModDate, the XMP dates and the document ID.

=== One file at a time: the four variants against the stand-in (1.5 s per conversion)
=== variant a
Successfully imported 1 workflow.
"status": "error"
"startedAt": "2026-11-27T05:53:35.466Z"
"stoppedAt": "2026-11-27T05:53:37.112Z"
      2 "message": "The service is receiving too many requests from you"
      2 "description": "the free plan runs 1 conversion at a time; wait for the one running to finish"
The service is receiving too many requests from you
server saw:
   [(0.0, 429), (0.0, 429), (0.0, 200)]
PDFs:        0
=== variant b
Successfully imported 1 workflow.
"status": "error"
"startedAt": "2026-11-27T05:53:43.416Z"
"stoppedAt": "2026-11-27T05:53:58.139Z"
      2 "message": "The service is receiving too many requests from you"
      2 "description": "the free plan runs 1 conversion at a time; wait for the one running to finish"
The service is receiving too many requests from you
server saw:
   [(0.0, 429), (0.0, 429), (0.0, 200), (6.6, 429), (6.6, 429), (6.6, 200), (13.1, 429), (13.1, 429), (13.1, 200)]
PDFs:        0
=== variant c
Successfully imported 1 workflow.
"status": "success"
"startedAt": "2026-11-27T05:54:04.943Z"
"stoppedAt": "2026-11-27T05:54:10.628Z"
  "status": "success",
  "finished": true
}
server saw:
   [(0.0, 200), (2.0, 200), (4.0, 200)]
PDFs:        3
=== variant d
Successfully imported 1 workflow.
"status": "success"
"startedAt": "2026-11-27T05:54:18.238Z"
"stoppedAt": "2026-11-27T05:54:23.012Z"
  "status": "success",
  "finished": true
}
server saw:
   [(0.0, 200), (1.6, 200), (3.2, 200)]
PDFs:        3

=== Errors (local API)
Successfully imported 1 credential.
--- test-word-to-pdf.json
Successfully imported 1 workflow.
"status": "success"
"startedAt": "2026-11-27T05:55:00.837Z"
"stoppedAt": "2026-11-27T05:55:01.155Z"
--- err-pagerange.json
Successfully imported 1 workflow.
"status": "error"
"startedAt": "2026-11-27T05:55:06.492Z"
"stoppedAt": "2026-11-27T05:55:06.598Z"
"description": "PageRange is not supported yet for DOCX → PDF"
"httpCode": "400"
"message": "Bad request - please check your parameters"
--- err-wrongkey.json
Successfully imported 1 workflow.
"status": "error"
"startedAt": "2026-11-27T05:55:11.546Z"
"stoppedAt": "2026-11-27T05:55:11.622Z"
"description": "a valid API key is required (Authorization: Bearer <key>)"
"httpCode": "401"
"message": "Authorization failed - please check your credentials"

=== Gotenberg from n8n (all three items at once)
Successfully imported 1 workflow.
"status": "success"
"startedAt": "2026-11-27T06:11:54.050Z"
"stoppedAt": "2026-11-27T06:11:55.366Z"
outputs: field-service-handbook.pdf 50001, quarterly-report.pdf 80362, supply-agreement-draft.pdf 35906
curl timings, POST /forms/libreoffice/convert:
gotenberg quarterly-report run 1: 0.29 s; run 2: 0.17 s
gotenberg supply-agreement-draft run 1: 0.11 s; run 2: 0.10 s
gotenberg field-service-handbook run 1: 0.12 s; run 2: 0.11 s
handbook table of contents: Gotenberg shows the new "2 Installing the unit"; our API without UpdateFields keeps the saved "2 Setup"

=== python3 compare.py outputs api gotenberg
######## api
  quarterly-report: 3 pages, 612x792 pt; fonts ['DejaVuSans', 'LiberationSans-Bold', 'LiberationSerif', 'LiberationSerif-Bold', 'LiberationSerif-Italic']; bookmarks 5; producer 'PDF Conversion API'; 82830 bytes
    images: 1; first line: 'Q3 2026 Operations Report'
  supply-agreement-draft: 1 pages, 612x792 pt; fonts ['Caladea-Bold', 'Caladea-Regular', 'Carlito-Bold', 'Carlito-Regular']; bookmarks 3; producer 'PDF Conversion API'; 36177 bytes
    phrases: ['eighteen months', 'within 45']
  field-service-handbook: 6 pages, 612x792 pt; fonts ['Caladea-Bold', 'Caladea-Regular', 'Carlito-Regular']; bookmarks 14; producer 'PDF Conversion API'; 43134 bytes
######## gotenberg
  quarterly-report: 3 pages, 612x792 pt; fonts ['LiberationSans-Bold', 'LiberationSerif', 'LiberationSerif-Bold', 'LiberationSerif-Italic', 'OpenSymbol']; bookmarks 5; producer 'LibreOffice 26.8.2.2 (AARCH64)'; 80362 bytes
    images: 3; first line: 'Q3 2026 Operations Report'
  supply-agreement-draft: 1 pages, 612x792 pt; fonts ['Caladea-Bold', 'Caladea-Regular', 'Carlito-Bold', 'Carlito-Regular']; bookmarks 3; producer 'LibreOffice 26.8.2.2 (AARCH64)'; 35906 bytes
    phrases: ['The buyer may pay by check', 'twelve', 'eighteen months']
  field-service-handbook: 6 pages, 612x792 pt; fonts ['Caladea-Bold', 'Caladea-Regular', 'Carlito-Regular']; bookmarks 14; producer 'LibreOffice 26.8.2.2 (AARCH64)'; 50001 bytes
