facturas 0.23.1 → 0.25.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.
|
@@ -773,6 +773,9 @@ function vatRatePercent(id) {
|
|
|
773
773
|
}
|
|
774
774
|
return void 0;
|
|
775
775
|
}
|
|
776
|
+
function vatRateId(rate) {
|
|
777
|
+
return RATES[rate].id;
|
|
778
|
+
}
|
|
776
779
|
function calculateWsfeAmounts(input) {
|
|
777
780
|
if (!Array.isArray(input.items) || input.items.length === 0) {
|
|
778
781
|
invalidItem("items", "a non-empty array of items");
|
|
@@ -8314,6 +8317,8 @@ export {
|
|
|
8314
8317
|
ARCA_QR_URL,
|
|
8315
8318
|
arcaQrUrl,
|
|
8316
8319
|
arcaQrPayload,
|
|
8320
|
+
vatRatePercent,
|
|
8321
|
+
vatRateId,
|
|
8317
8322
|
calculateWsfeAmounts,
|
|
8318
8323
|
settleVatItems,
|
|
8319
8324
|
voucherDateWindow,
|
|
@@ -8326,4 +8331,4 @@ export {
|
|
|
8326
8331
|
createArcaClient,
|
|
8327
8332
|
createFileStore
|
|
8328
8333
|
};
|
|
8329
|
-
//# sourceMappingURL=chunk-
|
|
8334
|
+
//# sourceMappingURL=chunk-EL7OXUFE.mjs.map
|