> ## Documentation Index
> Fetch the complete documentation index at: https://docs.syntage.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoice payments

Invoice payments are derived from payment receipt CFDIs, also known as type `P` invoices. A payment receipt records payment activity for a previously issued deferred invoice.

Each payment belongs to a [batch payment](/api-reference/ds-mx-sat-invoice-batch-payments) and the invoice it was applied to. Syntage updates the related invoice's `paidAmount`, `dueAmount`, and `fullyPaidAt` fields based on the received payments.

Invoice payments are extracted from invoice data. To retrieve them, run an [`invoice` extraction](/resources/datasources/sat/invoices#extracting-invoice-data) for the entity and include payment receipt CFDIs by keeping type `P` invoices in the extraction options.
