@openbox/shared-types 0.6.1 → 0.6.3
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/partners/V1/invoices/GetSingle/Response.d.ts +15 -0
- package/lib/partners/V1/invoices/GetSingle/Response.js +3 -0
- package/lib/partners/V1/invoices/GetSingle/Response.js.map +1 -0
- package/lib/partners/V1/invoices/index.d.ts +1 -0
- package/lib/partners/V1/invoices/index.js +1 -0
- package/lib/partners/V1/invoices/index.js.map +1 -1
- package/lib/system/SV/Fields/system.sv.fields.types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PartnersV1DocumentStatus, PartnersV1HaciendaResponse } from '../../shared.types';
|
|
2
|
+
/**
|
|
3
|
+
* Response type for GetSingle operation on Partners V1 Invoices.
|
|
4
|
+
* This type is intentionally separate from CreateSingle response to allow
|
|
5
|
+
* independent evolution of API contracts. Even though they currently share
|
|
6
|
+
* the same structure, keeping them separate provides flexibility for future
|
|
7
|
+
* changes (e.g., additional fields for GetSingle that CreateSingle doesn't return).
|
|
8
|
+
*/
|
|
9
|
+
export type PartnersV1InvoicesGetSingleResponse = {
|
|
10
|
+
id: string;
|
|
11
|
+
pdfURL: string;
|
|
12
|
+
jsonURL: string;
|
|
13
|
+
status: PartnersV1DocumentStatus;
|
|
14
|
+
haciendaResponse: PartnersV1HaciendaResponse;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
18
18
|
__exportStar(require("./CreateSingle/Response"), exports);
|
|
19
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC"}
|
|
@@ -5,6 +5,13 @@ export type SystemSvFields = {
|
|
|
5
5
|
nrc?: string;
|
|
6
6
|
nit?: string;
|
|
7
7
|
dui?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Indicates if the NIT is homologated for electronic invoicing.
|
|
10
|
+
* When true, the system will send the DUI as identifier instead of NIT for juridical persons.
|
|
11
|
+
* When false or undefined, the system maintains current behavior (send NIT if available, otherwise DUI).
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
nitIsHomologated?: boolean;
|
|
8
15
|
taxerType?: SystemTaxerTypes;
|
|
9
16
|
economicActivity?: SystemSvEconomicActivities;
|
|
10
17
|
};
|