private byte[] buildIRSCustomDeclaration(final IRSDeclarationDTO declarationDTO, final Person person)
throws FenixActionException {
addPayedAmount(person, declarationDTO.getCivilYear(), declarationDTO);
final IRSCustomDeclaration customDeclaration = new IRSCustomDeclaration(declarationDTO);
return ReportsUtils.exportToPdfFileAsByteArray(customDeclaration.getReportTemplateKey(),
customDeclaration.getParameters(), customDeclaration.getDataSource());
}