• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #7396

07 Jan 2026 07:30PM UTC coverage: 50.373% (-1.1%) from 51.461%
#7396

push

web-flow
refactor(cte300): Adiciona o campo IBSCBS ao CTeNotaInfoInformacoesRelativasImpostos (#1141)

1 of 4 new or added lines in 1 file covered. (25.0%)

707 existing lines in 42 files now uncovered.

14780 of 29341 relevant lines covered (50.37%)

0.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFNotaInfoItemImpostoIBSCBSTIBS.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
import java.math.BigDecimal;
4
import java.time.LocalDate;
5

6
import org.simpleframework.xml.Element;
7

8
import com.fincatto.documentofiscal.DFBase;
9
import com.fincatto.documentofiscal.nfe400.classes.NFNotaInfoImpostoTributacaoIBSCBS;
10
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
11

12
// UB15
UNCOV
13
public class NFNotaInfoItemImpostoIBSCBSTIBS extends DFBase {
×
14

15
  private static final long serialVersionUID = -366528394939416672L;
16

17
  @Element(required = true)
18
  private String vBC; // UB16
19

20
  @Element(required = true)
21
  private GIBSUF gIBSUF; // UB17
22

23
  @Element(required = true)
24
  private GIBSMun gIBSMun; // UB36
25
  
26
  @Element(required = true)
27
  private String vIBS; // UB54a
28

29
  @Element(required = true)
30
  private GCBS gCBS; // UB55
31

32
  @Element(required = false)
33
  private GTribRegular gTribRegular; // UB68
34

35
  @Element(required = false)
36
  private GTribCompraGov gTribCompraGov; // UB82a
37

38
  public String getVBC() {
39
    return vBC;
×
40
  }
41

42
  public void setVBC(BigDecimal vBC) {
43
    this.vBC = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vBC, "Base de cálculo do IBS e CBS");
×
44
  }
×
45

46
  public GIBSUF getGIBSUF() {
47
    return gIBSUF;
×
48
  }
49

50
  public void setGIBSUF(GIBSUF gIBSUF) {
51
    this.gIBSUF = gIBSUF;
×
52
  }
×
53

54
  public GIBSMun getGIBSMun() {
55
    return gIBSMun;
×
56
  }
57

58
  public void setGIBSMun(GIBSMun gIBSMun) {
59
    this.gIBSMun = gIBSMun;
×
60
  }
×
61

62
  public GCBS getGCBS() {
63
    return gCBS;
×
64
  }
65

66
  public void setGCBS(GCBS gCBS) {
67
    this.gCBS = gCBS;
×
68
  }
×
69

70
  public GTribRegular getGTribRegular() {
71
    return gTribRegular;
×
72
  }
73

74
  public void setGTribRegular(GTribRegular gTribRegular) {
75
    this.gTribRegular = gTribRegular;
×
76
  }
×
77

78
  public GTribCompraGov getGTribCompraGov() {
79
    return gTribCompraGov;
×
80
  }
81

82
  public void setGTribCompraGov(GTribCompraGov gTribCompraGov) {
83
    this.gTribCompraGov = gTribCompraGov;
×
84
  }
×
85

86
  public String getVIBS() {
87
    return this.vIBS;
×
88
  }
89

90
  public void setVIBS(BigDecimal vIBS) {
91
    this.vIBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBS, "Valor IBS");
×
92
  }
×
93

94
  // UB17
95
  public static class GIBSUF extends DFBase {
×
96

97
    private static final long serialVersionUID = 6093564886756420261L;
98

99
        @Element(required = true)
100
    private String pIBSUF; // UB18
101

102
    @Element(required = false)
103
    private GDif gDif; // UB21
104

105
    @Element(required = false)
106
    private GDevTrib gDevTrib; // UB24
107

108
    @Element(required = false)
109
    private GRed gRed; // UB26
110

111
    @Element(required = true)
112
    private String vIBSUF; // UB35
113

114
    public String getPIBSUF() {
UNCOV
115
      return pIBSUF;
×
116
    }
117

118
    public void setPIBSUF(BigDecimal pIBSUF) {
UNCOV
119
      this.pIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSUF, "Alíquota do IBS de competência das UF");
×
UNCOV
120
    }
×
121

122
    public GDif getGDif() {
UNCOV
123
      return gDif;
×
124
    }
125

126
    public void setGDif(GDif gDif) {
UNCOV
127
      this.gDif = gDif;
×
UNCOV
128
    }
×
129

130
    public GDevTrib getGDevTrib() {
UNCOV
131
      return gDevTrib;
×
132
    }
133

134
    public void setGDevTrib(GDevTrib gDevTrib) {
UNCOV
135
      this.gDevTrib = gDevTrib;
×
UNCOV
136
    }
×
137

138
    public GRed getGRed() {
UNCOV
139
      return gRed;
×
140
    }
141

142
    public void setGRed(GRed gRed) {
UNCOV
143
      this.gRed = gRed;
×
UNCOV
144
    }
×
145

146
    public String getVIBSUF() {
UNCOV
147
      return vIBSUF;
×
148
    }
149

150
    public void setVIBSUF(BigDecimal vIBSUF) {
UNCOV
151
      this.vIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSUF, "Valor do IBS de competência da UF");
×
UNCOV
152
    }
×
153

154
  }
155

156
  // UB36
157
  public static class GIBSMun extends DFBase {
×
158

159
    private static final long serialVersionUID = -366528394939456789L;
160

161
    @Element(required = true)
162
    private String pIBSMun; // UB37
163

164
    @Element(required = false)
165
    private GDif gDif; // UB40
166

167
    @Element(required = false)
168
    private GDevTrib gDevTrib; // UB43
169

170
    @Element(required = false)
171
    private GRed gRed; // UB45
172

173
    @Element(required = true)
174
    private String vIBSMun; // UB54
175

176
    public String getPIBSMun() {
UNCOV
177
      return pIBSMun;
×
178
    }
179

180
    public void setPIBSMun(BigDecimal pIBSMun) {
UNCOV
181
      this.pIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pIBSMun, "Valor do IBS de competência do Município");
×
UNCOV
182
    }
×
183

184
    public GDif getGDif() {
UNCOV
185
      return gDif;
×
186
    }
187

188
    public void setGDif(GDif gDif) {
UNCOV
189
      this.gDif = gDif;
×
UNCOV
190
    }
×
191

192
    public GDevTrib getGDevTrib() {
UNCOV
193
      return gDevTrib;
×
194
    }
195

196
    public void setGDevTrib(GDevTrib gDevTrib) {
UNCOV
197
      this.gDevTrib = gDevTrib;
×
UNCOV
198
    }
×
199

200
    public GRed getGRed() {
UNCOV
201
      return gRed;
×
202
    }
203

204
    public void setGRed(GRed gRed) {
UNCOV
205
      this.gRed = gRed;
×
UNCOV
206
    }
×
207

208
    public String getVIBSMun() {
UNCOV
209
      return vIBSMun;
×
210
    }
211

212
    public void setVIBSMun(BigDecimal vIBSMun) {
UNCOV
213
      this.vIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vIBSMun, "Alíquota do IBS de competência do Município");
×
UNCOV
214
    }
×
215

216
  }
217

218
  // UB55
219
  public static class GCBS extends DFBase {
×
220

221
    private static final long serialVersionUID = -366528394939456790L;
222

223
    @Element(required = true)
224
    private String pCBS; // UB56
225

226
    @Element(required = false)
227
    private GDif gDif; // UB59
228

229
    @Element(required = false)
230
    private GDevTrib gDevTrib; // UB62
231

232
    @Element(required = false)
233
    private GRed gRed; // UB64
234

235
    @Element(required = true)
236
    private String vCBS; // UB67
237

238
    public String getPCBS() {
UNCOV
239
      return pCBS;
×
240
    }
241

242
    public void setPCBS(BigDecimal pCBS) {
UNCOV
243
      this.pCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pCBS, "Alíquota da CBS");
×
UNCOV
244
    }
×
245

246
    public GDif getGDif() {
UNCOV
247
      return gDif;
×
248
    }
249

250
    public void setGDif(GDif gDif) {
UNCOV
251
      this.gDif = gDif;
×
UNCOV
252
    }
×
253

254
    public GDevTrib getGDevTrib() {
UNCOV
255
      return gDevTrib;
×
256
    }
257

258
    public void setGDevTrib(GDevTrib gDevTrib) {
UNCOV
259
      this.gDevTrib = gDevTrib;
×
UNCOV
260
    }
×
261

262
    public GRed getGRed() {
UNCOV
263
      return gRed;
×
264
    }
265

266
    public void setGRed(GRed gRed) {
UNCOV
267
      this.gRed = gRed;
×
UNCOV
268
    }
×
269

270
    public String getVCBS() {
UNCOV
271
      return vCBS;
×
272
    }
273

274
    public void setVCBS(BigDecimal vCBS) {
UNCOV
275
      this.vCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vCBS, "Valor da CBS");
×
UNCOV
276
    }
×
277
  }
278

279
  // UB68
UNCOV
280
  public static class GTribRegular extends DFBase {
×
281

282
    private static final long serialVersionUID = -366528394939456791L;
283

284
    @Element(name = "CSTReg", required = true)
285
    private NFNotaInfoImpostoTributacaoIBSCBS cstReg; // UB69
286

287
    @Element(required = true)
288
    private String cClassTribReg; // UB70
289

290
    @Element(required = true)
291
    private String pAliqEfetRegIBSUF; // UB71
292

293
    @Element(required = true)
294
    private String vTribRegIBSUF; // UB72
295

296
    @Element(required = true)
297
    private String pAliqEfetRegIBSMun; // UB72a
298

299
    @Element(required = true)
300
    private String vTribRegIBSMun; // UB72b
301

302
    @Element(required = true)
303
    private String pAliqEfetRegCBS; // UB72c
304

305
    @Element(required = true)
306
    private String vTribRegCBS; // UB72d
307

308
    public NFNotaInfoImpostoTributacaoIBSCBS getCstReg() {
UNCOV
309
      return cstReg;
×
310
    }
311

312
    public void setCstReg(NFNotaInfoImpostoTributacaoIBSCBS cstReg) {
UNCOV
313
      this.cstReg = cstReg;
×
UNCOV
314
    }
×
315

316
    public String getCClassTribReg() {
UNCOV
317
      return cClassTribReg;
×
318
    }
319

320
    public void setCClassTribReg(String cClassTribReg) {
UNCOV
321
      this.cClassTribReg = cClassTribReg;
×
UNCOV
322
    }
×
323

324
    public String getPAliqEfetRegIBSUF() {
UNCOV
325
      return pAliqEfetRegIBSUF;
×
326
    }
327

328
    public void setPAliqEfetRegIBSUF(BigDecimal pAliqEfetRegIBSUF) {
UNCOV
329
      this.pAliqEfetRegIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSUF, "Valor da alíquota do IBS da UF");
×
UNCOV
330
    }
×
331

332
    public String getVTribRegIBSUF() {
UNCOV
333
      return vTribRegIBSUF;
×
334
    }
335

336
    public void setVTribRegIBSUF(BigDecimal vTribRegIBSUF) {
UNCOV
337
      this.vTribRegIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSUF, "Valor do Tributo do IBS da UF");
×
UNCOV
338
    }
×
339

340
    public String getPAliqEfetRegIBSMun() {
UNCOV
341
      return pAliqEfetRegIBSMun;
×
342
    }
343

344
    public void setPAliqEfetRegIBSMun(BigDecimal pAliqEfetRegIBSMun) {
UNCOV
345
      this.pAliqEfetRegIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegIBSMun, "Valor da alíquota do IBS do Município");
×
UNCOV
346
    }
×
347

348
    public String getVTribRegIBSMun() {
UNCOV
349
      return vTribRegIBSMun;
×
350
    }
351

352
    public void setVTribRegIBSMun(BigDecimal vTribRegIBSMun) {
UNCOV
353
      this.vTribRegIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegIBSMun, "Valor do Tributo do IBS do Município");
×
UNCOV
354
    }
×
355

356
    public String getPAliqEfetRegCBS() {
UNCOV
357
      return pAliqEfetRegCBS;
×
358
    }
359

360
    public void setPAliqEfetRegCBS(BigDecimal pAliqEfetRegCBS) {
UNCOV
361
      this.pAliqEfetRegCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfetRegCBS, "Valor da alíquota da CBS");
×
UNCOV
362
    }
×
363

364
    public String getVTribRegCBS() {
UNCOV
365
      return vTribRegCBS;
×
366
    }
367

368
    public void setVTribRegCBS(BigDecimal vTribRegCBS) {
UNCOV
369
      this.vTribRegCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribRegCBS, "Valor do Tributo da CBS");
×
UNCOV
370
    }
×
371

372
  }
373

374
  // UB82a
375
  public static class GTribCompraGov extends DFBase {
×
376

377
    private static final long serialVersionUID = -366528394939456794L;
378

379
    @Element(required = true)
380
    private String pAliqIBSUF; // UB82b
381

382
    @Element(required = true)
383
    private String vTribIBSUF; // UB82c
384

385
    @Element(required = true)
386
    private String pAliqIBSMun; // UB82d
387

388
    @Element(required = true)
389
    private String vTribIBSMun; // UB82e
390

391
    @Element(required = true)
392
    private String pAliqCBS; // UB82f
393

394
    @Element(required = true)
395
    private String vTribCBS; // UB82g
396

397
        public String getPAliqIBSUF() {
398
                return pAliqIBSUF;
×
399
        }
400

401
        public void setPAliqIBSUF(BigDecimal pAliqIBSUF) {
402
                this.pAliqIBSUF = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSUF, "Alíquota do IBS de competência do Estado");
×
403
        }
×
404

405
        public String getVTribIBSUF() {
406
                return vTribIBSUF;
×
407
        }
408

409
        public void setVTribIBSUF(BigDecimal vTribIBSUF) {
410
                this.vTribIBSUF = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSUF, "Valor do Tributo do IBS da UF calculado");
×
411
        }
×
412

413
        public String getPAliqIBSMun() {
414
                return pAliqIBSMun;
×
415
        }
416

417
        public void setPAliqIBSMun(BigDecimal pAliqIBSMun) {
418
                this.pAliqIBSMun = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqIBSMun, "Alíquota do IBS de competência do Município");
×
419
        }
×
420

421
        public String getVTribIBSMun() {
422
                return vTribIBSMun;
×
423
        }
424

425
        public void setVTribIBSMun(BigDecimal vTribIBSMun) {
426
                this.vTribIBSMun = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribIBSMun, "Valor do Tributo do IBS do Município calculado");
×
427
        }
×
428

429
        public String getPAliqCBS() {
UNCOV
430
                return pAliqCBS;
×
431
        }
432

433
        public void setPAliqCBS(BigDecimal pAliqCBS) {
UNCOV
434
                this.pAliqCBS = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqCBS, "Alíquota da CBS ");
×
UNCOV
435
        }
×
436

437
        public String getVTribCBS() {
UNCOV
438
                return vTribCBS;
×
439
        }
440

441
        public void setVTribCBS(BigDecimal vTribCBS) {
UNCOV
442
                this.vTribCBS = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vTribCBS, "Valor do Tributo da CBS calculado");
×
UNCOV
443
        }
×
444
    
445
  }
446

447
  //UB21 // UB40
UNCOV
448
  public static class GDif extends DFBase {
×
449

450
    private static final long serialVersionUID = -366528394939455687L;
451

452
    @Element(required = true)
453
    private String pDif; // UB22 // UB41
454

455
    @Element(required = true)
456
    private String vDif; // UB23 // UB42
457

458
    public String getPDif() {
459
      return pDif;
×
460
    }
461

462
    public void setPDif(BigDecimal pDif) {
463
      this.pDif = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pDif, "Percentual do diferimento");
×
UNCOV
464
    }
×
465

466
    public String getVDif() {
467
      return vDif;
×
468
    }
469

470
    public void setVDif(BigDecimal vDif) {
471
      this.vDif = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDif, "Valor do Diferimento");
×
UNCOV
472
    }
×
473

474
  }
475

476
  // UB24 // UB43
UNCOV
477
  public static class GDevTrib extends DFBase {
×
478

479
    private static final long serialVersionUID = -366525684939456789L;
480

481
    @Element(required = true)
482
    private String vDevTrib; // UB25 // UB44
483

484
    public String getVDevTrib() {
UNCOV
485
      return vDevTrib;
×
486
    }
487

488
    public void setVDevTrib(BigDecimal vDevTrib) {
UNCOV
489
      this.vDevTrib = DFBigDecimalValidador.tamanho13Com2CasasDecimais(vDevTrib, "Valor do tributo devolvido");
×
UNCOV
490
    }
×
491

492
  }
493

494
  // UB26 // UB45
495
  public static class GRed extends DFBase {
×
496

497
    private static final long serialVersionUID = -366528394939258789L;
498

499
    @Element(required = true)
500
    private String pRedAliq; // UB27 // UB46
501

502
    @Element(required = true)
503
    private String pAliqEfet; // UB28 // UB47
504

505
    public String getPRedAliq() {
UNCOV
506
      return pRedAliq;
×
507
    }
508

509
    public void setPRedAliq(BigDecimal pRedAliq) {
UNCOV
510
      this.pRedAliq = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pRedAliq, "Percentual da redução de alíquota do cClassTrib");
×
UNCOV
511
    }
×
512

513
    public String getPAliqEfet() {
UNCOV
514
      return pAliqEfet;
×
515
    }
516

517
    public void setPAliqEfet(BigDecimal pAliqEfet) {
UNCOV
518
      this.pAliqEfet = DFBigDecimalValidador.tamanho7ComAte4CasasDecimais(pAliqEfet, "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo");
×
UNCOV
519
    }
×
520

521
  }
522

523
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc