@tillhub/schemas 6.235.0 → 6.236.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.236.0](https://github.com/tillhub/schemas/compare/v6.235.0...v6.236.0) (2023-07-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **settings:** Add fiscalization configuration ([#831](https://github.com/tillhub/schemas/issues/831)) ([6fc4795](https://github.com/tillhub/schemas/commit/6fc4795))
|
|
7
|
+
|
|
1
8
|
# [6.235.0](https://github.com/tillhub/schemas/compare/v6.234.0...v6.235.0) (2023-07-20)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -717,7 +717,30 @@ module.exports = {
|
|
|
717
717
|
'voucher_systems' // new system with a single product per system and all nested prefixes and actions
|
|
718
718
|
],
|
|
719
719
|
default: 'configurations' // starting from legacy
|
|
720
|
-
}
|
|
720
|
+
},
|
|
721
|
+
fiscally: oneOf({
|
|
722
|
+
type: 'object',
|
|
723
|
+
properties: {
|
|
724
|
+
austria: oneOf({
|
|
725
|
+
type: 'object',
|
|
726
|
+
additionalProperties: false,
|
|
727
|
+
properties: {
|
|
728
|
+
tid: oneOf({
|
|
729
|
+
description: 'The "Teilnehmer-Identifikation" part of the FinanzOnline Cash Register Web Service User ("Registrierkassen-Webservice-Benutzer") credential triplet to be provided by the taxpayer',
|
|
730
|
+
type: 'string'
|
|
731
|
+
}),
|
|
732
|
+
benid: oneOf({
|
|
733
|
+
description: 'The "Benutzer-Identifikation" part of the FinanzOnline Cash Register Web Service User ("Registrierkassen-Webservice-Benutzer") credential triplet to be provided by the taxpayer.',
|
|
734
|
+
type: 'string'
|
|
735
|
+
}),
|
|
736
|
+
pin: oneOf({
|
|
737
|
+
description: 'The "PIN" part of the FinanzOnline Cash Register Web Service User ("Registrierkassen-Webservice-Benutzer") credential triplet to be provided by the taxpayer.',
|
|
738
|
+
type: 'string'
|
|
739
|
+
})
|
|
740
|
+
}
|
|
741
|
+
})
|
|
742
|
+
}
|
|
743
|
+
})
|
|
721
744
|
}
|
|
722
745
|
}
|
|
723
746
|
]
|
|
@@ -695,14 +695,14 @@ module.exports = {
|
|
|
695
695
|
properties: {
|
|
696
696
|
bonus_points: oneOf({
|
|
697
697
|
type: 'integer',
|
|
698
|
-
description: 'Bonus Points to be booked - Free Points preferred, use
|
|
698
|
+
description: 'Bonus Points to be booked - Free Points preferred, use NULL here untill specified otherwise (2023-07).',
|
|
699
699
|
minimum: -12000,
|
|
700
700
|
maximum: 12000,
|
|
701
|
-
default:
|
|
701
|
+
default: null
|
|
702
702
|
}),
|
|
703
703
|
free_points: {
|
|
704
704
|
type: 'integer',
|
|
705
|
-
description: 'Free Points - preferrably used over Bonus Points.',
|
|
705
|
+
description: 'Free Points - preferrably used over Bonus Points. (Current points x campaign multiplier) - refund points',
|
|
706
706
|
minimum: -12000,
|
|
707
707
|
maximum: 12000,
|
|
708
708
|
default: 0
|
|
@@ -711,34 +711,38 @@ module.exports = {
|
|
|
711
711
|
type: 'string',
|
|
712
712
|
format: 'date-time',
|
|
713
713
|
example: '2018-01-29T14:55:05.000Z',
|
|
714
|
-
description: 'Date of the purchase'
|
|
714
|
+
description: 'Date of the purchase = transaction date'
|
|
715
715
|
},
|
|
716
716
|
timestamp_end: {
|
|
717
717
|
type: 'string',
|
|
718
718
|
format: 'date-time',
|
|
719
719
|
example: '2018-01-29T14:55:05.000Z',
|
|
720
|
-
description: 'Date of the purchase'
|
|
720
|
+
description: 'Date of the purchase = transaction date'
|
|
721
721
|
},
|
|
722
722
|
total_items: {
|
|
723
723
|
type: 'integer',
|
|
724
|
-
description: 'Number of cart items in the transaction.',
|
|
724
|
+
description: 'Number of cart items in the transaction that are not campaign products or vouchers.',
|
|
725
725
|
minimum: 0,
|
|
726
726
|
maximum: 99
|
|
727
727
|
},
|
|
728
728
|
employee_flag: {
|
|
729
729
|
type: 'boolean',
|
|
730
|
-
description: 'Marks a Coop employee, not yet
|
|
730
|
+
description: 'Marks a Coop employee, not yet relevantm, send \'false\'.',
|
|
731
731
|
default: false
|
|
732
732
|
},
|
|
733
733
|
total_amount: {
|
|
734
734
|
type: 'integer',
|
|
735
|
-
description: 'Total value of the sale in Swiss Rappen including
|
|
735
|
+
description: 'Total value of the sale in Swiss Rappen including ALL cart items, including refunds, excluding tips.',
|
|
736
736
|
minimum: -2400000,
|
|
737
737
|
maximum: 2400000
|
|
738
738
|
},
|
|
739
739
|
point_base_amount: {
|
|
740
740
|
type: 'integer',
|
|
741
|
-
description:
|
|
741
|
+
description: stripIndents`
|
|
742
|
+
'Total value of the sale that qualifies for superpoints (campaign items and vouchers excluded)
|
|
743
|
+
|
|
744
|
+
as long as net items are not supported this is identical to \'total_amount\'.
|
|
745
|
+
`,
|
|
742
746
|
minimum: -2400000,
|
|
743
747
|
maximum: 2400000
|
|
744
748
|
},
|