# Печат на книги (pechatnaknigi.com) > Print-on-demand for books in Bulgaria, from 1 to 5000 copies. Printed by Печатница НИМА (Плевен) and delivered to a BoxNow parcel locker anywhere in Bulgaria. Prices are in EUR and include 20 % VAT. An AI assistant can price a book, create the order and upload the files for the user; the user only opens the pay link and pays by card. The site is in Bulgarian; the API and this file are in English. ## How an AI agent places an order 1. Price it: `GET https://pechatnaknigi.com/api/quote?pages=120&quantity=10` (all options below have defaults). 2. Find the delivery locker: `GET https://pechatnaknigi.com/api/lockers?q=Пловдив` 3. Confirm the books, the price, the locker and the contact details with the user. 4. Create the order: `POST https://pechatnaknigi.com/api/order` (JSON, see below). Files can be public links (`file_urls`) or a multipart upload. 5. Give the user the returned `pay_url`. On that page they check the order, add files if missing, confirm they hold the rights to print them, and pay by card. Never ask the user for card details. 6. Follow it: `GET https://pechatnaknigi.com/api/status?order=ID&token=TOKEN` If you cannot send POST requests, give the user `order_url` from the quote: it opens the calculator on the site with the book already filled in. ## MCP server `https://pechatnaknigi.com/mcp` (Streamable HTTP, no login). Tools: get_print_options, quote_print_price, find_boxnow_lockers, create_print_order, add_order_files, get_order_status. Add it as a custom connector in Claude or ChatGPT, or in any MCP client. ## API OpenAPI: https://pechatnaknigi.com/openapi.json — JSON in and out, CORS open, no key. - `GET /api/options` — every option id below, page ranges per binding/format/paper, discounts, shipping. - `GET /api/quote` — one book by query parameters: pages (required), quantity, color_pages, format_id, binding_id, body_paper_id, body_finish (mat|gloss, only for premium paper), cover_paper_id, cover_color_id, lamination_id. `POST /api/quote` with `{"books":[{…},{…}]}` prices a cart (shipping counted once). - `GET /api/lockers?q=text` or `?lat=..&lng=..` — BoxNow lockers. - `POST /api/order` — body: ```json { "name": "Иван Петров", "email": "ivan@example.com", "phone": "0888123456", "locker_id": "", "books": [ {"pages": 120, "quantity": 10, "binding_id": 2, "format_id": 1, "file_urls": ["https://drive.google.com/file/d/…/view"]} ], "invoice": {"company": "…", "eik": "…", "vat": "…", "mol": "…", "address": "…"} } ``` `invoice` is optional. Instead of `file_urls` you may send multipart/form-data with the JSON in a field `order` and the files of book i in `book{i}_files[]`. Files: PDF (preferred), Word, ODT, RTF, TXT, JPG/PNG, ZIP, EPUB; up to 50 MB each, 120 MB and 20 files per order. Share links from Google Drive, Dropbox and OneDrive must be "anyone with the link". Answer: `order_id`, `token`, `amount`, `pay_url`, `status_url`. - `POST /api/files` — more files for book `book` (0-based) of an unpaid order: `order`, `token`, `book`, and `files[]` or `file_urls`. - `GET /api/status?order=&token=` — paid, in production, shipped, delivered; files per book. Errors come back as `{"success": false, "error": ""}`, e.g. `invalid pages` (outside the range for that binding/format/paper), `body finish` (premium paper needs mat or gloss), `invalid delivery` (unknown locker), `invalid contact`. ## Rules - Books total ≥ 10.00 € → BoxNow delivery free; below that 1.50 € once per order. - Up to 10 different books in one order, each with its own files and quantity; one payment, one parcel. - Pages: 16–600 in all, the exact range depends on the binding (staples suit thin books, hardcover thick ones); even numbers. - Nothing is printed before payment. Unpaid orders are deleted after 7 days. - The customer must hold the copyright or the author's permission for what is printed. ## Example prices (live) - 100 pages, A5 (14,8х21 см), Лепен гръб, 1 copy: 5.31 € per copy, 5.31 € for the books, shipping 1.50 €, total 6.81 € - 100 pages, A5 (14,8х21 см), Лепен гръб, 10 copies: 5.15 € per copy, 51.50 € for the books, shipping free, total 51.50 € - 200 pages, A5 (14,8х21 см), Лепен гръб, 50 copies: 8.15 € per copy, 407.50 € for the books, shipping free, total 407.50 € - 32 pages, A5 (14,8х21 см), Зашита с телче, 20 copies: 1.97 € per copy, 39.40 € for the books, shipping free, total 39.40 € - 200 pages, A5 (14,8х21 см), Твърда подвързия, 1 copy: 10.56 € per copy, 10.56 € for the books, shipping free, total 10.56 € ## Quantity discounts - 2–4 copies: −1 % - 5–9 copies: −2 % - 10–19 copies: −3 % - 20–29 copies: −4 % - 30–49 copies: −5 % - 50–99 copies: −10 % - 100–199 copies: −15 % - 200–9999999 copies: −20 % ## Options Formats: - 1: A5 (14,8х21 см) (default) - 2: A6 (10,5х14,8 см) - 3: A4 (21х29,7 см) - 4: 13X11 (13х11 см) - 5: 18Х18 (18х18 см) - 6: 19Х20 (19х20 см) - 7: A5 хоризонтално (21х14,8 см) - 8: A4 хоризонтално (29,7х21 см) - 9: 15Х22 (15х22 см) - 10: 16Х25 (16х25 см) - 11: 18Х24 (18х24 см) - 12: B4 (25х35,3 см) (rare size) - 13: C4 (22,9х32,4 см) (rare size) - 14: B5 (17,6х25 см) (rare size) - 15: C5 (16,2х22,9 см) (rare size) - 16: B6 (12,5х17,6 см) (rare size) - 17: C6 (11,4х16,2 см) (rare size) - 18: A6 хоризонтално (14,8х10,5 см) (rare size) Bindings: - 1: Зашита с телче (default) - 2: Лепен гръб - 3: спирала - 4: Твърда подвързия Inner paper (body_paper_id): - 1: Стандартна (80 гр.) (default) - 2: Обемна 60 гр. - 3: Премиюм (135 гр.) - 4: Рециклирана (70 гр.) - 6: Стандартна (120 гр.) Required only for body_paper 3 (premium coated paper); same price. Cover paper (cover_paper_id): - 1: 200 гр. (default) - 2: 250 гр. - 3: 300 гр. Cover print (cover_color_id): - 1: Цветна лице и гръб (default) - 3: Черно/бяла лице и гръб Cover lamination (lamination_id): - 1: Гланц (default) - 2: Мат ## Contact Chat on https://pechatnaknigi.com/ · Publishing, editing and design of books: https://izdavam.com · Printing house: https://nima.bg