Hola starlet¡¡
lo resuelves poniendo...
Código Delphi
[-]
subsanacion:=True;
rechazoprevioNOExiste:=True;
al poner rechazoprevioNOExiste a True, la unit uVerifactuFuncs le asigna el valor 'X' a rechazoprevio en el XML.
Código Delphi
[-]
if facturaRegistro.subsanacion then
Factura.RegistroAlta.Subsanacion:=SubsanacionType.S;
if facturaRegistro.rechazoPrevioExiste then
Factura.RegistroAlta.RechazoPrevio:=RechazoPrevioType.S;
if facturaRegistro.rechazoPrevioNoExiste then
Factura.RegistroAlta.RechazoPrevio:=RechazoPrevioType.X;