---
title: "Invoice extraction rules"
description: "Choose how Cashfeed extracts line items from your incoming invoices. Set an organisation-wide default, or add instructions when you need more control."
url: https://help.cashfeed.com/en/articles/133-invoice-extraction-rules
collection: "Settings and organisation"
updated: 2026-11-09
language: en
---

# Invoice extraction rules

Choose how Cashfeed extracts line items from your incoming invoices. Set an organisation-wide default, or add instructions when you need more control.

## Review extraction rules

Open an incoming invoice and review its saved rules in the line-items panel. Extraction rules control how Cashfeed reads the document. Booking rules control the accounting values assigned to those lines.

Supplier rules apply to that supplier. Organisation and accountant rules can also apply. Review the rules shown in the Retry dialog to see which instructions the invoice uses.

## Try a correction on one invoice

1.  Open the line-items panel and choose **Retry** from its menu.
    
2.  Describe the missing or incorrect lines.
    
3.  Untick any rule to leave it out of this attempt. The rule stays saved.
    
4.  Choose **Retry** and review the result.
    
5.  If Cashfeed offers to keep the correction as a rule, review the proposed rule before saving it.
    

A Retry that needs different lines reads the document again. A Retry that changes only accounting instructions redoes the booking. Supplier, invoice number, dates, and invoice amount stay unchanged.

## Review document limits

For a long purchase invoice, Cashfeed reads the first and last pages when the document reaches the organisation's page limit. The Retry dialog shows whether that limit applies. Contact support to change it.

A supplier can keep the original XML lines of a PEPPOL invoice. A typed Retry instruction can request a different line structure for that attempt.

## Troubleshoot unexpected lines

-   Compare the saved extraction rules with the source document.
    
-   Retry with a specific instruction describing the missing or incorrect lines.
    
-   Leave a conflicting rule out of the Retry and review the result.
    
-   Use **Undo retry** while it is available to restore the previous lines and booking.
    
-   Remove an existing accounting booking before retrying a booked invoice.
    

## See also

-   [Incoming invoices](https://help.cashfeed.com/articles/48-incoming-invoices)
    
-   [Reviewing and editing incoming invoice line items](https://help.cashfeed.com/articles/84-incoming-invoice-line-items)
    
-   [Editing incoming invoice details and suppliers](https://help.cashfeed.com/articles/83-incoming-invoice-editing-and-suppliers)
    
-   [Suppliers](https://help.cashfeed.com/articles/61-suppliers)
