# Convert Invoice PDFs to Markdown for LLM Extraction

**Use case:** 

Turn an invoice PDF into structured Markdown for LLM extraction and RAG workflows. Preserves readable content; no external API key required.

## Input

```json
{
  "sources": [
    "https://slicedinvoices.com/pdf/wordpress-pdf-invoice-plugin-sample.pdf"
  ],
  "maxPages": 8,
  "integrationSource": "apify-store"
}
```

## Output

```json
{
  "url": {
    "label": "Source",
    "format": "link"
  },
  "integrationSource": {
    "label": "Attribution route"
  },
  "pages": {
    "label": "Pages"
  },
  "char_count": {
    "label": "Characters"
  },
  "markdown": {
    "label": "Markdown"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [PDF to Markdown for RAG & LLMs — Tables](https://apify.com/vivid_astronaut/pdf-to-markdown-for-rag) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vivid_astronaut/pdf-to-markdown-for-rag) to learn more, explore other use cases, and run it yourself.