PDFConversionAPI · Schema

XlsxToPdfForm

The form for `xlsx/to/pdf`, `xls/to/pdf`, `xlsb/to/pdf`, `ods/to/pdf`: the parameters listed on https://pdfconversionapi.com/convert/xlsx-to-pdf. Other parameters are sent as text.

CompanyPDFConversionDevelopers

Properties

Name Type Description
File string The file to convert. Its name becomes the output's name, with the new extension.
WorksheetName string Print only this sheet; the name is matched without regard to case. `WorksheetName=Orders` returned the sample's 2 Orders pages. A name the workbook doesn't have returns 400 "no worksheet named 'Nope'"
WorksheetIndex integer Print only the sheet at this position in the tab order, hidden sheets included: 2 is Orders, and 3 prints the hidden Rates sheet on its own A4 page. A number past the last sheet returns 400 "Worksheet
ActiveWorksheetOnly boolean Print only the sheet that was open when the file was saved. For the sample that is Summary, a single landscape page.
PageSize string Paper for every printed sheet, replacing the size saved in the file; each sheet keeps its orientation. `PageSize=a4` printed the Summary page at 11.69 × 8.27 in and the Orders pages at 8.27 × 11.69 in
PageOrientation string Turns every printed sheet. `landscape` laid Orders out on 3 wide pages instead of 2 tall ones; `portrait` stood the Summary page upright.
Scale integer Print every sheet at this percentage instead of the scaling saved in the file. It switches off a sheet's saved fit-to-page setting: at 50, the sample's Summary table took half the page width it fills
FitToPage boolean Shrink each sheet to one page wide, with as many pages down as it needs. A 150-row, 12-column test sheet whose last columns spilled onto pages of their own went from 8 pages to 3, all of them A4. The
HeaderOnEachPage boolean Repeat the first row that holds data at the top of every page. On our 150-row test sheet, page 2 then began with the header row. The sample's Orders sheet already repeats its header through the file's
ClearPrintArea boolean Ignore print areas saved in the sheets and print every used cell. A test sheet with a print area of A1:C20 printed 1 page by default and 8 with this option.
ThousandsSeparator string `.` prints numbers as 1.234,56, with a comma as the decimal separator, so `DecimalSeparator` can be left out. In the sample, Bend's Q3 total printed as $429.530 instead of $429,530, and its change as
DecimalSeparator string `,` prints decimals with a comma and groups thousands with a dot, the same as `ThousandsSeparator=.`. A comma with any thousands separator other than `.` returns 400 for now. Values: `.`, `,`. Default
DateFormat string Changes dates shown in the standard short date, and date with time. In a test workbook, 11/13/2026 14:05 printed as 2026-11-13 14:05 with `iso`, 13/11/2026 14:05 with `eu`, 13.11.2026 14:05 with `germ
PageRange string Pages to keep, counted in the finished PDF across all sheets. In the sample, Summary is page 1 and Orders is pages 2 and 3. A range may end past the last page, so `1-10` returns all 3 pages, but a pag
Pdfa boolean Write the PDF as PDF/A-1b. For 2b or 3b, use `PdfaVersion`.
PdfaVersion string Choose the PDF/A version instead. Sent together with `Pdfa=true`, `PdfaVersion` decides: the pair with `pdfA2b` gave PDF/A-2b. A `PageRange` that leaves pages out can't be combined with either one, bu
IncludeMetadata boolean `false` leaves the document's title, author, subject and keywords out of the PDF, in the document information and the XMP metadata alike. The sample's author entry is gone with `false`; it works with
Password string Opens a workbook saved with a password to open, as Excel 2010 and later encrypt it. A protected copy of the sample gave the same 3 pages. Files using Office 2007's older encryption return 422. Sent wi
FileName string Base name for the PDF. Without it, `store-sales-q3.xlsx` becomes `store-sales-q3.pdf`.
StoreFile boolean Keep the PDF on our side and answer with a link to it instead of the file. Links expire 3 hours after the conversion.
View JSON Schema on GitHub

JSON Schema

pdfconversionapi-com-xlsx-to-pdf-form-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pdfconversionapi-com/json-schema/pdfconversionapi-com-xlsx-to-pdf-form-schema.json",
  "title": "XlsxToPdfForm",
  "description": "The form for `xlsx/to/pdf`, `xls/to/pdf`, `xlsb/to/pdf`, `ods/to/pdf`: the parameters listed on https://pdfconversionapi.com/convert/xlsx-to-pdf. Other parameters are sent as text.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pdfconversionapi-com-openapi.json#/components/schemas/XlsxToPdfForm",
  "type": "object",
  "required": [
    "File"
  ],
  "properties": {
    "File": {
      "type": "string",
      "format": "binary",
      "contentMediaType": "application/octet-stream",
      "description": "The file to convert. Its name becomes the output's name, with the new extension."
    },
    "WorksheetName": {
      "type": "string",
      "description": "Print only this sheet; the name is matched without regard to case. `WorksheetName=Orders` returned the sample's 2 Orders pages. A name the workbook doesn't have returns 400 \"no worksheet named 'Nope'\", and sending it together with `WorksheetIndex` returns 400."
    },
    "WorksheetIndex": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2000,
      "description": "Print only the sheet at this position in the tab order, hidden sheets included: 2 is Orders, and 3 prints the hidden Rates sheet on its own A4 page. A number past the last sheet returns 400 \"WorksheetIndex is 4, but the workbook has 3 worksheets\"."
    },
    "ActiveWorksheetOnly": {
      "type": "boolean",
      "default": false,
      "description": "Print only the sheet that was open when the file was saved. For the sample that is Summary, a single landscape page."
    },
    "PageSize": {
      "type": "string",
      "enum": [
        "letter",
        "legal",
        "tabloid",
        "ledger",
        "executive",
        "statement",
        "a3",
        "a4",
        "a5",
        "b4",
        "b5",
        "default"
      ],
      "default": "default",
      "description": "Paper for every printed sheet, replacing the size saved in the file; each sheet keeps its orientation. `PageSize=a4` printed the Summary page at 11.69 × 8.27 in and the Orders pages at 8.27 × 11.69 in."
    },
    "PageOrientation": {
      "type": "string",
      "enum": [
        "default",
        "portrait",
        "landscape"
      ],
      "default": "default",
      "description": "Turns every printed sheet. `landscape` laid Orders out on 3 wide pages instead of 2 tall ones; `portrait` stood the Summary page upright."
    },
    "Scale": {
      "type": "integer",
      "minimum": 10,
      "maximum": 300,
      "description": "Print every sheet at this percentage instead of the scaling saved in the file. It switches off a sheet's saved fit-to-page setting: at 50, the sample's Summary table took half the page width it fills by default.\n\nValues: 10–300 (percent)."
    },
    "FitToPage": {
      "type": "boolean",
      "default": false,
      "description": "Shrink each sheet to one page wide, with as many pages down as it needs. A 150-row, 12-column test sheet whose last columns spilled onto pages of their own went from 8 pages to 3, all of them A4. The sample's sheets already fit their width, so nothing changes there."
    },
    "HeaderOnEachPage": {
      "type": "boolean",
      "default": false,
      "description": "Repeat the first row that holds data at the top of every page. On our 150-row test sheet, page 2 then began with the header row. The sample's Orders sheet already repeats its header through the file's print titles."
    },
    "ClearPrintArea": {
      "type": "boolean",
      "default": false,
      "description": "Ignore print areas saved in the sheets and print every used cell. A test sheet with a print area of A1:C20 printed 1 page by default and 8 with this option."
    },
    "ThousandsSeparator": {
      "type": "string",
      "description": "`.` prints numbers as 1.234,56, with a comma as the decimal separator, so `DecimalSeparator` can be left out. In the sample, Bend's Q3 total printed as $429.530 instead of $429,530, and its change as 4,2%. Currency signs, dates and TRUE/FALSE keep their US form. Other separators, such as a space, return 400 for now.\n\nValues: `,`, `.`.\n\nDefault: ,."
    },
    "DecimalSeparator": {
      "type": "string",
      "description": "`,` prints decimals with a comma and groups thousands with a dot, the same as `ThousandsSeparator=.`. A comma with any thousands separator other than `.` returns 400 for now.\n\nValues: `.`, `,`.\n\nDefault: .."
    },
    "DateFormat": {
      "type": "string",
      "enum": [
        "us",
        "iso",
        "eu",
        "german",
        "japanese"
      ],
      "default": "us",
      "description": "Changes dates shown in the standard short date, and date with time. In a test workbook, 11/13/2026 14:05 printed as 2026-11-13 14:05 with `iso`, 13/11/2026 14:05 with `eu`, 13.11.2026 14:05 with `german` and 2026/11/13 14:05 with `japanese`. Dates the file formats its own way keep that format. The sample has no dates, so it prints the same."
    },
    "PageRange": {
      "type": "string",
      "description": "Pages to keep, counted in the finished PDF across all sheets. In the sample, Summary is page 1 and Orders is pages 2 and 3. A range may end past the last page, so `1-10` returns all 3 pages, but a page that doesn't exist, such as `5`, returns 400 with the real page count.\n\nValues: e.g. `1-3,5`, `2-` or `2-last`."
    },
    "Pdfa": {
      "type": "boolean",
      "default": false,
      "description": "Write the PDF as PDF/A-1b. For 2b or 3b, use `PdfaVersion`."
    },
    "PdfaVersion": {
      "type": "string",
      "enum": [
        "none",
        "pdfA1b",
        "pdfA2b",
        "pdfA3b"
      ],
      "default": "none",
      "description": "Choose the PDF/A version instead. Sent together with `Pdfa=true`, `PdfaVersion` decides: the pair with `pdfA2b` gave PDF/A-2b. A `PageRange` that leaves pages out can't be combined with either one, but `WorksheetName` can: `WorksheetName=Orders` with `PdfaVersion=pdfA2b` returned the 2 Orders pages as PDF/A-2b."
    },
    "IncludeMetadata": {
      "type": "boolean",
      "default": true,
      "description": "`false` leaves the document's title, author, subject and keywords out of the PDF, in the document information and the XMP metadata alike. The sample's author entry is gone with `false`; it works with `Pdfa` too."
    },
    "Password": {
      "type": "string",
      "description": "Opens a workbook saved with a password to open, as Excel 2010 and later encrypt it. A protected copy of the sample gave the same 3 pages. Files using Office 2007's older encryption return 422. Sent with a workbook that has no password, it changes nothing."
    },
    "FileName": {
      "type": "string",
      "description": "Base name for the PDF. Without it, `store-sales-q3.xlsx` becomes `store-sales-q3.pdf`."
    },
    "StoreFile": {
      "type": "boolean",
      "default": false,
      "description": "Keep the PDF on our side and answer with a link to it instead of the file. Links expire 3 hours after the conversion."
    }
  },
  "additionalProperties": {
    "type": "string"
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pdfconversionapi-com-xlsx-to-pdf-form"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.