diff --git a/Ventas/PVCobranza.aspx.vb b/Ventas/PVCobranza.aspx.vb
index 0d6547e6f..7bef6a62b 100644
--- a/Ventas/PVCobranza.aspx.vb
+++ b/Ventas/PVCobranza.aspx.vb
@@ -898,7 +898,7 @@ Partial Class Ventas_PVCobranza
If respNC IsNot Nothing Then
- If respNC IsNot Nothing AndAlso respNC.Factura IsNot Nothing Then
+ If respNC IsNot Nothing AndAlso respNC.Factura IsNot Nothing AndAlso respNC.Factura.DtAnticiposAplicados IsNot Nothing Then
For Each dr As DataRow In respNC.Factura.DtAnticiposAplicados.Rows
msBuild.AppendLine($"