--- title: quotes.pdf | Doing Work API description: A quote as a PDF (base64) in the shop's brand: logo, accent color, license number, lines, options, the written scope of work when the version has notes, and. url: https://doingwork.work/docs/reference/quotes-pdf/ --- # quotes.pdf A quote as a PDF (base64) in the shop's brand: logo, accent color, license number, lines, options, the written scope of work when the version has notes, and total. The date is in the shop's time zone (priv.shop_time_zone: the shop's own zone, otherwise its state's). The file is named Q-10.pdf from doc_no, or quote- plus the id when there is no number. An unsent draft's footer says Draft instead of Sent with Doing Work. Financing links use the signed total once the customer has signed, and the lowest option until then. The latest version unless version is given. Attach it to email or save it. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/quotes/pdf` | | MCP tool | `quotes_pdf` | | Writes | no | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it A quote as a PDF (base64) in the shop's brand: logo, accent color, license number, lines, options, the written scope of work when the version has notes, and total. The date is in the shop's time zone (priv.shop_time_zone: the shop's own zone, otherwise its state's). ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | `quote_id` | string (uuid) | yes | | `version` | integer | no | ## Example ```http GET https://doingwork.work/v1/quotes/pdf?quote_id=00000000-0000-4000-8000-000000000000 ``` ## Output | Field | Type | Always there | |---|---|---| | `quote_id` | string (uuid) | yes | | `version` | integer | yes | | `filename` | string | yes | | `content_type` | string | yes | | `bytes` | integer | yes | | `base64` | string | yes | ```json { "quote_id": "00000000-0000-4000-8000-000000000000", "version": 1, "filename": "...", "content_type": "...", "bytes": 1, "base64": "..." } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |