@openbox/shared-types 0.6.10 → 0.6.12
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/Calculation/CalculateSingle/Response.d.ts +1 -1
- package/lib/invoices/Invoices/CreateSingle/Request.d.ts +1 -1
- package/lib/invoices/Invoices/invoices.types.d.ts +11 -5
- package/lib/purchases/Purchases/purchases.types.d.ts +17 -2
- package/lib/system/SellingTypes/system.selling-types.types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -57,7 +57,7 @@ export interface InvoicesCalculationsTotalsResponse {
|
|
|
57
57
|
porcentajeDescuento: InvoicesCalculationsTotalsItem;
|
|
58
58
|
totalIva: InvoicesCalculationsTotalsItem;
|
|
59
59
|
subTotal: InvoicesCalculationsTotalsItem;
|
|
60
|
-
|
|
60
|
+
ivaRetenido: InvoicesCalculationsTotalsItem;
|
|
61
61
|
reteRenta: InvoicesCalculationsTotalsItem;
|
|
62
62
|
montoTotalOperacion: InvoicesCalculationsTotalsItem;
|
|
63
63
|
totalPagar: InvoicesCalculationsTotalsItem;
|
|
@@ -24,30 +24,36 @@ export type Invoices = {
|
|
|
24
24
|
customerDui: string;
|
|
25
25
|
customerNit: string;
|
|
26
26
|
customerNrc: string;
|
|
27
|
-
customerGiro: string;
|
|
28
27
|
customerPassport: string;
|
|
29
|
-
|
|
28
|
+
customerGiro: string;
|
|
30
29
|
totalNoSuj: number;
|
|
30
|
+
totalExenta: number;
|
|
31
31
|
totalGravada: number;
|
|
32
32
|
subTotalVentas: number;
|
|
33
|
-
|
|
33
|
+
descuNoSuj: number;
|
|
34
|
+
descuExenta: number;
|
|
35
|
+
descuGravada: number;
|
|
36
|
+
totalDescu: number;
|
|
37
|
+
porcentajeDescuento: number;
|
|
34
38
|
subTotal: number;
|
|
39
|
+
totalIva: number;
|
|
35
40
|
ivaPercibido: number;
|
|
41
|
+
ivaRetetenido: number;
|
|
36
42
|
renta5: number;
|
|
37
43
|
renta10: number;
|
|
38
|
-
ivaRete1: number;
|
|
39
44
|
totalPagar: number;
|
|
40
45
|
totalPagarText: string;
|
|
41
46
|
origin: string;
|
|
42
47
|
invoiceDate: Date;
|
|
48
|
+
paidDate: Date;
|
|
43
49
|
paymentConditionName: string;
|
|
44
50
|
sellerName: string;
|
|
45
51
|
zoneName: string;
|
|
46
52
|
createEntry: boolean;
|
|
47
53
|
NCDTotal: boolean;
|
|
48
54
|
isElectronicInvoice: boolean;
|
|
49
|
-
customerBranch: Omit<CustomersBranches, 'customer'>;
|
|
50
55
|
customer: Customers;
|
|
56
|
+
customerBranch: Omit<CustomersBranches, 'customer'>;
|
|
51
57
|
paymentCondition: Pick<InvoicesPaymentConditions, 'id' | 'name'>;
|
|
52
58
|
invoicesSeller: Pick<InvoicesSellers, 'id' | 'name'>;
|
|
53
59
|
invoicesZone: Pick<InvoicesZones, 'id' | 'name'>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProvidersBranches } from '../../providers';
|
|
1
2
|
import { Providers } from '../../providers/Providers/providers.types';
|
|
2
3
|
import { SystemElectronicSVData } from '../../system';
|
|
3
4
|
import { SystemPersonTypeNaturals } from '../../system/PersonTypeNaturals/system.person-types-naturals.types';
|
|
@@ -14,11 +15,23 @@ export type Purchases = {
|
|
|
14
15
|
providerCountry: string;
|
|
15
16
|
providerState: string;
|
|
16
17
|
providerCity: string;
|
|
18
|
+
providerDui: string;
|
|
19
|
+
providerNit: string;
|
|
20
|
+
providerNrc: string;
|
|
21
|
+
providerPassport: string;
|
|
17
22
|
providerGiro: string;
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
totalNoSuj: number;
|
|
24
|
+
totalExenta: number;
|
|
25
|
+
totalGravada: number;
|
|
26
|
+
subTotalCompras: number;
|
|
27
|
+
descuNoSuj: number;
|
|
28
|
+
descuExenta: number;
|
|
29
|
+
descuGravada: number;
|
|
20
30
|
totalDescu: number;
|
|
31
|
+
porcentajeDescuento: number;
|
|
21
32
|
subTotal: number;
|
|
33
|
+
totalIva: number;
|
|
34
|
+
ivaPercibido: number;
|
|
22
35
|
ivaRetenido: number;
|
|
23
36
|
reteRenta: number;
|
|
24
37
|
totalPagar: number;
|
|
@@ -26,7 +39,9 @@ export type Purchases = {
|
|
|
26
39
|
origin: string;
|
|
27
40
|
purchaseDate: Date;
|
|
28
41
|
paymentConditionName: string;
|
|
42
|
+
createEntry: boolean;
|
|
29
43
|
provider: Providers;
|
|
44
|
+
providerBranch: Omit<ProvidersBranches, 'provider'>;
|
|
30
45
|
statusType: Pick<PurchasesStatuses, 'id' | 'name'>;
|
|
31
46
|
personType: Pick<SystemPersonTypes, 'id' | 'name'>;
|
|
32
47
|
providerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>;
|