@openbox/shared-types 0.5.28 → 0.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/invoices/Invoices/CreateSingle/Request.d.ts +7 -7
- package/lib/invoices/Invoices/invoices.types.d.ts +8 -8
- package/package.json +1 -1
- package/src/invoices/Calculation/CalculateSingle/Response.ts +7 -7
- package/src/invoices/Invoices/CreateSingle/Request.ts +7 -7
- package/src/invoices/Invoices/invoices.types.ts +8 -8
|
@@ -12,16 +12,16 @@ export type InvoicesCreateSingleHeader = {
|
|
|
12
12
|
creditFor?: string;
|
|
13
13
|
};
|
|
14
14
|
export type InvoicesCreateSingleTotals = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
subTotalVentas: number;
|
|
16
|
+
totalIva: number;
|
|
17
|
+
subTotal: number;
|
|
18
|
+
ivaRete1: number;
|
|
19
19
|
ivaPercibido: number;
|
|
20
20
|
renta5: number;
|
|
21
21
|
renta10: number;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
totalExenta: number;
|
|
23
|
+
totalNoSuj: number;
|
|
24
|
+
totalPagar: number;
|
|
25
25
|
};
|
|
26
26
|
export type InvoicesCreateSingleDetail = {
|
|
27
27
|
service: string;
|
|
@@ -24,17 +24,17 @@ export type Invoices = {
|
|
|
24
24
|
customerNrc: string;
|
|
25
25
|
customerGiro: string;
|
|
26
26
|
customerPassport: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
subTotalVentas: number;
|
|
28
|
+
totalIva: number;
|
|
29
29
|
ivaPercibido: number;
|
|
30
30
|
renta5: number;
|
|
31
31
|
renta10: number;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
subTotal: number;
|
|
33
|
+
ivaRete1: number;
|
|
34
|
+
totalExenta: number;
|
|
35
|
+
totalNoSuj: number;
|
|
36
|
+
totalPagar: number;
|
|
37
|
+
totalPagarText: string;
|
|
38
38
|
origin: string;
|
|
39
39
|
invoiceDate: Date;
|
|
40
40
|
paymentConditionName: string;
|
package/package.json
CHANGED
|
@@ -73,10 +73,10 @@ export type InvoicesCalculationsTotalsItem = {
|
|
|
73
73
|
|
|
74
74
|
export interface InvoicesCalculationsTotalsResponse {
|
|
75
75
|
// Totales antes de impuestos
|
|
76
|
-
totalNoSuj: InvoicesCalculationsTotalsItem // ventasNoSujetas
|
|
77
|
-
totalExenta: InvoicesCalculationsTotalsItem // ventasExentas
|
|
76
|
+
totalNoSuj: InvoicesCalculationsTotalsItem // previously ventasNoSujetas
|
|
77
|
+
totalExenta: InvoicesCalculationsTotalsItem // previously ventasExentas
|
|
78
78
|
totalGravada: InvoicesCalculationsTotalsItem
|
|
79
|
-
subTotalVentas: InvoicesCalculationsTotalsItem // sum
|
|
79
|
+
subTotalVentas: InvoicesCalculationsTotalsItem // previously sum
|
|
80
80
|
|
|
81
81
|
// Descuentos
|
|
82
82
|
descuNoSuj: InvoicesCalculationsTotalsItem
|
|
@@ -86,12 +86,12 @@ export interface InvoicesCalculationsTotalsResponse {
|
|
|
86
86
|
totalDescu: InvoicesCalculationsTotalsItem
|
|
87
87
|
|
|
88
88
|
// Totales con impuestos
|
|
89
|
-
subTotal: InvoicesCalculationsTotalsItem // subtotal
|
|
90
|
-
ivaRete1: InvoicesCalculationsTotalsItem // ivaRetenido
|
|
89
|
+
subTotal: InvoicesCalculationsTotalsItem // previously subtotal
|
|
90
|
+
ivaRete1: InvoicesCalculationsTotalsItem // previously ivaRetenido
|
|
91
91
|
reteRenta: InvoicesCalculationsTotalsItem
|
|
92
92
|
montoTotalOperacion: InvoicesCalculationsTotalsItem
|
|
93
|
-
totalIva: InvoicesCalculationsTotalsItem // iva
|
|
94
|
-
totalPagar: InvoicesCalculationsTotalsItem // ventaTotal
|
|
93
|
+
totalIva: InvoicesCalculationsTotalsItem // previously iva
|
|
94
|
+
totalPagar: InvoicesCalculationsTotalsItem // previously ventaTotal
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
export type InvoicesCalculationsCalculateSingleResponse = {
|
|
@@ -13,16 +13,16 @@ export type InvoicesCreateSingleHeader = {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export type InvoicesCreateSingleTotals = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
subTotalVentas: number // previously sum
|
|
17
|
+
totalIva: number // previously iva
|
|
18
|
+
subTotal: number // previously subtotal
|
|
19
|
+
ivaRete1: number // previously ivaRetenido
|
|
20
20
|
ivaPercibido: number
|
|
21
21
|
renta5: number
|
|
22
22
|
renta10: number
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
totalExenta: number // previously ventasExentas
|
|
24
|
+
totalNoSuj: number // previously ventasNoSujetas
|
|
25
|
+
totalPagar: number // previously ventaTotal
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export type InvoicesCreateSingleDetail = {
|
|
@@ -25,17 +25,17 @@ export type Invoices = {
|
|
|
25
25
|
customerNrc: string
|
|
26
26
|
customerGiro: string
|
|
27
27
|
customerPassport: string
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
subTotalVentas: number // previously sum
|
|
29
|
+
totalIva: number // previously iva
|
|
30
30
|
ivaPercibido: number
|
|
31
31
|
renta5: number
|
|
32
32
|
renta10: number
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
subTotal: number // previously subtotal
|
|
34
|
+
ivaRete1: number // previously ivaRetenido
|
|
35
|
+
totalExenta: number // previously ventasExentas
|
|
36
|
+
totalNoSuj: number // previously ventasNoSujetas
|
|
37
|
+
totalPagar: number // previously ventaTotal
|
|
38
|
+
totalPagarText: string // previously ventaTotalText
|
|
39
39
|
origin: string
|
|
40
40
|
invoiceDate: Date
|
|
41
41
|
paymentConditionName: string
|