@reservation-studio/electron-types 0.0.30 → 0.0.31
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/README.md
CHANGED
|
@@ -200,7 +200,7 @@ const reversalResponse =
|
|
|
200
200
|
password: '0000'
|
|
201
201
|
},
|
|
202
202
|
uniqueSaleNumber: '1',
|
|
203
|
-
reason: 'refund', // or '
|
|
203
|
+
reason: 'refund', // or 'void', 'tax-base-reduction'
|
|
204
204
|
originalReceiptNumber: '12345',
|
|
205
205
|
originalReceiptDateTime: new Date('2023-01-01T10:00:00'),
|
|
206
206
|
originalFiscalMemorySerialNumber: 'FM12345678',
|
|
@@ -412,7 +412,7 @@ interface FiscalDeviceDiagnosticsOptions {
|
|
|
412
412
|
|
|
413
413
|
```typescript
|
|
414
414
|
enum ReversalReason {
|
|
415
|
-
|
|
415
|
+
VOID = 'void',
|
|
416
416
|
REFUND = 'refund',
|
|
417
417
|
TAX_BASE_REDUCTION = 'tax-base-reduction'
|
|
418
418
|
}
|
|
@@ -438,7 +438,7 @@ export interface ReversalReceipt extends FiscalReceipt {
|
|
|
438
438
|
* Enum for reversal reasons
|
|
439
439
|
*/
|
|
440
440
|
export declare enum ReversalReason {
|
|
441
|
-
|
|
441
|
+
VOID = "void",
|
|
442
442
|
REFUND = "refund",
|
|
443
443
|
TAX_BASE_REDUCTION = "tax-base-reduction"
|
|
444
444
|
}
|
|
@@ -16,7 +16,7 @@ var FiscalPaymentType;
|
|
|
16
16
|
*/
|
|
17
17
|
var ReversalReason;
|
|
18
18
|
(function (ReversalReason) {
|
|
19
|
-
ReversalReason["
|
|
19
|
+
ReversalReason["VOID"] = "void";
|
|
20
20
|
ReversalReason["REFUND"] = "refund";
|
|
21
21
|
ReversalReason["TAX_BASE_REDUCTION"] = "tax-base-reduction";
|
|
22
22
|
})(ReversalReason || (exports.ReversalReason = ReversalReason = {}));
|