finaX Logo
API Reference
Getting Started

LLMs.txt for AI Tools

Use finaX e-invoice API documentation with AI assistants like Cursor, Windsurf, ChatGPT, and Claude.

What is LLMs.txt?

LLMs.txt is a structured documentation format specifically designed for large language models (LLMs). The finaX e-invoice API provides LLMs.txt files that contain comprehensive information about the API, making it easy for AI tools to understand and assist with e-invoicing development.

These files are optimized for AI consumption and contain structured information about concepts, endpoints, usage patterns, and best practices for EN16931-compliant invoice processing.

Available Routes

We provide two LLMs.txt routes to help AI tools access our documentation:

RouteDescription
/llms.txtStructured overview of all documentation pages and their links
/llms-full.txtComprehensive documentation including guides, API references, and examples

Choosing the Right File

Most users should start with /llms.txt – it contains all essential information and works with standard LLM context windows.

Use /llms-full.txt only if you need comprehensive implementation details and your AI tool supports large contexts (200K+ tokens).

Usage with AI Tools

Cursor

Cursor can directly reference the finaX e-invoice API LLMs.txt files for better AI assistance with e-invoicing development.

How to use

  1. Direct reference: Mention the LLMs.txt URL when asking questions
  2. Add to project context: Use @docs to add the URL to your workspace
@docs https://docs.finax.dev/llms.txt
Important: The @ symbol must be typed manually in Cursor. Copy-pasting breaks the tool's ability to recognize it as a context reference.

Read more about Cursor Web and Docs Search

Windsurf

Windsurf can directly access the finaX e-invoice API LLMs.txt files to understand API usage and best practices.

Using LLMs.txt with Windsurf

  • Use @docs to reference the LLMs.txt URL
  • Create persistent rules referencing the URL in your workspace

Read more about Windsurf Web and Docs Search

GitHub Copilot

GitHub Copilot can use the LLMs.txt files as context when you're working on e-invoicing projects.

How to use

  1. Custom instructions: Add the LLMs.txt URL to your Copilot custom instructions
  2. Chat context: Reference the documentation URL in Copilot Chat

ChatGPT, Claude, and Other LLMs

Any AI tool that supports reading web content or accepts documentation context can use these routes.

Example prompts

When starting a conversation about the finaX e-invoice API, provide the context:

Using the finaX API documentation from https://docs.finax.dev/llms.txt, 
help me create a valid XRechnung invoice with a negative line item.
Follow the finaX e-invoice API guidelines from https://docs.finax.dev/llms-full.txt 
to validate my invoice JSON before sending it to the API.