File tree Expand file tree Collapse file tree 8 files changed +10
-14
lines changed
main/resources/io/github/project/openubl/xmlbuilderlib/templates/standard/common
java/io/github/project/openubl/xmlbuilderlib/integrationtest/ubl/invoice Expand file tree Collapse file tree 8 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 125125 </dependency >
126126 <dependency >
127127 <groupId >io.github.project-openubl</groupId >
128- <artifactId >xml-sender-ws </artifactId >
129- <version >2.1.1 .Final</version >
128+ <artifactId >xsender </artifactId >
129+ <version >3.0.2 .Final</version >
130130 <scope >test</scope >
131131 </dependency >
132132 </dependencies >
Original file line number Diff line number Diff line change 7272 <cac:TaxSubtotal >
7373 <cbc:TaxAmount currencyID =" ${moneda}" >${item.impuestos.icb.importe} </cbc:TaxAmount >
7474 <cbc:BaseUnitMeasure unitCode =" ${item.unidadMedida}" >${item.cantidad} </cbc:BaseUnitMeasure >
75- <cbc:PerUnitAmount currencyID =" ${moneda}" >${item.impuestos.icb.icbValor} </cbc:PerUnitAmount >
7675 <cac:TaxCategory >
76+ <cbc:PerUnitAmount currencyID =" ${moneda}" >${item.impuestos.icb.icbValor} </cbc:PerUnitAmount >
7777 <cac:TaxScheme >
7878 <cbc:ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >${item.impuestos.icb.categoria.code} </cbc:ID >
7979 <cbc:Name >${item.impuestos.icb.categoria.nombre} </cbc:Name >
Original file line number Diff line number Diff line change 11 <cac:DiscrepancyResponse >
22 <cbc:ReferenceID >${serieNumeroComprobanteAfectado} </cbc:ReferenceID >
3- <cbc:ResponseCode listAgencyName = " PE:SUNAT " listName = " SUNAT: Identificador de tipo de nota de debito " listURI = " urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10 " >${tipoDocumentoComprobanteAfectado.code} </cbc:ResponseCode >
3+ <cbc:ResponseCode >${tipoDocumentoComprobanteAfectado.code} </cbc:ResponseCode >
44 <cbc:Description ><![CDATA[${descripcionSustentoDeNota}]] ></cbc:Description >
55 </cac:DiscrepancyResponse >
66<#-- <#if orderCompra??>-->
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ void testInvoiceWithCustomProveedorDireccionAndContacto() throws Exception {
200200 .withDepartamento ("Ayacucho" )
201201 .withProvincia ("Huamanga" )
202202 .withDistrito ("Jesus Nazareno" )
203- .withCodigoLocal ("010101 " )
203+ .withCodigoLocal ("0001 " )
204204 .withUrbanizacion ("000000" )
205205 .withDireccion ("Jr. Las piedras 123" )
206206 .withCodigoPais ("PE" )
Original file line number Diff line number Diff line change 2828 </cbc : DocumentCurrencyCode >
2929 <cac : DiscrepancyResponse >
3030 <cbc : ReferenceID >F001-1</cbc : ReferenceID >
31- <cbc : ResponseCode listAgencyName =" PE:SUNAT" listName =" SUNAT: Identificador de tipo de nota de debito"
32- listURI =" urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo10" >01
33- </cbc : ResponseCode >
31+ <cbc : ResponseCode >01</cbc : ResponseCode >
3432 <cbc : Description ><![CDATA[ mi sustento]]> </cbc : Description >
3533 </cac : DiscrepancyResponse >
3634 <cac : BillingReference >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 5454 <cbc : RegistrationName >Softgreen S.A.C.</cbc : RegistrationName >
5555 <cac : RegistrationAddress >
5656 <cbc : ID >050101</cbc : ID >
57- <cbc : AddressTypeCode >010101 </cbc : AddressTypeCode >
57+ <cbc : AddressTypeCode >0001 </cbc : AddressTypeCode >
5858 <cbc : CitySubdivisionName >000000</cbc : CitySubdivisionName >
5959 <cbc : CityName >Huamanga</cbc : CityName >
6060 <cbc : CountrySubentity >Ayacucho</cbc : CountrySubentity >
Original file line number Diff line number Diff line change 147147 <cac : TaxSubtotal >
148148 <cbc : TaxAmount currencyID =" PEN" >2</cbc : TaxAmount >
149149 <cbc : BaseUnitMeasure unitCode =" NIU" >10</cbc : BaseUnitMeasure >
150- <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
151150 <cac : TaxCategory >
151+ <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
152152 <cac : TaxScheme >
153153 <cbc : ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >
154154 7152
206206 <cac : TaxSubtotal >
207207 <cbc : TaxAmount currencyID =" PEN" >2</cbc : TaxAmount >
208208 <cbc : BaseUnitMeasure unitCode =" NIU" >10</cbc : BaseUnitMeasure >
209- <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
210209 <cac : TaxCategory >
210+ <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
211211 <cac : TaxScheme >
212212 <cbc : ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >
213213 7152
You can’t perform that action at this time.
0 commit comments