@factpulse/sdk 3.0.34 → 3.0.35

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.
Files changed (49) hide show
  1. package/.openapi-generator/FILES +4 -4
  2. package/CHANGELOG.md +12 -5
  3. package/api/invoice-processing-api.ts +2 -2
  4. package/dist/esm/models/{facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts → facture-electronique-models-invoice-type-code.d.ts} +65 -13
  5. package/dist/{models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js → esm/models/facture-electronique-models-invoice-type-code.js} +66 -10
  6. package/dist/esm/models/{facture-electronique-rest-api-schemas-ereporting-invoice-type-code.js → facture-electronique-rest-api-schemas-validation-validation-error-response.d.ts} +7 -10
  7. package/dist/esm/models/index.d.ts +2 -2
  8. package/dist/esm/models/index.js +2 -2
  9. package/dist/esm/models/invoice-input.d.ts +2 -2
  10. package/dist/esm/models/invoice-type-code.d.ts +6 -65
  11. package/dist/esm/models/invoice-type-code.js +6 -65
  12. package/dist/esm/models/simplified-invoice-data.d.ts +2 -2
  13. package/dist/esm/models/validate-cdarresponse.d.ts +3 -3
  14. package/dist/esm/models/validation-error-response.d.ts +12 -3
  15. package/dist/esm/src/helpers/client.js +1 -1
  16. package/dist/{esm/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts → models/facture-electronique-models-invoice-type-code.d.ts} +67 -8
  17. package/dist/models/facture-electronique-models-invoice-type-code.js +85 -0
  18. package/dist/models/{facture-electronique-rest-api-schemas-cdar-validation-error-response.d.ts → facture-electronique-rest-api-schemas-validation-validation-error-response.d.ts} +4 -13
  19. package/dist/models/index.d.ts +2 -2
  20. package/dist/models/index.js +2 -2
  21. package/dist/models/invoice-input.d.ts +2 -2
  22. package/dist/models/invoice-type-code.d.ts +6 -65
  23. package/dist/models/invoice-type-code.js +6 -65
  24. package/dist/models/simplified-invoice-data.d.ts +2 -2
  25. package/dist/models/validate-cdarresponse.d.ts +3 -3
  26. package/dist/models/validation-error-response.d.ts +12 -3
  27. package/dist/src/helpers/client.js +1 -1
  28. package/docs/FactureElectroniqueModelsInvoiceTypeCode.md +39 -0
  29. package/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +21 -0
  30. package/docs/InvoiceInput.md +1 -1
  31. package/docs/InvoiceTypeCode.md +6 -28
  32. package/docs/SimplifiedInvoiceData.md +1 -1
  33. package/docs/ValidateCDARResponse.md +2 -2
  34. package/docs/ValidationErrorResponse.md +9 -3
  35. package/models/{facture-electronique-rest-api-schemas-ereporting-invoice-type-code.ts → facture-electronique-models-invoice-type-code.ts} +67 -8
  36. package/models/{facture-electronique-rest-api-schemas-cdar-validation-error-response.ts → facture-electronique-rest-api-schemas-validation-validation-error-response.ts} +4 -13
  37. package/models/index.ts +2 -2
  38. package/models/invoice-input.ts +2 -2
  39. package/models/invoice-type-code.ts +6 -65
  40. package/models/simplified-invoice-data.ts +2 -2
  41. package/models/validate-cdarresponse.ts +3 -3
  42. package/models/validation-error-response.ts +12 -3
  43. package/package.json +1 -1
  44. package/src/helpers/client.ts +1 -1
  45. package/dist/models/facture-electronique-rest-api-schemas-ereporting-invoice-type-code.d.ts +0 -22
  46. package/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +0 -27
  47. package/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -17
  48. /package/dist/esm/models/{facture-electronique-rest-api-schemas-cdar-validation-error-response.js → facture-electronique-rest-api-schemas-validation-validation-error-response.js} +0 -0
  49. /package/dist/models/{facture-electronique-rest-api-schemas-cdar-validation-error-response.js → facture-electronique-rest-api-schemas-validation-validation-error-response.js} +0 -0
@@ -15,18 +15,77 @@
15
15
 
16
16
 
17
17
  /**
18
- * Invoice type codes (UNTDID 1001).
18
+ * Document type according to BR-FR-04 (UNTDID 1001 codes). | Code | Name | Description | |------|------|-------------| | 380 | INVOICE | Commercial invoice | | 389 | SELF_BILLED_INVOICE | Self-billed invoice | | 393 | FACTORED_INVOICE | Factored invoice | | 501 | SELF_BILLED_FACTORED_INVOICE | Self-billed factored invoice | | 386 | PREPAYMENT_INVOICE | Prepayment invoice | | 500 | SELF_BILLED_PREPAYMENT_INVOICE | Self-billed prepayment invoice | | 384 | CORRECTIVE_INVOICE | Corrective invoice | | 471 | SELF_BILLED_CORRECTIVE_INVOICE | Self-billed corrective invoice | | 472 | FACTORED_CORRECTIVE_INVOICE | Factored corrective invoice | | 473 | SELF_BILLED_FACTORED_CORRECTIVE_INVOICE | Self-billed factored corrective invoice | | 381 | CREDIT_NOTE | Credit note | | 261 | SELF_BILLED_CREDIT_NOTE | Self-billed credit note | | 262 | GLOBAL_ALLOWANCE_CREDIT_NOTE | Credit note for global allowance | | 396 | FACTORED_CREDIT_NOTE | Factored credit note | | 502 | SELF_BILLED_FACTORED_CREDIT_NOTE | Self-billed factored credit note | | 503 | PREPAYMENT_CREDIT_NOTE | Credit note for prepayment invoice |
19
19
  */
20
20
 
21
- export const FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode = {
22
- _380: '380',
23
- _381: '381',
24
- _384: '384',
25
- _389: '389',
26
- _386: '386'
21
+ export const FactureElectroniqueModelsInvoiceTypeCode = {
22
+ /**
23
+ * Commercial Invoice
24
+ */
25
+ INVOICE: '380',
26
+ /**
27
+ * Self-billed Invoice
28
+ */
29
+ SELF_BILLED_INVOICE: '389',
30
+ /**
31
+ * Factored Invoice
32
+ */
33
+ FACTORED_INVOICE: '393',
34
+ /**
35
+ * Self-billed Factored Invoice
36
+ */
37
+ SELF_BILLED_FACTORED_INVOICE: '501',
38
+ /**
39
+ * Prepayment Invoice
40
+ */
41
+ PREPAYMENT_INVOICE: '386',
42
+ /**
43
+ * Self-billed Prepayment Invoice
44
+ */
45
+ SELF_BILLED_PREPAYMENT_INVOICE: '500',
46
+ /**
47
+ * Corrective Invoice
48
+ */
49
+ CORRECTIVE_INVOICE: '384',
50
+ /**
51
+ * Self-billed Corrective Invoice
52
+ */
53
+ SELF_BILLED_CORRECTIVE_INVOICE: '471',
54
+ /**
55
+ * Factored Corrective Invoice
56
+ */
57
+ FACTORED_CORRECTIVE_INVOICE: '472',
58
+ /**
59
+ * Self-billed Factored Corrective Invoice
60
+ */
61
+ SELF_BILLED_FACTORED_CORRECTIVE_INVOICE: '473',
62
+ /**
63
+ * Credit Note
64
+ */
65
+ CREDIT_NOTE: '381',
66
+ /**
67
+ * Self-billed Credit Note
68
+ */
69
+ SELF_BILLED_CREDIT_NOTE: '261',
70
+ /**
71
+ * Global Allowance Credit Note
72
+ */
73
+ GLOBAL_ALLOWANCE_CREDIT_NOTE: '262',
74
+ /**
75
+ * Factored Credit Note
76
+ */
77
+ FACTORED_CREDIT_NOTE: '396',
78
+ /**
79
+ * Self-billed Factored Credit Note
80
+ */
81
+ SELF_BILLED_FACTORED_CREDIT_NOTE: '502',
82
+ /**
83
+ * Prepayment Credit Note
84
+ */
85
+ PREPAYMENT_CREDIT_NOTE: '503'
27
86
  } as const;
28
87
 
29
- export type FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode = typeof FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode[keyof typeof FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode];
88
+ export type FactureElectroniqueModelsInvoiceTypeCode = typeof FactureElectroniqueModelsInvoiceTypeCode[keyof typeof FactureElectroniqueModelsInvoiceTypeCode];
30
89
 
31
90
 
32
91
 
@@ -15,21 +15,12 @@
15
15
 
16
16
 
17
17
  /**
18
- * Erreur de validation.
18
+ * Response for validation errors.
19
19
  */
20
- export interface FactureElectroniqueRestApiSchemasCdarValidationErrorResponse {
20
+ export interface FactureElectroniqueRestApiSchemasValidationValidationErrorResponse {
21
21
  /**
22
- * Champ concerné
22
+ * List of detected validation errors.
23
23
  */
24
- 'field': string;
25
- /**
26
- * Message d\'erreur
27
- */
28
- 'message': string;
29
- 'rule'?: string | null;
30
- /**
31
- * Sévérité (error/warning)
32
- */
33
- 'severity'?: string;
24
+ 'detail': Array<string>;
34
25
  }
35
26
 
package/models/index.ts CHANGED
@@ -145,9 +145,9 @@ export * from './error-source';
145
145
  export * from './extraction-info';
146
146
  export * from './factur-xinvoice';
147
147
  export * from './factur-xpdfinfo';
148
- export * from './facture-electronique-rest-api-schemas-cdar-validation-error-response';
148
+ export * from './facture-electronique-models-invoice-type-code';
149
149
  export * from './facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials';
150
- export * from './facture-electronique-rest-api-schemas-ereporting-invoice-type-code';
150
+ export * from './facture-electronique-rest-api-schemas-validation-validation-error-response';
151
151
  export * from './field-status';
152
152
  export * from './file-info';
153
153
  export * from './files-info';
@@ -21,7 +21,7 @@ import type { Buyercountry } from './buyercountry';
21
21
  import type { Currency } from './currency';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import type { FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode } from './facture-electronique-rest-api-schemas-ereporting-invoice-type-code';
24
+ import type { InvoiceTypeCode } from './invoice-type-code';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import type { Sellercountry } from './sellercountry';
@@ -50,7 +50,7 @@ export interface InvoiceInput {
50
50
  /**
51
51
  * Invoice type code
52
52
  */
53
- 'typeCode'?: FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode;
53
+ 'typeCode'?: InvoiceTypeCode;
54
54
  'currency'?: Currency;
55
55
  'dueDate'?: string | null;
56
56
  /**
@@ -15,74 +15,15 @@
15
15
 
16
16
 
17
17
  /**
18
- * Document type according to BR-FR-04 (UNTDID 1001 codes). | Code | Name | Description | |------|------|-------------| | 380 | INVOICE | Commercial invoice | | 389 | SELF_BILLED_INVOICE | Self-billed invoice | | 393 | FACTORED_INVOICE | Factored invoice | | 501 | SELF_BILLED_FACTORED_INVOICE | Self-billed factored invoice | | 386 | PREPAYMENT_INVOICE | Prepayment invoice | | 500 | SELF_BILLED_PREPAYMENT_INVOICE | Self-billed prepayment invoice | | 384 | CORRECTIVE_INVOICE | Corrective invoice | | 471 | SELF_BILLED_CORRECTIVE_INVOICE | Self-billed corrective invoice | | 472 | FACTORED_CORRECTIVE_INVOICE | Factored corrective invoice | | 473 | SELF_BILLED_FACTORED_CORRECTIVE_INVOICE | Self-billed factored corrective invoice | | 381 | CREDIT_NOTE | Credit note | | 261 | SELF_BILLED_CREDIT_NOTE | Self-billed credit note | | 262 | GLOBAL_ALLOWANCE_CREDIT_NOTE | Credit note for global allowance | | 396 | FACTORED_CREDIT_NOTE | Factored credit note | | 502 | SELF_BILLED_FACTORED_CREDIT_NOTE | Self-billed factored credit note | | 503 | PREPAYMENT_CREDIT_NOTE | Credit note for prepayment invoice |
18
+ * Invoice type codes (UNTDID 1001).
19
19
  */
20
20
 
21
21
  export const InvoiceTypeCode = {
22
- /**
23
- * Commercial Invoice
24
- */
25
- INVOICE: '380',
26
- /**
27
- * Self-billed Invoice
28
- */
29
- SELF_BILLED_INVOICE: '389',
30
- /**
31
- * Factored Invoice
32
- */
33
- FACTORED_INVOICE: '393',
34
- /**
35
- * Self-billed Factored Invoice
36
- */
37
- SELF_BILLED_FACTORED_INVOICE: '501',
38
- /**
39
- * Prepayment Invoice
40
- */
41
- PREPAYMENT_INVOICE: '386',
42
- /**
43
- * Self-billed Prepayment Invoice
44
- */
45
- SELF_BILLED_PREPAYMENT_INVOICE: '500',
46
- /**
47
- * Corrective Invoice
48
- */
49
- CORRECTIVE_INVOICE: '384',
50
- /**
51
- * Self-billed Corrective Invoice
52
- */
53
- SELF_BILLED_CORRECTIVE_INVOICE: '471',
54
- /**
55
- * Factored Corrective Invoice
56
- */
57
- FACTORED_CORRECTIVE_INVOICE: '472',
58
- /**
59
- * Self-billed Factored Corrective Invoice
60
- */
61
- SELF_BILLED_FACTORED_CORRECTIVE_INVOICE: '473',
62
- /**
63
- * Credit Note
64
- */
65
- CREDIT_NOTE: '381',
66
- /**
67
- * Self-billed Credit Note
68
- */
69
- SELF_BILLED_CREDIT_NOTE: '261',
70
- /**
71
- * Global Allowance Credit Note
72
- */
73
- GLOBAL_ALLOWANCE_CREDIT_NOTE: '262',
74
- /**
75
- * Factored Credit Note
76
- */
77
- FACTORED_CREDIT_NOTE: '396',
78
- /**
79
- * Self-billed Factored Credit Note
80
- */
81
- SELF_BILLED_FACTORED_CREDIT_NOTE: '502',
82
- /**
83
- * Prepayment Credit Note
84
- */
85
- PREPAYMENT_CREDIT_NOTE: '503'
22
+ _380: '380',
23
+ _381: '381',
24
+ _384: '384',
25
+ _389: '389',
26
+ _386: '386'
86
27
  } as const;
87
28
 
88
29
  export type InvoiceTypeCode = typeof InvoiceTypeCode[keyof typeof InvoiceTypeCode];
@@ -15,7 +15,7 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { InvoiceTypeCode } from './invoice-type-code';
18
+ import type { FactureElectroniqueModelsInvoiceTypeCode } from './facture-electronique-models-invoice-type-code';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import type { InvoicingFrameworkCode } from './invoicing-framework-code';
@@ -54,7 +54,7 @@ export interface SimplifiedInvoiceData {
54
54
  /**
55
55
  * Document type (UNTDID 1001). Default: 380 (Invoice).
56
56
  */
57
- 'invoiceType'?: InvoiceTypeCode;
57
+ 'invoiceType'?: FactureElectroniqueModelsInvoiceTypeCode;
58
58
  'precedingInvoiceReference'?: string | null;
59
59
  'operationNature'?: OperationNature | null;
60
60
  'invoicingFramework'?: InvoicingFrameworkCode | null;
@@ -15,7 +15,7 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { FactureElectroniqueRestApiSchemasCdarValidationErrorResponse } from './facture-electronique-rest-api-schemas-cdar-validation-error-response';
18
+ import type { ValidationErrorResponse } from './validation-error-response';
19
19
 
20
20
  /**
21
21
  * Réponse de validation CDAR.
@@ -28,10 +28,10 @@ export interface ValidateCDARResponse {
28
28
  /**
29
29
  * Liste des erreurs
30
30
  */
31
- 'errors'?: Array<FactureElectroniqueRestApiSchemasCdarValidationErrorResponse>;
31
+ 'errors'?: Array<ValidationErrorResponse>;
32
32
  /**
33
33
  * Liste des avertissements
34
34
  */
35
- 'warnings'?: Array<FactureElectroniqueRestApiSchemasCdarValidationErrorResponse>;
35
+ 'warnings'?: Array<ValidationErrorResponse>;
36
36
  }
37
37
 
@@ -15,12 +15,21 @@
15
15
 
16
16
 
17
17
  /**
18
- * Response for validation errors.
18
+ * Erreur de validation.
19
19
  */
20
20
  export interface ValidationErrorResponse {
21
21
  /**
22
- * List of detected validation errors.
22
+ * Champ concerné
23
23
  */
24
- 'detail': Array<string>;
24
+ 'field': string;
25
+ /**
26
+ * Message d\'erreur
27
+ */
28
+ 'message': string;
29
+ 'rule'?: string | null;
30
+ /**
31
+ * Sévérité (error/warning)
32
+ */
33
+ 'severity'?: string;
25
34
  }
26
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factpulse/sdk",
3
- "version": "3.0.34",
3
+ "version": "3.0.35",
4
4
  "description": "OpenAPI client for @factpulse/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -333,7 +333,7 @@ export class FactPulseClient {
333
333
  for (let attempt = 0; attempt <= this.config.maxRetries; attempt++) {
334
334
  await this.ensureAuthenticated();
335
335
  const form = new FormData();
336
- form.append('invoice_data', jsonData);
336
+ form.append('invoice_data', jsonData, { contentType: 'application/json', filename: 'invoice.json' });
337
337
  form.append('profile', profile);
338
338
  form.append('output_format', outputFormat);
339
339
  form.append('source_pdf', fs.createReadStream(pdfPath), { filename: path.basename(pdfPath), contentType: 'application/pdf' });
@@ -1,22 +0,0 @@
1
- /**
2
- * FactPulse REST API
3
- * REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@factpulse.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Invoice type codes (UNTDID 1001).
14
- */
15
- export declare const FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode: {
16
- readonly _380: "380";
17
- readonly _381: "381";
18
- readonly _384: "384";
19
- readonly _389: "389";
20
- readonly _386: "386";
21
- };
22
- export type FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode = typeof FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode[keyof typeof FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode];
@@ -1,27 +0,0 @@
1
- # FactureElectroniqueRestApiSchemasCdarValidationErrorResponse
2
-
3
- Erreur de validation.
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **field** | **string** | Champ concerné | [default to undefined]
10
- **message** | **string** | Message d\&#39;erreur | [default to undefined]
11
- **rule** | **string** | | [optional] [default to undefined]
12
- **severity** | **string** | Sévérité (error/warning) | [optional] [default to 'error']
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { FactureElectroniqueRestApiSchemasCdarValidationErrorResponse } from '@factpulse/sdk';
18
-
19
- const instance: FactureElectroniqueRestApiSchemasCdarValidationErrorResponse = {
20
- field,
21
- message,
22
- rule,
23
- severity,
24
- };
25
- ```
26
-
27
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,17 +0,0 @@
1
- # FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode
2
-
3
- Invoice type codes (UNTDID 1001).
4
-
5
- ## Enum
6
-
7
- * `_380` (value: `'380'`)
8
-
9
- * `_381` (value: `'381'`)
10
-
11
- * `_384` (value: `'384'`)
12
-
13
- * `_389` (value: `'389'`)
14
-
15
- * `_386` (value: `'386'`)
16
-
17
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)