TL;DR — Quick Summary

Fix CFDI payment supplement (REP) errors in Aspel SAE: wrong UUID, PPD method, exchange rate, installment count, and PAC rejection codes explained.

When recording a payment against a Mexican invoice in Aspel SAE and generating the CFDI payment supplement (also called REP — Recepción de Pagos), errors such as “Error stamping the payment supplement”, “The related invoice UUID is not valid”, or “The previous balance does not match” are common. These errors block the issuance of the required document and can result in SAT penalties if unresolved.

The Error

The most common payment supplement errors in Aspel SAE appear as PAC (Authorized Certification Provider) messages at stamp time:

  • “Error CFDI33102: The UUID attribute does not exist in the SAT database” — the related CFDI fiscal folio is not recognized.
  • “Error CFDI33103: The related document has already been fully paid” — a supplement is being generated against a fully settled invoice.
  • “Error CFDI40180: The installment number is not the next consecutive value” — the NúmParcialidad field does not match the expected sequence.
  • “Previous balance does not match” — the ImpSaldoAnt differs from the ImpSaldoInsoluto of the preceding supplement.
  • “Timeout connecting to PAC server” — a transient communication issue.
  • “Payment form not valid for supplement” — the original invoice uses PUE method, not PPD.

These errors occur in Aspel SAE 9.0 and earlier versions, regardless of which certified PAC is used (Edicom, Finkok, Solucion Factible, etc.).

Root Cause

Payment supplement version 2.0 (mandatory since January 2022) requires that the data in the Pago and DoctoRelacionado nodes be mathematically consistent with the full payment history of the related income CFDI. The most frequent causes of errors are:

  1. Wrong payment method on the original invoice. The invoice must have payment method PPD and payment form 99 to support a REP. PUE invoices cannot have supplements generated.
  2. Incorrect or cancelled UUID. The UUID in DoctoRelacionado must refer to a valid, active income CFDI — not cancelled or substituted.
  3. Wrong previous balance (ImpSaldoAnt). For the first supplement this must equal the full invoice amount. For subsequent supplements it must equal the ImpSaldoInsoluto from the prior supplement.
  4. Wrong installment number (NúmParcialidad). The first payment is installment 1, the second is 2, and so on. A cancelled or duplicate payment can desynchronize Aspel’s counter.
  5. Missing or incorrect exchange rate. If the invoice was in foreign currency (USD, EUR), the supplement requires the DOF exchange rate for the day of payment.
  6. Invoice already fully paid. If prior payments already cover the full invoice amount, the SAT will reject any new supplements.

Step-by-Step Solution

Step 1 — Verify the Original Invoice Payment Method

Before generating the supplement, confirm in Aspel SAE that the income invoice has:

  • Payment Method: PPD
  • Payment Form: 99 (To be defined)

If the invoice was issued as PUE, the correct path is to cancel it and reissue it as PPD. See Aspel SAE: Error When Substituting and Reissuing a Cancelled CFDI for cancellation steps.

Step 2 — Record the Collection in Accounts Receivable

In Aspel SAE:

  1. Go to Accounts Receivable → Collections.
  2. Select the pending PPD invoice.
  3. Enter the amount paid, the exact date the payment was received, and the actual payment form (03 Electronic transfer, 01 Cash, 02 Nominal check, etc.).
  4. If payment was in foreign currency, enter the DOF exchange rate for that day.
  5. Save the record.

Step 3 — Generate the Payment CFDI (REP)

  1. In the collections list, select the newly recorded payment.
  2. Click Generate Payment CFDI (button name may vary by SAE version).
  3. Aspel will automatically populate the DoctoRelacionado node with the original invoice UUID, currency, exchange rate, installment number, and balance fields.
  4. Review each field before proceeding to stamp.

Step 4 — Verify Critical REP Fields

Before stamping, check in the XML preview:

FieldWhat to Verify
UUID (DoctoRelacionado)Matches the fiscal folio of the original invoice
NúmParcialidadIs the next consecutive installment number
ImpSaldoAntEquals invoice total (1st payment) or prior REP’s ImpSaldoInsoluto
ImpPagadoExact amount received in this payment
ImpSaldoInsolutoImpSaldoAnt − ImpPagado (must compute correctly)
TipoCambioPDOF exchange rate on payment date (foreign currency only)

Step 5 — Stamp and Resolve PAC Errors

Click Stamp. If the PAC returns an error:

  • CFDI33102 / CFDI40194 (UUID not recognized): The original invoice fiscal folio does not exist in the SAT. Verify that the original invoice was stamped successfully and that you copied the complete UUID.
  • CFDI33103 (invoice already paid): Review the supplement history in Aspel. If all prior payments already cover the total, no more supplements should be issued.
  • CFDI40180 (wrong installment number): Check how many prior supplements exist for that invoice and adjust NúmParcialidad manually if Aspel allows it, or contact Aspel support.
  • PAC Timeout: Wait 5 minutes and retry. If it persists, check your internet connection and the PAC status page.

Alternative Solution

If Aspel SAE cannot generate the supplement correctly (e.g., due to corrupted historical data), you can generate it directly in the PAC web portal:

  1. Log in to your PAC portal (e.g., Edicom, Finkok, Solucion Factible).
  2. Select “Payment Supplement” or “REP” in the issuance menu.
  3. Manually enter the data: UUID of the related CFDI, installment number, previous balance, amount paid, and exchange rate if applicable.
  4. Download the stamped XML and PDF.
  5. Import the XML into Aspel SAE’s history if your version supports it, or store it in your records.

This alternative is useful when the error originates from an Aspel bug rather than from the document data itself.

Prevention

  • Issue invoices as PPD from the start whenever you know payment will come later or in installments. Changing from PUE to PPD requires cancellation and reissuance.
  • Record collections the same day you receive payment. This ensures the correct DOF exchange rate is used and avoids confusion about previous balances.
  • Track supplements per invoice. Aspel SAE displays the payment history on the invoice detail screen. Review it before generating a new supplement.
  • Keep Aspel SAE and SAT catalogs up to date. The SAT updates catalogs for payment forms, currencies, and tax regimes. An outdated version can trigger unexpected rejections.
  • Do not cancel intermediate supplements without coordination. Cancelling supplement 2 (for example) will make the previous-balance fields of supplement 3 and onward mathematically inconsistent.

Payment Supplement Covering Multiple Invoices

A single REP can cover payments against multiple PPD invoices from the same client. In Aspel SAE, when recording the collection, you can associate the payment with multiple invoices. The supplement will generate one DoctoRelacionado node per invoice. Verify that the previous balances and installment numbers are correct for each one.

Error Due to Version 1.0 Supplement (Obsolete)

Since January 2022, payment supplement version 1.0 is no longer valid. If your version of Aspel SAE generates version 1.0 supplements, update immediately. Versions prior to SAE 9.0 may not support the 2.0 format.

Supplement Rejected Due to Issuer or Recipient RFC

If the issuer or recipient RFC changed (company reactivation, correction), the SAT may reject the supplement even if the UUID is valid. Ensure the RFC on the active CSD matches the issuer RFC on the original invoice.

Summary

  • CFDI payment supplements (REP) apply only to invoices issued with payment method PPD.
  • The UUID in DoctoRelacionado must exactly match the fiscal folio of the original income invoice.
  • ImpSaldoAnt, NúmParcialidad, and ImpSaldoInsoluto must be mathematically consistent with the full payment history.
  • For foreign-currency payments, use the DOF exchange rate for the day of payment.
  • If the PAC returns an error code, identify it in the common errors list and correct before retrying.
  • As a fallback, generate the supplement directly in the PAC portal if Aspel has historical data inconsistencies.