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

# The related invoice has valid payments

> The related invoice has valid payment complements.

Code `parent_has_active_payments`. The status is **Failed**.

> INV-1042 has 2 valid payment complements, so Transitive cannot credit it in part. Cancel them first. Then resend this document.

## What it means

A credit note cannot credit part of an invoice that has a valid <Tooltip tip="Payment complement. A CFDI that records a payment on a PPD invoice.">REP</Tooltip>. Cancel the payment complements of the invoice first.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.