Skip to content

Commit 403e301

Browse files
Fix xml snapshot tests
1 parent 20af1df commit 403e301

18 files changed

+18
-48
lines changed

src/test/resources/xml/cases/proveedorsincodigopostal/CreditNote.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<cbc:LineCountNumeric>1</cbc:LineCountNumeric>
2727
<cac:DiscrepancyResponse>
2828
<cbc:ReferenceID>F009-9</cbc:ReferenceID>
29-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito" listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">01</cbc:ResponseCode>
29+
<cbc:ResponseCode>01</cbc:ResponseCode>
3030
<cbc:Description><![CDATA[Comprobante rechazado]]></cbc:Description>
3131
</cac:DiscrepancyResponse>
3232
<cac:BillingReference>

src/test/resources/xml/cases/proveedorsincodigopostal/DebitNote.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<cbc:LineCountNumeric>1</cbc:LineCountNumeric>
2727
<cac:DiscrepancyResponse>
2828
<cbc:ReferenceID>F009-9</cbc:ReferenceID>
29-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito" listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">02</cbc:ResponseCode>
29+
<cbc:ResponseCode>02</cbc:ResponseCode>
3030
<cbc:Description><![CDATA[Comprobante rechazado]]></cbc:Description>
3131
</cac:DiscrepancyResponse>
3232
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_DNI.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>B001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">03
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>03</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_DecDiplomatica.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>B001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">03
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>03</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_DocTribNoDomSinRuc.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>B001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">03
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>03</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_Extranjeria.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>B001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">03
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>03</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_Pasaporte.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>B001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">03
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>03</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_RUC.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>F001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">01
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>01</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_UsePrecioUnitarioOPrecioConIgv.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>F001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">01
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>01</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

src/test/resources/xml/creditnote/mindata/MinData_UsePrecioUnitarioOPrecioConIgvAndCantidadThreeDecimals.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
</cbc:DocumentCurrencyCode>
2828
<cac:DiscrepancyResponse>
2929
<cbc:ReferenceID>F001-1</cbc:ReferenceID>
30-
<cbc:ResponseCode listAgencyName="PE:SUNAT" listName="SUNAT: Identificador de tipo de nota de debito"
31-
listURI="urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10">01
32-
</cbc:ResponseCode>
30+
<cbc:ResponseCode>01</cbc:ResponseCode>
3331
<cbc:Description><![CDATA[mi sustento]]></cbc:Description>
3432
</cac:DiscrepancyResponse>
3533
<cac:BillingReference>

0 commit comments

Comments
 (0)