> ## 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.

# related_document_unusable

> This document refers to a document that Transitive cannot use.

The status is **Failed**.

> **The related invoice cannot be used** `related_document_unusable`
>
> This document refers to invoice INV-1042. It was cancelled.

## What it means

A credit note refers to its invoice, and a receipt refers to the invoices that it pays. The message names the related document and the cause.

## Causes

### Not stamped

> This document refers to invoice INV-1042. It has no CFDI, or it has an open problem.

* **What to do:** Correct the related document first. This document continues when the related document has a CFDI.

### Cancelled

> This document refers to invoice INV-1042. It was cancelled.

* **What to do:** Make sure that the document refers to the correct document in CargoWise.

### Has payment complements

> This document refers to invoice INV-1042. It has valid payment complements, so Transitive cannot credit it in part.

* **What to do:** A credit note cannot credit an invoice in part after a payment. Make sure that the credit note refers to the correct invoice. Or cancel the <Tooltip tip="Payment complement. A CFDI that records a payment on a PPD invoice.">REP</Tooltip> first.

### Other fiscal profile

> This document refers to invoice INV-1042. It belongs to another fiscal profile of this organization.

* **What to do:** A document can refer only to documents of its own fiscal profile. Make sure that the CargoWise company of each document is correct.

### Tax not payable

> This document refers to invoice INV-1042. Its stamped CFDI carries a tax that a payment complement cannot carry.

* **What to do:** Make sure that the invoice is <Tooltip tip="Payment method for an invoice that the customer pays later or in parts.">PPD</Tooltip> and that its taxes are correct. A <Tooltip tip="Payment complement. A CFDI that records a payment on a PPD invoice.">REP</Tooltip> can carry only VAT and its withholdings.


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