Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from initios/ens-modification-errors
Handle ens modification errors
- Loading branch information
Showing
4 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
tests/resources/xml/response/ens_modification_error_IE305V5Sal.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<soapenv:Envelope | ||
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | ||
<soapenv:Header/> | ||
<soapenv:Body Id="Body"> | ||
<ie:CC305A | ||
xmlns:ie="https://www2.agenciatributaria.gob.es/ADUA/internet/es/aeat/dit/adu/aden/enswsv5/IE305V5Sal.xsd"> | ||
<MesSenMES3>NICA.ES</MesSenMES3> | ||
<MesRecMES6>B123456789</MesRecMES6> | ||
<DatOfPreMES9>180524</DatOfPreMES9> | ||
<TimOfPreMES10>1604</TimOfPreMES10> | ||
<TesIndMES18>0</TesIndMES18> | ||
<MesIdeMES19>00000001234567</MesIdeMES19> | ||
<MesTypMES20>CC305A</MesTypMES20> | ||
<CorIdeMES25>TEST000001</CorIdeMES25> | ||
<HEAHEA> | ||
<DocNumHEA5>18ES009999990000652</DocNumHEA5> | ||
<AmeRejMotCodHEA604>1</AmeRejMotCodHEA604> | ||
<AmeRejMotTexHEA605>Trader not allowed to amend</AmeRejMotTexHEA605> | ||
<DatTimAmeHEA113>201805241404</DatTimAmeHEA113> | ||
<AmeRejDatTimHEA112>201805241604</AmeRejDatTimHEA112> | ||
</HEAHEA> | ||
<FUNERRER1> | ||
<ErrTypER11>15</ErrTypER11> | ||
<ErrPoiER12>NTF.NOTPAR670</ErrPoiER12> | ||
<ErrReaER13>C583</ErrReaER13> | ||
<OriAttValER14>Example Trader Name</OriAttValER14> | ||
</FUNERRER1> | ||
<PERLODSUMDEC> | ||
<TINPLD1>ESB12345678</TINPLD1> | ||
</PERLODSUMDEC> | ||
<CUSOFFFENT730> | ||
<RefNumCUSOFFFENT731>ES009999</RefNumCUSOFFFENT731> | ||
</CUSOFFFENT730> | ||
</ie:CC305A> | ||
</soapenv:Body> | ||
</soapenv:Envelope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters