# convertofficedocument: Convert Office Document

> convertofficedocument (Convert Office Document) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/convertofficedocument, 3 credits per call. It works as a ready-made module in n8n or as a plain HTTP call.

Converts an Office document (Word, Excel, PowerPoint, OpenDocument) into a PDF.

- Group: Files & PDF
- Endpoint: `POST https://api.1001fx.com/files/convertofficedocument`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 3 credits per call
- Ready-made in: n8n
- Docs: https://1001fx.com/functions/convertofficedocument

## Parameters

- `file` (file, required) – Office file: Office file to be converted to pdf.

## Use cases

- Convert Word offers to PDF before you send them to customers
- Archive Excel reports as PDF in a document management system
- Turn PowerPoint slides into a PDF handout

## FAQ

**Which file types can I convert?**

Office documents such as Word (DOCX), Excel (XLSX), PowerPoint (PPTX) and OpenDocument (ODT) files. The result is always a PDF.

**How do I pass the file?**

Upload it as multipart/form-data in the field file, for example the binary data from a previous download step in n8n.
