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 125
125
</dependency >
126
126
<dependency >
127
127
<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 >
130
130
<scope >test</scope >
131
131
</dependency >
132
132
</dependencies >
Original file line number Diff line number Diff line change 72
72
<cac:TaxSubtotal >
73
73
<cbc:TaxAmount currencyID =" ${moneda}" >${item.impuestos.icb.importe} </cbc:TaxAmount >
74
74
<cbc:BaseUnitMeasure unitCode =" ${item.unidadMedida}" >${item.cantidad} </cbc:BaseUnitMeasure >
75
- <cbc:PerUnitAmount currencyID =" ${moneda}" >${item.impuestos.icb.icbValor} </cbc:PerUnitAmount >
76
75
<cac:TaxCategory >
76
+ <cbc:PerUnitAmount currencyID =" ${moneda}" >${item.impuestos.icb.icbValor} </cbc:PerUnitAmount >
77
77
<cac:TaxScheme >
78
78
<cbc:ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >${item.impuestos.icb.categoria.code} </cbc:ID >
79
79
<cbc:Name >${item.impuestos.icb.categoria.nombre} </cbc:Name >
Original file line number Diff line number Diff line change 1
1
<cac:DiscrepancyResponse >
2
2
<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 >
4
4
<cbc:Description ><![CDATA[${descripcionSustentoDeNota}]] ></cbc:Description >
5
5
</cac:DiscrepancyResponse >
6
6
<#-- <#if orderCompra??>-->
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ void testInvoiceWithCustomProveedorDireccionAndContacto() throws Exception {
200
200
.withDepartamento ("Ayacucho" )
201
201
.withProvincia ("Huamanga" )
202
202
.withDistrito ("Jesus Nazareno" )
203
- .withCodigoLocal ("010101 " )
203
+ .withCodigoLocal ("0001 " )
204
204
.withUrbanizacion ("000000" )
205
205
.withDireccion ("Jr. Las piedras 123" )
206
206
.withCodigoPais ("PE" )
Original file line number Diff line number Diff line change 28
28
</cbc : DocumentCurrencyCode >
29
29
<cac : DiscrepancyResponse >
30
30
<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 >
34
32
<cbc : Description ><![CDATA[ mi sustento]]> </cbc : Description >
35
33
</cac : DiscrepancyResponse >
36
34
<cac : BillingReference >
Original file line number Diff line number Diff line change 27
27
</cbc : DocumentCurrencyCode >
28
28
<cac : DiscrepancyResponse >
29
29
<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 >
33
31
<cbc : Description ><![CDATA[ mi sustento]]> </cbc : Description >
34
32
</cac : DiscrepancyResponse >
35
33
<cac : BillingReference >
Original file line number Diff line number Diff line change 54
54
<cbc : RegistrationName >Softgreen S.A.C.</cbc : RegistrationName >
55
55
<cac : RegistrationAddress >
56
56
<cbc : ID >050101</cbc : ID >
57
- <cbc : AddressTypeCode >010101 </cbc : AddressTypeCode >
57
+ <cbc : AddressTypeCode >0001 </cbc : AddressTypeCode >
58
58
<cbc : CitySubdivisionName >000000</cbc : CitySubdivisionName >
59
59
<cbc : CityName >Huamanga</cbc : CityName >
60
60
<cbc : CountrySubentity >Ayacucho</cbc : CountrySubentity >
Original file line number Diff line number Diff line change 147
147
<cac : TaxSubtotal >
148
148
<cbc : TaxAmount currencyID =" PEN" >2</cbc : TaxAmount >
149
149
<cbc : BaseUnitMeasure unitCode =" NIU" >10</cbc : BaseUnitMeasure >
150
- <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
151
150
<cac : TaxCategory >
151
+ <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
152
152
<cac : TaxScheme >
153
153
<cbc : ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >
154
154
7152
206
206
<cac : TaxSubtotal >
207
207
<cbc : TaxAmount currencyID =" PEN" >2</cbc : TaxAmount >
208
208
<cbc : BaseUnitMeasure unitCode =" NIU" >10</cbc : BaseUnitMeasure >
209
- <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
210
209
<cac : TaxCategory >
210
+ <cbc : PerUnitAmount currencyID =" PEN" >0.2</cbc : PerUnitAmount >
211
211
<cac : TaxScheme >
212
212
<cbc : ID schemeAgencyName =" PE:SUNAT" schemeID =" UN/ECE 5153" schemeName =" Codigo de tributos" >
213
213
7152
You can’t perform that action at this time.
0 commit comments