Which version of the SEPA message did you use?
Anyway, it is strange to have an error message about VAT for SEPA.
Block B: Group Header Elements
A SEPA XML file includes one group header. The group header must be present in the file. Elements for the group header are:
Tag Description XML tag Source of Data Comments Message identification <MsgId> The system generates an internal identification that consists of the company number, bank account number, and next number (74/01). Maximum of 35 characters. Creation date and time <CreDtTm> The system generates a date and time stamp at the time of formatting of the message. The format is YYYY-MM-DDThh:mm:ss Number of transactions <NbOfTxs> The system provides the total number of credit transfer transaction blocks in the message. For example, if a message contains 1 group header, 1 payment information block and 4 credit transfer information blocks. In this case the number of transactions will set to 4.
Maximum of 15 numeric characters. Control sum <CtrlSum> The system provides the total of all individual euro amounts included in the message. None Initiating party name <Nm> The system prints the mailing name of the company that pays the voucher. The system gets this information from the Address by Date table (F0116). Maximum of 70 characters. Initiating party organization ID <Id> This system uses the tax ID of company address number. None Initiating party identification issuer <Issr> The system uses the value in the Initiating Party Identification Issuer processing option to determine the initiating party issuer. If you leave this processing option blank, the system does not display this tag on the report.
But
you must know that even if there is a official standard for SEPA, banks
tend to diverge from this standard. So it will be good to have the
documentation of your bank about their expected format.
Could be great if you can share the file. If it contains personal data, feel free to anonimize it :)The XML file does not fit the scheme linked <-> "El fichero XML no se ajusta al esquema vinculado"
Probably this program is not addapted to SEPA as sepa files are XML file. Maybe it generates old spanish bank files (Norma19) which are TXT files.I'm trying with the program of the bank but it generates only txt files
this is part of norm 19.14, according to the norm the fields [1..1] are required and the field <Id> is set by the bank.
ANEXO 1- MENSAJE DE PRESENTACIÓN DE ADEUDOS DIRECTOS SEPAESQUEMA BÁSICO (pain.008.001.02)1. Organización del ficheroRaíz del mensajeÍndice Ocurrencias Nombre Etiqueta XML Longitud[1..1] + Raíz del mensaje <CstmrDrctDbtInitn>CabeceraÍndice Ocurrencias Nombre Etiqueta XML Longitud1.0 [1..1] + Cabecera <GrpHdr>1.1 [1..1] ++ Identificación del mensaje <MsgId> 351.2 [1..1] ++ Fecha y hora de creación <CreDtTm> 191.6 [1..1] ++ Número de operaciones <NbOfTxs> 151.7 [0..1] ++ Control de suma <CtrlSum> 181.8 [1..1] ++ Parte iniciadora <InitgPty>1.8 [0..1] +++ Nombre <Nm> 701.8 [0..1] +++ Identificación <Id>1.8 [1..1]{Or ++++ Persona jurídica <OrgId>[0..1] +++++ BIC o BEI <BICOrBEI> 11[0..n] +++++ Otra <Othr>[1..1] ++++++ Identificación <Id> 35[0..1] ++++++ Nombre del esquema <SchmeNm>[1..1]{{Or +++++++ Código <Cd> 4[1..1]Or}} +++++++ Propietario <Prtry> 35[0..1] ++++++ Emisor <Issr> 351.8 [1..1]Or} ++++ Persona física <PrvtId>[0..1] +++++ Fecha y lugar de nacimiento <DtAndPlcOfBirth>[1..1] ++++++ Fecha de nacimiento <BirthDt> 8[0..1] ++++++ Provincia de nacimiento <PrvcOfBirth> 35[1..1] ++++++ Ciudad de nacimiento <CityOfBirth> 35[1..1] ++++++ País de nacimiento <CtryOfBirth> 2[0..1] +++++ Otra <Othr>[1..1] ++++++ Identificación <Id> 35[0..1] ++++++ Nombre del esquema <SchmeNm>[1..1]{{Or +++++++ Código <Cd> 4[1..1] Or}} +++++++ Propietario <Prtry> 35[0..1] ++++++ Emisor <Issr> 3519Información del pagoÍndice Ocurrencias Nombre Etiqueta XML Longitud2.0 [1..n] + Información del pago <PmtInf>2.1 [1..1] ++ Identificación de la información del pago <PmtInfId> 352.2 [1..1] ++ Método de pago <PmtMtd> 22.3 [0..1] ++ Indicador de apunte en cuenta <BtchBookg> 52.4 [0..1] ++ Número de operaciones <NbOfTxs> 152.5 [0..1] ++ Control de suma <CtrlSum> 182.6 [0..1] ++ Información del tipo de pago <PmtTpInf>2.8 [0..1] +++ Nivel de servicio <SvcLvl>2.9 [1..1] ++++ Código <Cd> 42.11 [0..1] +++ Instrumento local <LclInstrm>2.12 [1..1] ++++ Código <Cd> 352.14 [0..1] +++ Tipo de secuencia <SeqTp> 42.15 [0..1] +++ Categoría del propósito <CtgyPurp>2.16 [1..1] {Or ++++ Código <Cd> 42.17 [1..1] Or} ++++ Propietario <Prtry> 352.18 [1..1] ++ Fecha de cobro <ReqdColltnDt> 82.19 [1..1] ++ Acreedor <Cdtr>2.19 [0..1] +++ Nombre <Nm> 702.19 [0..1] +++ Dirección postal <PstlAdr>2.19 [0..1] ++++ País <Ctry> 22.19 [0..2] ++++ Dirección en texto libre <AdrLine> 702.20 [1..1] ++ Cuenta del acreedor <CdtrAcct>2.20 [1..1] +++ Identificación <Id>[1..1] ++++ IBAN <IBAN> 342.20 [0..1] +++ Moneda <Ccy> 32.21 [1..1] ++ Entidad del acreedor <CdtrAgt>[1..1] +++ Identificación de la entidad <FinInstnId>[1..1] ++++ BIC <BIC> 112.23 [0..1] ++ Último acreedor <UltmtCdtr>2.23 [0..1] +++ Nombre <Nm> 702.23 [0..1] +++ Identificación <Id>2.23 [1..1]{Or ++++ Persona jurídica <OrgId>[0..1] +++++ BIC o BEI <BICOrBEI> 11[0..1] +++++ Otra <Othr>[1..1] ++++++ Identificación <Id> 35 20[0..1] ++++++ Nombre del esquema <SchmeNm>[1..1]{{Or +++++++ Código <Cd> 4[1..1]Or}} +++++++ Propietario <Prtry> 35[0..1] ++++++ Emisor <Issr> 352.23 [1..1]Or} ++++ Persona física <PrvtId>[0..1] +++++ Fecha y lugar de nacimiento <DtAndPlcOfBirth>[1..1] ++++++ Fecha de nacimiento <BirthDt> 8[0..1] ++++++ Provincia de nacimiento <PrvcOfBirth> 35[1..1] ++++++ Ciudad de nacimiento <CityOfBirth> 35[1..1] ++++++ País de nacimiento <CtryOfBirth> 2[0..1] +++++ Otra <Othr>[1..1] ++++++ Identificación <Id> 35[0..1] ++++++ Nombre del esquema <SchmeNm>[1..1]{{Or +++++++ Código <Cd> 4[1..1] Or}} +++++++ Propietario <Prtry> 35[0..1] ++++++ Emisor <Issr> 352.24 [0..1] ++ Cláusula de gastos <ChrgBr> 42.27 [0..1] ++ Identificación del acreedor <CdtrSchmeId>2.27 [1..1] +++ Identificación <Id>2.27 [1..1] ++++ Identificación privada <PrvtId>2.27 [1..1] +++++ Otra <Othr>[1..1] ++++++ Identificación <Id> 35[1..1] ++++++ Nombre del esquema <SchmeNm>[1..1] +++++++ Propietario <Prtry> 352.28 [1..n] ++ Información de la operación de adeudodirecto <DrctDbtTxInf>2.29 [1..1] +++ Identificación del pago <PmtId>2.30 [0..1] ++++ Identificación de la instrucción <InstrId> 352.31 [1..1] ++++ Identificación de extremo a extremo <EndToEndId> 352.44 [1..1] +++ Importe ordenado <InstdAmt> 122.45 [0..1] +++ Cláusula de gastos <ChrgBr> 42.46 [0..1] +++ Operación de adeudo directo <DrctDbtTx>2.47 [0..1] ++++ Información del mandato <MndtRltdInf>2.48 [0..1] +++++ Identificación del mandato <MndtId> 352.49 [0..1] +++++ Fecha de firma <DtOfSgntr> 82.50 [0..1] +++++ Indicador de modificación <AmdmntInd> 52.51 [0..1] +++++ Detalles de la modificación <AmdmntInfDtls>2.52 [0..1] ++++++ Identificación del mandato original <OrgnlMndtId> 352.53 [0..1] ++++++ Identificación del acreedor original <OrgnlCdtrSchmeId>2.53 [0..1] +++++++ Nombre <Nm> 70 212.53 [1..1] +++++++ Identificación <Id>2.53 [1..1] ++++++++ Identificación privada <PrvtId>2.53 [1..1] +++++++++ Otra <Othr>[1..1] ++++++++++ Identificación <Id> 35[1..1] ++++++++++ Nombre del esquema <SchmeNm>[1..1] +++++++++++ Propietario <Prtry> 352.57 [0..1] ++++++ Cuenta del deudor original <OrgnlDbtrAcct>[1..1] +++++++ Identificación <Id>[1..1] ++++++++ IBAN <IBAN> 342.58 [0..1] ++++++ Entidad del deudor original <OrgnlDbtrAgt>[1..1] +++++++ Identificación de la entidad <FinInstnId>[1..1] ++++++++ Otra <Othr>[1..1] +++++++++ Identificación <Id> 352.62 [0..1] +++++ Firma electrónica <ElctrncSgntr> 10252.66 [0..1] ++++ Identificación del acreedor <CdtrSchmeId>2.66 [1..1] +++++ Identificación <Id>2.66 [1..1] ++++++ Identificación privada <PrvtId>2.66 [1..1] +++++++ Otra <Othr>[1..1] ++++++++ Identificación <Id> 35[1..1] ++++++++ Nombre del esquema <SchmeNm>[1..1] +++++++++ Propietario <Prtry> 352.69 [0..1] +++ Último acreedor <UltmtCdtr>2.69 [0..1] ++++ Nombre <Nm> 702.69 [0..1] ++++ Identificación <Id>2.69 [1..1]{Or +++++ Persona jurídica <OrgId>[0..1] ++++++ BIC o BEI <BICOrBEI> 11[0..1] ++++++ Otra <Othr>[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1]Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.69 [1..1]Or} +++++ Persona física <PrvtId>[0..1] ++++++ Fecha y lugar de nacimiento <DtAndPlcOfBirth>[1..1] +++++++ Fecha de nacimiento <BirthDt> 8[0..1] +++++++ Provincia de nacimiento <PrvcOfBirth> 35[1..1] +++++++ Ciudad de nacimiento <CityOfBirth> 35[1..1] +++++++ País de nacimiento <CtryOfBirth> 2[0..1] ++++++ Otra <Othr> 22[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1] Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.70 [1..1] +++ Entidad del deudor <DbtrAgt>[1..1] ++++ Identificación de la entidad <FinInstnId>[1..1] +++++ BIC <BIC> 112.72 [1..1] +++ Deudor <Dbtr>2.72 [0..1] ++++ Nombre <Nm> 702.72 [0..1] ++++ Dirección postal <PstlAdr>2.72 [0..1] +++++ País <Ctry> 22.72 [0..2] +++++ Dirección en texto libre <AdrLine> 702.72 [0..1] ++++ Identificación <Id>2.72 [1..1]{Or +++++ Persona jurídica <OrgId>[0..1] ++++++ BIC o BEI <BICOrBEI> 11[0..1] ++++++ Otra <Othr>[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1]Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.72 [1..1]Or} +++++ Persona física <PrvtId>[0..1] ++++++ Fecha y lugar de nacimiento <DtAndPlcOfBirth>[1..1] +++++++ Fecha de nacimiento <BirthDt> 8[0..1] +++++++ Provincia de nacimiento <PrvcOfBirth> 35[1..1] +++++++ Ciudad de nacimiento <CityOfBirth> 35[1..1] +++++++ País de nacimiento <CtryOfBirth> 2[0..1] ++++++ Otra <Othr>[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1] Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.73 [1..1] +++ Cuenta del deudor <DbtrAcct>[1..1] ++++ Identificación <Id>[1..1] +++++ IBAN <IBAN> 342.74 [0..1] +++ Último deudor <UltmtDbtr>2.74 [0..1] ++++ Nombre <Nm> 70 232.74 [0..1] ++++ Identificación <Id>2.74 [1..1]{Or +++++ Persona jurídica <OrgId>[0..1] ++++++ BIC o BEI <BICOrBEI> 11[0..1] ++++++ Otra <Othr>[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1]Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.74 [1..1]Or} +++++ Persona física <PrvtId>[0..1] ++++++ Fecha y lugar de nacimiento <DtAndPlcOfBirth>[1..1] +++++++ Fecha de nacimiento <BirthDt> 8[0..1] +++++++ Provincia de nacimiento <PrvcOfBirth> 35[1..1] +++++++ Ciudad de nacimiento <CityOfBirth> 35[1..1] +++++++ País de nacimiento <CtryOfBirth> 2[0..1] ++++++ Otra <Othr>[1..1] +++++++ Identificación <Id> 35[0..1] +++++++ Nombre del esquema <SchmeNm>[1..1]{{Or ++++++++ Código <Cd> 4[1..1] Or}} ++++++++ Propietario <Prtry> 35[0..1] +++++++ Emisor <Issr> 352.76 [0..1] +++ Propósito <Purp>2.77 [1..1] ++++ Código <Cd> 42.79 [0..10] +++ Información regulatoria <RgltryRptg>[1..1] ++++ Alcance de la información <DbtCdtRptgInd> 4[1..1] ++++ Detalles <Dtls>[1..1] +++++ Código <Cd> 3[1..1] +++++ Importe <Amt> 21[1..1] +++++ Información <Inf> 352.88 [0..1] +++ Concepto <RmtInf>2.89 [1..1]{Or ++++ No estructurado <Ustrd> 1402.90 [1..1]Or} ++++ Estructurado <Strd>2.110 [1..1] +++++ Referencia facilitada por el acreedor <CdtrRefInf2.111 [1..1] ++++++ Tipo de referencia <Tp>2 112 [1..1] +++++++ Código o propietario <CdOrPrtry>2.113 [1..1] ++++++++ Código <Cd> 42.115 [0..1] +++++++ Emisor <Issr> 352.116 [1..1] ++++++ Referencia <Ref> 35