@ripwords/myinvois-client 0.1.2 → 0.1.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/CHANGELOG.md +12 -0
- package/dist/{0X-ChfmeAYF.d.cts → 0X-Cr3M7hci.d.cts} +1 -1
- package/dist/{1X-jFrFCOs0.d.cts → 1X-CWwmfCzo.d.cts} +1 -1
- package/dist/{1X-DFikQbP0.d.cts → 1X-ClnJ79HH.d.cts} +1 -1
- package/dist/{2X-FWZ1rYVt.d.cts → 2X-CV9eYhog.d.cts} +1 -1
- package/dist/{2X-5cE4ojEX.d.cts → 2X-DNtkJ0tj.d.cts} +1 -1
- package/dist/{3X-D9duw0Ro.d.cts → 3X--VWVsC84.d.cts} +1 -1
- package/dist/{3X-r9xbWJ2l.d.cts → 3X-BOxfatu3.d.cts} +1 -1
- package/dist/{4X-1ZkK-uH5.d.cts → 4X-By9PzHaY.d.cts} +1 -1
- package/dist/{4X-CLO9OuKa.d.cts → 4X-C7fzDWJ_.d.cts} +1 -1
- package/dist/{5X-Cfe39fFc.d.cts → 5X-B5M0Cv_K.d.cts} +1 -1
- package/dist/{5X-BziH0a09.d.cts → 5X-CNAFsDm2.d.cts} +1 -1
- package/dist/{6X-DLWEe1bP.d.cts → 6X-C3elgd-n.d.cts} +1 -1
- package/dist/{6X-BceErbps.d.cts → 6X-uObUP4VG.d.cts} +1 -1
- package/dist/{7X-CwPAqozm.d.cts → 7X-BifJnY24.d.cts} +1 -1
- package/dist/{7X-CucHYQsA.d.cts → 7X-D3idQBl9.d.cts} +1 -1
- package/dist/{8X-CJpqd5xp.d.cts → 8X-C6UMFvQW.d.cts} +1 -1
- package/dist/{8X-BIjJ9kaV.d.cts → 8X-DioBXCJ0.d.cts} +1 -1
- package/dist/{9X-CP5Xp6bE.d.cts → 9X-BjffnXuq.d.cts} +1 -1
- package/dist/{9X-D3aOVCnz.d.cts → 9X-CJjPJgIG.d.cts} +1 -1
- package/dist/{AX-DFzpxGOT.d.cts → AX-DrEd2Ov6.d.cts} +1 -1
- package/dist/{BX-CyiqNE6b.d.cts → BX-C5jc6myN.d.cts} +1 -1
- package/dist/{CX-BTPvC3Dv.d.cts → CX-oSgvmn3h.d.cts} +1 -1
- package/dist/{DX-BD4-hTCh.d.cts → DX-ZIG0enmK.d.cts} +1 -1
- package/dist/{EX-mTHCH0Yk.d.cts → EX-BpWZ5ADq.d.cts} +1 -1
- package/dist/{FX-DOOMoQl2.d.cts → FX-CvYBEc51.d.cts} +1 -1
- package/dist/{GX-8URJ7WHz.d.cts → GX-CU8PZy0G.d.cts} +1 -1
- package/dist/{HX-49z8CzsE.d.cts → HX-DoEErDeE.d.cts} +1 -1
- package/dist/{IX-B6kblmBs.d.cts → IX-jLAUHe8i.d.cts} +1 -1
- package/dist/{JX-DMwHLGEE.d.cts → JX-DX8BjYQC.d.cts} +1 -1
- package/dist/{KX-DaJPkefl.d.cts → KX-fZb4_vhw.d.cts} +1 -1
- package/dist/{LX-BnILxjdS.d.cts → LX-D_mI1bk-.d.cts} +1 -1
- package/dist/{MX-BbPO8mTj.d.cts → MX-DlYZhpkT.d.cts} +1 -1
- package/dist/{NX-xy5uw7H3.d.cts → NX-DELEEbad.d.cts} +1 -1
- package/dist/{OX-CIzARbON.d.cts → OX-CKPyrIFf.d.cts} +1 -1
- package/dist/{PX-CL8waFgx.d.cts → PX-SP6NxBtG.d.cts} +1 -1
- package/dist/{QX-BowAYqZb.d.cts → QX-QZA7E2O-.d.cts} +1 -1
- package/dist/{RX-fWoWcHTG.d.cts → RX-DBcgbdeE.d.cts} +1 -1
- package/dist/{SX-CZ3e31OT.d.cts → SX-DmiJeCMN.d.cts} +1 -1
- package/dist/{TX-CJhJ-HYX.d.cts → TX-C1SoDobK.d.cts} +1 -1
- package/dist/{UX-P7-u2y70.d.cts → UX-DFVynFhQ.d.cts} +1 -1
- package/dist/{VX-C8Eu5gQf.d.cts → VX-DsRum5k3.d.cts} +1 -1
- package/dist/{WX-DkiaqB2V.d.cts → WX-VReU5R5M.d.cts} +1 -1
- package/dist/{XX-D4p4iK-a.d.cts → XX-ChAviUMj.d.cts} +1 -1
- package/dist/{YX-Du8zv9qz.d.cts → YX-QfzeMEKx.d.cts} +1 -1
- package/dist/{ZX-B4jFD-21.d.cts → ZX-Ca2E726a.d.cts} +1 -1
- package/dist/api/platform/platformLogin.d.ts +52 -52
- package/dist/{document-DMIMRJV0.cjs → document-CARHiGdp.cjs} +3 -3
- package/dist/document-CARHiGdp.cjs.map +1 -0
- package/dist/{document-NQos5fSr.js → document-D6VKMAtx.js} +2 -2
- package/dist/{documents-BVG7KIKY.d.ts → documents-CJ8hqIGH.d.ts} +14 -3
- package/dist/{documents-C066EC9m.d.cts → documents-MGs0EvXh.d.cts} +15 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +52 -52
- package/dist/index.js +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index21.cjs +207 -2
- package/dist/index21.cjs.map +1 -0
- package/dist/index22.cjs +104 -203
- package/dist/index22.cjs.map +1 -1
- package/dist/index23.cjs +132 -104
- package/dist/index23.cjs.map +1 -1
- package/dist/index24.cjs +59 -132
- package/dist/index24.cjs.map +1 -1
- package/dist/index25.cjs +262 -59
- package/dist/index25.cjs.map +1 -1
- package/dist/index26.cjs +74 -262
- package/dist/index26.cjs.map +1 -1
- package/dist/index27.cjs +102 -74
- package/dist/index27.cjs.map +1 -1
- package/dist/index28.cjs +68 -102
- package/dist/index28.cjs.map +1 -1
- package/dist/index29.cjs +107 -68
- package/dist/index29.cjs.map +1 -1
- package/dist/index30.cjs +95 -107
- package/dist/index30.cjs.map +1 -1
- package/dist/index31.cjs +13 -95
- package/dist/index31.cjs.map +1 -1
- package/dist/index32.cjs +31 -11
- package/dist/index32.cjs.map +1 -1
- package/dist/index33.cjs +12 -31
- package/dist/index33.cjs.map +1 -1
- package/dist/index34.cjs +22 -12
- package/dist/index34.cjs.map +1 -1
- package/dist/index35.cjs +13 -22
- package/dist/index35.cjs.map +1 -1
- package/dist/index36.cjs +7 -13
- package/dist/index36.cjs.map +1 -1
- package/dist/index37.cjs +7 -7
- package/dist/index37.cjs.map +1 -1
- package/dist/index38.cjs +10 -7
- package/dist/index38.cjs.map +1 -1
- package/dist/index39.cjs +6 -10
- package/dist/index39.cjs.map +1 -1
- package/dist/index40.cjs +101 -6
- package/dist/index40.cjs.map +1 -1
- package/dist/index41.cjs +106 -101
- package/dist/index41.cjs.map +1 -1
- package/dist/index42.cjs +119 -106
- package/dist/index42.cjs.map +1 -1
- package/dist/index43.cjs +106 -119
- package/dist/index43.cjs.map +1 -1
- package/dist/index44.cjs +98 -106
- package/dist/index44.cjs.map +1 -1
- package/dist/index45.cjs +118 -98
- package/dist/index45.cjs.map +1 -1
- package/dist/index46.cjs +127 -118
- package/dist/index46.cjs.map +1 -1
- package/dist/index47.cjs +117 -127
- package/dist/index47.cjs.map +1 -1
- package/dist/index48.cjs +14 -117
- package/dist/index48.cjs.map +1 -1
- package/dist/index49.cjs +95 -14
- package/dist/index49.cjs.map +1 -1
- package/dist/index50.cjs +142 -95
- package/dist/index50.cjs.map +1 -1
- package/dist/index51.cjs +114 -142
- package/dist/index51.cjs.map +1 -1
- package/dist/index52.cjs +144 -114
- package/dist/index52.cjs.map +1 -1
- package/dist/index53.cjs +113 -144
- package/dist/index53.cjs.map +1 -1
- package/dist/index54.cjs +17 -113
- package/dist/index54.cjs.map +1 -1
- package/dist/index55.cjs +112 -17
- package/dist/index55.cjs.map +1 -1
- package/dist/index56.cjs +47 -112
- package/dist/index56.cjs.map +1 -1
- package/dist/index57.cjs +14 -47
- package/dist/index57.cjs.map +1 -1
- package/dist/index58.cjs +28 -14
- package/dist/index58.cjs.map +1 -1
- package/dist/index59.cjs +22 -28
- package/dist/index59.cjs.map +1 -1
- package/dist/index60.cjs +9 -22
- package/dist/index60.cjs.map +1 -1
- package/dist/index61.cjs +8 -9
- package/dist/index61.cjs.map +1 -1
- package/dist/index62.cjs +17 -8
- package/dist/index62.cjs.map +1 -1
- package/dist/index63.cjs +412 -17
- package/dist/index63.cjs.map +1 -1
- package/dist/index64.cjs +8 -412
- package/dist/index64.cjs.map +1 -1
- package/dist/index65.cjs +9 -8
- package/dist/index65.cjs.map +1 -1
- package/dist/index66.cjs +2 -15
- package/dist/{msic-codes-DToUqTI6.d.ts → msic-codes-C8PJVOaA.d.ts} +10 -10
- package/dist/{msic-codes-CPWVNnpq.d.cts → msic-codes-CIKdPqag.d.cts} +11 -11
- package/dist/{payment-modes-FX88uyhP.d.cts → payment-modes-ghFEXnUl.d.cts} +1 -1
- package/dist/{signatures-BKi9DP2K.d.cts → signatures-hFbt_std.d.cts} +1 -1
- package/dist/{state-codes-CNp_6051.d.cts → state-codes-BlILGZ9d.d.cts} +1 -1
- package/dist/{tax-types-CgwxONDS.d.cts → tax-types-B5sQ8UyN.d.cts} +1 -1
- package/dist/types/documents.d.ts +14 -3
- package/dist/types/index.d.ts +52 -52
- package/dist/types/msic/0X.d.ts +1 -1
- package/dist/types/msic/1X.d.ts +1 -1
- package/dist/types/msic/2X.d.ts +1 -1
- package/dist/types/msic/3X.d.ts +1 -1
- package/dist/types/msic/4X.d.ts +1 -1
- package/dist/types/msic/5X.d.ts +1 -1
- package/dist/types/msic/6X.d.ts +1 -1
- package/dist/types/msic/7X.d.ts +1 -1
- package/dist/types/msic/8X.d.ts +1 -1
- package/dist/types/msic/9X.d.ts +1 -1
- package/dist/types/msic-codes.d.ts +11 -11
- package/dist/types/payment-modes.d.ts +1 -1
- package/dist/types/signatures.d.ts +1 -1
- package/dist/types/state-codes.d.ts +1 -1
- package/dist/types/tax-types.d.ts +1 -1
- package/dist/types/unit/1X.d.ts +1 -1
- package/dist/types/unit/2X.d.ts +1 -1
- package/dist/types/unit/3X.d.ts +1 -1
- package/dist/types/unit/4X.d.ts +1 -1
- package/dist/types/unit/5X.d.ts +1 -1
- package/dist/types/unit/6X.d.ts +1 -1
- package/dist/types/unit/7X.d.ts +1 -1
- package/dist/types/unit/8X.d.ts +1 -1
- package/dist/types/unit/9X.d.ts +1 -1
- package/dist/types/unit/AX.d.ts +1 -1
- package/dist/types/unit/BX.d.ts +1 -1
- package/dist/types/unit/CX.d.ts +1 -1
- package/dist/types/unit/DX.d.ts +1 -1
- package/dist/types/unit/EX.d.ts +1 -1
- package/dist/types/unit/FX.d.ts +1 -1
- package/dist/types/unit/GX.d.ts +1 -1
- package/dist/types/unit/HX.d.ts +1 -1
- package/dist/types/unit/IX.d.ts +1 -1
- package/dist/types/unit/JX.d.ts +1 -1
- package/dist/types/unit/KX.d.ts +1 -1
- package/dist/types/unit/LX.d.ts +1 -1
- package/dist/types/unit/MX.d.ts +1 -1
- package/dist/types/unit/NX.d.ts +1 -1
- package/dist/types/unit/OX.d.ts +1 -1
- package/dist/types/unit/PX.d.ts +1 -1
- package/dist/types/unit/QX.d.ts +1 -1
- package/dist/types/unit/RX.d.ts +1 -1
- package/dist/types/unit/SX.d.ts +1 -1
- package/dist/types/unit/TX.d.ts +1 -1
- package/dist/types/unit/UX.d.ts +1 -1
- package/dist/types/unit/VX.d.ts +1 -1
- package/dist/types/unit/WX.d.ts +1 -1
- package/dist/types/unit/XX.d.ts +1 -1
- package/dist/types/unit/YX.d.ts +1 -1
- package/dist/types/unit/ZX.d.ts +1 -1
- package/dist/types/unit-types.d.ts +36 -36
- package/dist/unit-types-B41YFOLT.d.ts +55 -0
- package/dist/unit-types-CjWNk2wS.d.cts +56 -0
- package/dist/utils/document.d.ts +52 -52
- package/dist/utils/document.js +1 -1
- package/dist/utils/signature-diagnostics.d.ts +52 -52
- package/dist/utils/signature-diagnostics.js +1 -1
- package/package.json +1 -1
- package/src/types/documents.d.ts +14 -6
- package/src/utils/document.ts +2 -2
- package/test/dynamicInvoiceFeatures.test.ts +2 -0
- package/test/signAndSubmitInvoice.test.ts +2 -0
- package/test/signature-diagnostics.test.ts +2 -0
- package/dist/document-DMIMRJV0.cjs.map +0 -1
- package/dist/index66.cjs.map +0 -1
- package/dist/unit-types-BKZxwVYQ.d.ts +0 -55
- package/dist/unit-types-CaOA5ZDG.d.cts +0 -56
- /package/dist/{0X-CG1S1WKn.d.ts → 0X-CTIq3y3a.d.ts} +0 -0
- /package/dist/{1X-CmlbG02M.d.ts → 1X-Bu4oiv8D.d.ts} +0 -0
- /package/dist/{1X-DbFshzup.d.ts → 1X-BywXCqtn.d.ts} +0 -0
- /package/dist/{2X-eC_p0QJf.d.ts → 2X-3fSEGIuE.d.ts} +0 -0
- /package/dist/{2X-DA6J6Wd7.d.ts → 2X-DnG3FY1f.d.ts} +0 -0
- /package/dist/{3X-GxuN79Ax.d.ts → 3X-CLdmoel1.d.ts} +0 -0
- /package/dist/{3X-DbfkwdkO.d.ts → 3X-Ynjfgoll.d.ts} +0 -0
- /package/dist/{4X-CnHtgO6u.d.ts → 4X-B5ePdMky.d.ts} +0 -0
- /package/dist/{4X-DYz_nYSD.d.ts → 4X-BTG6o1Gn.d.ts} +0 -0
- /package/dist/{5X-kBF74qx1.d.ts → 5X-CjSz1zxJ.d.ts} +0 -0
- /package/dist/{5X-BzPEdkbC.d.ts → 5X-dhP6fyou.d.ts} +0 -0
- /package/dist/{6X-sQZfT0ZK.d.ts → 6X-B9KP_vEn.d.ts} +0 -0
- /package/dist/{6X-C_xpeu6J.d.ts → 6X-BHaY0TCf.d.ts} +0 -0
- /package/dist/{7X-Bet2agJ6.d.ts → 7X-C4eX_tAk.d.ts} +0 -0
- /package/dist/{7X-BoKQxMoO.d.ts → 7X-DtkQutx2.d.ts} +0 -0
- /package/dist/{8X-BOEWATU3.d.ts → 8X-5n9seY3z.d.ts} +0 -0
- /package/dist/{8X-s5AzkHR-.d.ts → 8X-D6HTLShY.d.ts} +0 -0
- /package/dist/{9X-BBDP1gZ6.d.ts → 9X-CHZKsIdD.d.ts} +0 -0
- /package/dist/{9X-DAAZV4sr.d.ts → 9X-Cpb6V4JC.d.ts} +0 -0
- /package/dist/{AX-CmpMMhII.d.ts → AX-C0w_r3PA.d.ts} +0 -0
- /package/dist/{BX-j78z_ju_.d.ts → BX-RadlZ-6m.d.ts} +0 -0
- /package/dist/{CX-B6rEhQx7.d.ts → CX-CT1Zzb9D.d.ts} +0 -0
- /package/dist/{DX-CAmMnx5a.d.ts → DX-CtUeTKMM.d.ts} +0 -0
- /package/dist/{EX-CXhSC85J.d.ts → EX-084Yu7Wt.d.ts} +0 -0
- /package/dist/{FX-DYVIJ3l0.d.ts → FX-BrbQM0CW.d.ts} +0 -0
- /package/dist/{GX-eBOVHqi6.d.ts → GX-gKj8iAAh.d.ts} +0 -0
- /package/dist/{HX-Dz5T0xXI.d.ts → HX-9D-ZXTy5.d.ts} +0 -0
- /package/dist/{IX-PiKYro5a.d.ts → IX-DR4Fc92A.d.ts} +0 -0
- /package/dist/{JX-Dvnt0mSK.d.ts → JX-DIKa9ma-.d.ts} +0 -0
- /package/dist/{KX-BUb8e0yg.d.ts → KX-DpsJ_unT.d.ts} +0 -0
- /package/dist/{LX-l5ZBaGov.d.ts → LX-DeXPPWUX.d.ts} +0 -0
- /package/dist/{MX-C7C15AWi.d.ts → MX-CKMjg_zK.d.ts} +0 -0
- /package/dist/{NX-C7nFVC-D.d.ts → NX-oYdb4NDo.d.ts} +0 -0
- /package/dist/{OX-Dmkvcaij.d.ts → OX-Bid9es3D.d.ts} +0 -0
- /package/dist/{PX-BKZ14N7N.d.ts → PX-D7jy9CFk.d.ts} +0 -0
- /package/dist/{QX-6xdSNtxZ.d.ts → QX-BFWOR4g3.d.ts} +0 -0
- /package/dist/{RX-DFoiOK5q.d.ts → RX-XHgCyMV1.d.ts} +0 -0
- /package/dist/{SX-D-Szi9wa.d.ts → SX-Cl8RN8oH.d.ts} +0 -0
- /package/dist/{TX-DTfkGsqn.d.ts → TX-ZymoIbtr.d.ts} +0 -0
- /package/dist/{UX-Bw4HHAj4.d.ts → UX-D-Ndd1ov.d.ts} +0 -0
- /package/dist/{VX-DCv5x_hi.d.ts → VX-B-1b34r7.d.ts} +0 -0
- /package/dist/{WX-BYtJ5_if.d.ts → WX-0GuMjPNZ.d.ts} +0 -0
- /package/dist/{XX-Jo1yJO3A.d.ts → XX-CF2NANsy.d.ts} +0 -0
- /package/dist/{YX-BvGmEsVG.d.ts → YX-B51BbNSg.d.ts} +0 -0
- /package/dist/{ZX-B59AJcBY.d.ts → ZX-BMJS1iAv.d.ts} +0 -0
- /package/dist/{payment-modes-DA7uBIGb.d.ts → payment-modes-BOTSRC_X.d.ts} +0 -0
- /package/dist/{signatures-CG175mpg.d.ts → signatures-W-_brwdb.d.ts} +0 -0
- /package/dist/{state-codes-dvoTe5pC.d.ts → state-codes-oeFKlwXZ.d.ts} +0 -0
- /package/dist/{tax-types-tosH5I0q.d.ts → tax-types-CsQ76JMf.d.ts} +0 -0
package/dist/types/unit/LX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_LX, UnitTypeCode_LX } from "../../LX-
|
|
1
|
+
import { UnitTypeCodeEnum_LX, UnitTypeCode_LX } from "../../LX-DeXPPWUX.js";
|
|
2
2
|
export { UnitTypeCodeEnum_LX, UnitTypeCode_LX };
|
package/dist/types/unit/MX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_MX, UnitTypeCode_MX } from "../../MX-
|
|
1
|
+
import { UnitTypeCodeEnum_MX, UnitTypeCode_MX } from "../../MX-CKMjg_zK.js";
|
|
2
2
|
export { UnitTypeCodeEnum_MX, UnitTypeCode_MX };
|
package/dist/types/unit/NX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_NX, UnitTypeCode_NX } from "../../NX-
|
|
1
|
+
import { UnitTypeCodeEnum_NX, UnitTypeCode_NX } from "../../NX-oYdb4NDo.js";
|
|
2
2
|
export { UnitTypeCodeEnum_NX, UnitTypeCode_NX };
|
package/dist/types/unit/OX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_OX, UnitTypeCode_OX } from "../../OX-
|
|
1
|
+
import { UnitTypeCodeEnum_OX, UnitTypeCode_OX } from "../../OX-Bid9es3D.js";
|
|
2
2
|
export { UnitTypeCodeEnum_OX, UnitTypeCode_OX };
|
package/dist/types/unit/PX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_PX, UnitTypeCode_PX } from "../../PX-
|
|
1
|
+
import { UnitTypeCodeEnum_PX, UnitTypeCode_PX } from "../../PX-D7jy9CFk.js";
|
|
2
2
|
export { UnitTypeCodeEnum_PX, UnitTypeCode_PX };
|
package/dist/types/unit/QX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_QX, UnitTypeCode_QX } from "../../QX-
|
|
1
|
+
import { UnitTypeCodeEnum_QX, UnitTypeCode_QX } from "../../QX-BFWOR4g3.js";
|
|
2
2
|
export { UnitTypeCodeEnum_QX, UnitTypeCode_QX };
|
package/dist/types/unit/RX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_RX, UnitTypeCode_RX } from "../../RX-
|
|
1
|
+
import { UnitTypeCodeEnum_RX, UnitTypeCode_RX } from "../../RX-XHgCyMV1.js";
|
|
2
2
|
export { UnitTypeCodeEnum_RX, UnitTypeCode_RX };
|
package/dist/types/unit/SX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_SX, UnitTypeCode_SX } from "../../SX-
|
|
1
|
+
import { UnitTypeCodeEnum_SX, UnitTypeCode_SX } from "../../SX-Cl8RN8oH.js";
|
|
2
2
|
export { UnitTypeCodeEnum_SX, UnitTypeCode_SX };
|
package/dist/types/unit/TX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_TX, UnitTypeCode_TX } from "../../TX-
|
|
1
|
+
import { UnitTypeCodeEnum_TX, UnitTypeCode_TX } from "../../TX-ZymoIbtr.js";
|
|
2
2
|
export { UnitTypeCodeEnum_TX, UnitTypeCode_TX };
|
package/dist/types/unit/UX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_UX, UnitTypeCode_UX } from "../../UX-
|
|
1
|
+
import { UnitTypeCodeEnum_UX, UnitTypeCode_UX } from "../../UX-D-Ndd1ov.js";
|
|
2
2
|
export { UnitTypeCodeEnum_UX, UnitTypeCode_UX };
|
package/dist/types/unit/VX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_VX, UnitTypeCode_VX } from "../../VX-
|
|
1
|
+
import { UnitTypeCodeEnum_VX, UnitTypeCode_VX } from "../../VX-B-1b34r7.js";
|
|
2
2
|
export { UnitTypeCodeEnum_VX, UnitTypeCode_VX };
|
package/dist/types/unit/WX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_WX, UnitTypeCode_WX } from "../../WX-
|
|
1
|
+
import { UnitTypeCodeEnum_WX, UnitTypeCode_WX } from "../../WX-0GuMjPNZ.js";
|
|
2
2
|
export { UnitTypeCodeEnum_WX, UnitTypeCode_WX };
|
package/dist/types/unit/XX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_XX, UnitTypeCode_XX } from "../../XX-
|
|
1
|
+
import { UnitTypeCodeEnum_XX, UnitTypeCode_XX } from "../../XX-CF2NANsy.js";
|
|
2
2
|
export { UnitTypeCodeEnum_XX, UnitTypeCode_XX };
|
package/dist/types/unit/YX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_YX, UnitTypeCode_YX } from "../../YX-
|
|
1
|
+
import { UnitTypeCodeEnum_YX, UnitTypeCode_YX } from "../../YX-B51BbNSg.js";
|
|
2
2
|
export { UnitTypeCodeEnum_YX, UnitTypeCode_YX };
|
package/dist/types/unit/ZX.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnitTypeCodeEnum_ZX, UnitTypeCode_ZX } from "../../ZX-
|
|
1
|
+
import { UnitTypeCodeEnum_ZX, UnitTypeCode_ZX } from "../../ZX-BMJS1iAv.js";
|
|
2
2
|
export { UnitTypeCodeEnum_ZX, UnitTypeCode_ZX };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import "../1X-
|
|
2
|
-
import "../2X-
|
|
3
|
-
import "../3X-
|
|
4
|
-
import "../4X-
|
|
5
|
-
import "../5X-
|
|
6
|
-
import "../6X-
|
|
7
|
-
import "../7X-
|
|
8
|
-
import "../8X-
|
|
9
|
-
import "../9X-
|
|
10
|
-
import "../AX-
|
|
11
|
-
import "../BX-
|
|
12
|
-
import "../CX-
|
|
13
|
-
import "../DX-
|
|
14
|
-
import "../EX-
|
|
15
|
-
import "../FX-
|
|
16
|
-
import "../GX-
|
|
17
|
-
import "../HX-
|
|
18
|
-
import "../IX-
|
|
19
|
-
import "../JX-
|
|
20
|
-
import "../KX-
|
|
21
|
-
import "../LX-
|
|
22
|
-
import "../MX-
|
|
23
|
-
import "../NX-
|
|
24
|
-
import "../OX-
|
|
25
|
-
import "../PX-
|
|
26
|
-
import "../QX-
|
|
27
|
-
import "../RX-
|
|
28
|
-
import "../SX-
|
|
29
|
-
import "../TX-
|
|
30
|
-
import "../UX-
|
|
31
|
-
import "../VX-
|
|
32
|
-
import "../WX-
|
|
33
|
-
import "../YX-
|
|
34
|
-
import "../ZX-
|
|
35
|
-
import "../XX-
|
|
36
|
-
import { UnitType, UnitTypeCode } from "../unit-types-
|
|
1
|
+
import "../1X-BywXCqtn.js";
|
|
2
|
+
import "../2X-3fSEGIuE.js";
|
|
3
|
+
import "../3X-Ynjfgoll.js";
|
|
4
|
+
import "../4X-B5ePdMky.js";
|
|
5
|
+
import "../5X-dhP6fyou.js";
|
|
6
|
+
import "../6X-BHaY0TCf.js";
|
|
7
|
+
import "../7X-C4eX_tAk.js";
|
|
8
|
+
import "../8X-D6HTLShY.js";
|
|
9
|
+
import "../9X-CHZKsIdD.js";
|
|
10
|
+
import "../AX-C0w_r3PA.js";
|
|
11
|
+
import "../BX-RadlZ-6m.js";
|
|
12
|
+
import "../CX-CT1Zzb9D.js";
|
|
13
|
+
import "../DX-CtUeTKMM.js";
|
|
14
|
+
import "../EX-084Yu7Wt.js";
|
|
15
|
+
import "../FX-BrbQM0CW.js";
|
|
16
|
+
import "../GX-gKj8iAAh.js";
|
|
17
|
+
import "../HX-9D-ZXTy5.js";
|
|
18
|
+
import "../IX-DR4Fc92A.js";
|
|
19
|
+
import "../JX-DIKa9ma-.js";
|
|
20
|
+
import "../KX-DpsJ_unT.js";
|
|
21
|
+
import "../LX-DeXPPWUX.js";
|
|
22
|
+
import "../MX-CKMjg_zK.js";
|
|
23
|
+
import "../NX-oYdb4NDo.js";
|
|
24
|
+
import "../OX-Bid9es3D.js";
|
|
25
|
+
import "../PX-D7jy9CFk.js";
|
|
26
|
+
import "../QX-BFWOR4g3.js";
|
|
27
|
+
import "../RX-XHgCyMV1.js";
|
|
28
|
+
import "../SX-Cl8RN8oH.js";
|
|
29
|
+
import "../TX-ZymoIbtr.js";
|
|
30
|
+
import "../UX-D-Ndd1ov.js";
|
|
31
|
+
import "../VX-B-1b34r7.js";
|
|
32
|
+
import "../WX-0GuMjPNZ.js";
|
|
33
|
+
import "../YX-B51BbNSg.js";
|
|
34
|
+
import "../ZX-BMJS1iAv.js";
|
|
35
|
+
import "../XX-CF2NANsy.js";
|
|
36
|
+
import { UnitType, UnitTypeCode } from "../unit-types-B41YFOLT.js";
|
|
37
37
|
export { UnitType, UnitTypeCode };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { UnitTypeCode_1X } from "./1X-BywXCqtn.js";
|
|
2
|
+
import { UnitTypeCode_2X } from "./2X-3fSEGIuE.js";
|
|
3
|
+
import { UnitTypeCode_3X } from "./3X-Ynjfgoll.js";
|
|
4
|
+
import { UnitTypeCode_4X } from "./4X-B5ePdMky.js";
|
|
5
|
+
import { UnitTypeCode_5X } from "./5X-dhP6fyou.js";
|
|
6
|
+
import { UnitTypeCode_6X } from "./6X-BHaY0TCf.js";
|
|
7
|
+
import { UnitTypeCode_7X } from "./7X-C4eX_tAk.js";
|
|
8
|
+
import { UnitTypeCode_8X } from "./8X-D6HTLShY.js";
|
|
9
|
+
import { UnitTypeCode_9X } from "./9X-CHZKsIdD.js";
|
|
10
|
+
import { UnitTypeCode_AX } from "./AX-C0w_r3PA.js";
|
|
11
|
+
import { UnitTypeCode_BX } from "./BX-RadlZ-6m.js";
|
|
12
|
+
import { UnitTypeCode_CX } from "./CX-CT1Zzb9D.js";
|
|
13
|
+
import { UnitTypeCode_DX } from "./DX-CtUeTKMM.js";
|
|
14
|
+
import { UnitTypeCode_EX } from "./EX-084Yu7Wt.js";
|
|
15
|
+
import { UnitTypeCode_FX } from "./FX-BrbQM0CW.js";
|
|
16
|
+
import { UnitTypeCode_GX } from "./GX-gKj8iAAh.js";
|
|
17
|
+
import { UnitTypeCode_HX } from "./HX-9D-ZXTy5.js";
|
|
18
|
+
import { UnitTypeCode_IX } from "./IX-DR4Fc92A.js";
|
|
19
|
+
import { UnitTypeCode_JX } from "./JX-DIKa9ma-.js";
|
|
20
|
+
import { UnitTypeCode_KX } from "./KX-DpsJ_unT.js";
|
|
21
|
+
import { UnitTypeCode_LX } from "./LX-DeXPPWUX.js";
|
|
22
|
+
import { UnitTypeCode_MX } from "./MX-CKMjg_zK.js";
|
|
23
|
+
import { UnitTypeCode_NX } from "./NX-oYdb4NDo.js";
|
|
24
|
+
import { UnitTypeCode_OX } from "./OX-Bid9es3D.js";
|
|
25
|
+
import { UnitTypeCode_PX } from "./PX-D7jy9CFk.js";
|
|
26
|
+
import { UnitTypeCode_QX } from "./QX-BFWOR4g3.js";
|
|
27
|
+
import { UnitTypeCode_RX } from "./RX-XHgCyMV1.js";
|
|
28
|
+
import { UnitTypeCode_SX } from "./SX-Cl8RN8oH.js";
|
|
29
|
+
import { UnitTypeCode_TX } from "./TX-ZymoIbtr.js";
|
|
30
|
+
import { UnitTypeCode_UX } from "./UX-D-Ndd1ov.js";
|
|
31
|
+
import { UnitTypeCode_VX } from "./VX-B-1b34r7.js";
|
|
32
|
+
import { UnitTypeCode_WX } from "./WX-0GuMjPNZ.js";
|
|
33
|
+
import { UnitTypeCode_YX } from "./YX-B51BbNSg.js";
|
|
34
|
+
import { UnitTypeCode_ZX } from "./ZX-BMJS1iAv.js";
|
|
35
|
+
import { UnitTypeCode_XX } from "./XX-CF2NANsy.js";
|
|
36
|
+
|
|
37
|
+
//#region src/types/unit-types.d.ts
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Represents the allowed codes for Unit of Measurement types.
|
|
41
|
+
* Based on UN/ECE Recommendation 20, Revision 17 (2021) as per the documentation:
|
|
42
|
+
* https://sdk.myinvois.hasil.gov.my/codes/unit-types/
|
|
43
|
+
*/
|
|
44
|
+
type UnitTypeCode = UnitTypeCode_1X | UnitTypeCode_2X | UnitTypeCode_3X | UnitTypeCode_4X | UnitTypeCode_5X | UnitTypeCode_6X | UnitTypeCode_7X | UnitTypeCode_8X | UnitTypeCode_9X | UnitTypeCode_AX | UnitTypeCode_BX | UnitTypeCode_CX | UnitTypeCode_DX | UnitTypeCode_EX | UnitTypeCode_FX | UnitTypeCode_GX | UnitTypeCode_HX | UnitTypeCode_IX | UnitTypeCode_JX | UnitTypeCode_KX | UnitTypeCode_LX | UnitTypeCode_MX | UnitTypeCode_NX | UnitTypeCode_OX | UnitTypeCode_PX | UnitTypeCode_QX | UnitTypeCode_RX | UnitTypeCode_SX | UnitTypeCode_TX | UnitTypeCode_UX | UnitTypeCode_VX | UnitTypeCode_WX | UnitTypeCode_YX | UnitTypeCode_ZX | UnitTypeCode_XX;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Interface representing a Unit of Measurement entry.
|
|
48
|
+
* Contains the code and its corresponding name.
|
|
49
|
+
*/
|
|
50
|
+
interface UnitType {
|
|
51
|
+
code: UnitTypeCode;
|
|
52
|
+
name: string;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { UnitType, UnitTypeCode };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { UnitTypeCode_1X } from "./1X-ClnJ79HH.cjs";
|
|
2
|
+
import { UnitTypeCode_2X } from "./2X-CV9eYhog.cjs";
|
|
3
|
+
import { UnitTypeCode_3X } from "./3X--VWVsC84.cjs";
|
|
4
|
+
import { UnitTypeCode_4X } from "./4X-By9PzHaY.cjs";
|
|
5
|
+
import { UnitTypeCode_5X } from "./5X-B5M0Cv_K.cjs";
|
|
6
|
+
import { UnitTypeCode_6X } from "./6X-C3elgd-n.cjs";
|
|
7
|
+
import { UnitTypeCode_7X } from "./7X-D3idQBl9.cjs";
|
|
8
|
+
import { UnitTypeCode_8X } from "./8X-C6UMFvQW.cjs";
|
|
9
|
+
import { UnitTypeCode_9X } from "./9X-CJjPJgIG.cjs";
|
|
10
|
+
import { UnitTypeCode_AX } from "./AX-DrEd2Ov6.cjs";
|
|
11
|
+
import { UnitTypeCode_BX } from "./BX-C5jc6myN.cjs";
|
|
12
|
+
import { UnitTypeCode_CX } from "./CX-oSgvmn3h.cjs";
|
|
13
|
+
import { UnitTypeCode_DX } from "./DX-ZIG0enmK.cjs";
|
|
14
|
+
import { UnitTypeCode_EX } from "./EX-BpWZ5ADq.cjs";
|
|
15
|
+
import { UnitTypeCode_FX } from "./FX-CvYBEc51.cjs";
|
|
16
|
+
import { UnitTypeCode_GX } from "./GX-CU8PZy0G.cjs";
|
|
17
|
+
import { UnitTypeCode_HX } from "./HX-DoEErDeE.cjs";
|
|
18
|
+
import { UnitTypeCode_IX } from "./IX-jLAUHe8i.cjs";
|
|
19
|
+
import { UnitTypeCode_JX } from "./JX-DX8BjYQC.cjs";
|
|
20
|
+
import { UnitTypeCode_KX } from "./KX-fZb4_vhw.cjs";
|
|
21
|
+
import { UnitTypeCode_LX } from "./LX-D_mI1bk-.cjs";
|
|
22
|
+
import { UnitTypeCode_MX } from "./MX-DlYZhpkT.cjs";
|
|
23
|
+
import { UnitTypeCode_NX } from "./NX-DELEEbad.cjs";
|
|
24
|
+
import { UnitTypeCode_OX } from "./OX-CKPyrIFf.cjs";
|
|
25
|
+
import { UnitTypeCode_PX } from "./PX-SP6NxBtG.cjs";
|
|
26
|
+
import { UnitTypeCode_QX } from "./QX-QZA7E2O-.cjs";
|
|
27
|
+
import { UnitTypeCode_RX } from "./RX-DBcgbdeE.cjs";
|
|
28
|
+
import { UnitTypeCode_SX } from "./SX-DmiJeCMN.cjs";
|
|
29
|
+
import { UnitTypeCode_TX } from "./TX-C1SoDobK.cjs";
|
|
30
|
+
import { UnitTypeCode_UX } from "./UX-DFVynFhQ.cjs";
|
|
31
|
+
import { UnitTypeCode_VX } from "./VX-DsRum5k3.cjs";
|
|
32
|
+
import { UnitTypeCode_WX } from "./WX-VReU5R5M.cjs";
|
|
33
|
+
import { UnitTypeCode_YX } from "./YX-QfzeMEKx.cjs";
|
|
34
|
+
import { UnitTypeCode_ZX } from "./ZX-Ca2E726a.cjs";
|
|
35
|
+
import { UnitTypeCode_XX } from "./XX-ChAviUMj.cjs";
|
|
36
|
+
|
|
37
|
+
//#region src/types/unit-types.d.ts
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Represents the allowed codes for Unit of Measurement types.
|
|
41
|
+
* Based on UN/ECE Recommendation 20, Revision 17 (2021) as per the documentation:
|
|
42
|
+
* https://sdk.myinvois.hasil.gov.my/codes/unit-types/
|
|
43
|
+
*/
|
|
44
|
+
type UnitTypeCode = UnitTypeCode_1X | UnitTypeCode_2X | UnitTypeCode_3X | UnitTypeCode_4X | UnitTypeCode_5X | UnitTypeCode_6X | UnitTypeCode_7X | UnitTypeCode_8X | UnitTypeCode_9X | UnitTypeCode_AX | UnitTypeCode_BX | UnitTypeCode_CX | UnitTypeCode_DX | UnitTypeCode_EX | UnitTypeCode_FX | UnitTypeCode_GX | UnitTypeCode_HX | UnitTypeCode_IX | UnitTypeCode_JX | UnitTypeCode_KX | UnitTypeCode_LX | UnitTypeCode_MX | UnitTypeCode_NX | UnitTypeCode_OX | UnitTypeCode_PX | UnitTypeCode_QX | UnitTypeCode_RX | UnitTypeCode_SX | UnitTypeCode_TX | UnitTypeCode_UX | UnitTypeCode_VX | UnitTypeCode_WX | UnitTypeCode_YX | UnitTypeCode_ZX | UnitTypeCode_XX;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Interface representing a Unit of Measurement entry.
|
|
48
|
+
* Contains the code and its corresponding name.
|
|
49
|
+
*/
|
|
50
|
+
interface UnitType {
|
|
51
|
+
code: UnitTypeCode;
|
|
52
|
+
name: string;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { UnitType, UnitTypeCode };
|
|
56
|
+
//# sourceMappingURL=unit-types-CjWNk2wS.d.cts.map
|
package/dist/utils/document.d.ts
CHANGED
|
@@ -2,58 +2,58 @@ import "../classification-codes-BKxV-rO9.js";
|
|
|
2
2
|
import "../country-code-CQuaiQm2.js";
|
|
3
3
|
import "../currencies-BYJK-m6v.js";
|
|
4
4
|
import "../e-invoice-CmbLQkHw.js";
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import "../
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
21
|
-
import "../
|
|
22
|
-
import "../
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import "../
|
|
29
|
-
import "../
|
|
30
|
-
import "../
|
|
31
|
-
import "../
|
|
32
|
-
import "../
|
|
33
|
-
import "../
|
|
34
|
-
import "../
|
|
35
|
-
import "../
|
|
36
|
-
import "../
|
|
37
|
-
import "../
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
40
|
-
import "../
|
|
41
|
-
import "../
|
|
42
|
-
import "../
|
|
43
|
-
import "../
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import "../
|
|
48
|
-
import "../
|
|
49
|
-
import "../
|
|
50
|
-
import "../
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import "../
|
|
55
|
-
import "../
|
|
56
|
-
import "../
|
|
5
|
+
import "../0X-CTIq3y3a.js";
|
|
6
|
+
import "../1X-Bu4oiv8D.js";
|
|
7
|
+
import "../2X-DnG3FY1f.js";
|
|
8
|
+
import "../3X-CLdmoel1.js";
|
|
9
|
+
import "../4X-BTG6o1Gn.js";
|
|
10
|
+
import "../5X-CjSz1zxJ.js";
|
|
11
|
+
import "../6X-B9KP_vEn.js";
|
|
12
|
+
import "../7X-DtkQutx2.js";
|
|
13
|
+
import "../8X-5n9seY3z.js";
|
|
14
|
+
import "../9X-Cpb6V4JC.js";
|
|
15
|
+
import "../msic-codes-C8PJVOaA.js";
|
|
16
|
+
import "../signatures-W-_brwdb.js";
|
|
17
|
+
import "../tax-types-CsQ76JMf.js";
|
|
18
|
+
import { CompleteInvoice, InvoiceSubmission, InvoiceV1_1, SignedInfoObject, SignedPropertiesObject, SigningCredentials, UBLDocument } from "../documents-CJ8hqIGH.js";
|
|
19
|
+
import "../payment-modes-BOTSRC_X.js";
|
|
20
|
+
import "../1X-BywXCqtn.js";
|
|
21
|
+
import "../2X-3fSEGIuE.js";
|
|
22
|
+
import "../3X-Ynjfgoll.js";
|
|
23
|
+
import "../4X-B5ePdMky.js";
|
|
24
|
+
import "../5X-dhP6fyou.js";
|
|
25
|
+
import "../6X-BHaY0TCf.js";
|
|
26
|
+
import "../7X-C4eX_tAk.js";
|
|
27
|
+
import "../8X-D6HTLShY.js";
|
|
28
|
+
import "../9X-CHZKsIdD.js";
|
|
29
|
+
import "../AX-C0w_r3PA.js";
|
|
30
|
+
import "../BX-RadlZ-6m.js";
|
|
31
|
+
import "../CX-CT1Zzb9D.js";
|
|
32
|
+
import "../DX-CtUeTKMM.js";
|
|
33
|
+
import "../EX-084Yu7Wt.js";
|
|
34
|
+
import "../FX-BrbQM0CW.js";
|
|
35
|
+
import "../GX-gKj8iAAh.js";
|
|
36
|
+
import "../HX-9D-ZXTy5.js";
|
|
37
|
+
import "../IX-DR4Fc92A.js";
|
|
38
|
+
import "../JX-DIKa9ma-.js";
|
|
39
|
+
import "../KX-DpsJ_unT.js";
|
|
40
|
+
import "../LX-DeXPPWUX.js";
|
|
41
|
+
import "../MX-CKMjg_zK.js";
|
|
42
|
+
import "../NX-oYdb4NDo.js";
|
|
43
|
+
import "../OX-Bid9es3D.js";
|
|
44
|
+
import "../PX-D7jy9CFk.js";
|
|
45
|
+
import "../QX-BFWOR4g3.js";
|
|
46
|
+
import "../RX-XHgCyMV1.js";
|
|
47
|
+
import "../SX-Cl8RN8oH.js";
|
|
48
|
+
import "../TX-ZymoIbtr.js";
|
|
49
|
+
import "../UX-D-Ndd1ov.js";
|
|
50
|
+
import "../VX-B-1b34r7.js";
|
|
51
|
+
import "../WX-0GuMjPNZ.js";
|
|
52
|
+
import "../YX-B51BbNSg.js";
|
|
53
|
+
import "../ZX-BMJS1iAv.js";
|
|
54
|
+
import "../XX-CF2NANsy.js";
|
|
55
|
+
import "../unit-types-B41YFOLT.js";
|
|
56
|
+
import "../state-codes-oeFKlwXZ.js";
|
|
57
57
|
import "../index-0-EvC6Nv.js";
|
|
58
58
|
|
|
59
59
|
//#region src/utils/document.d.ts
|
package/dist/utils/document.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { calculateCertificateDigest, calculateDocumentDigest, calculateSignedPropertiesDigest, canonicalizeJSON, createSignedInfoAndSign, createSignedProperties, extractCertificateInfo, generateCleanInvoiceObject, generateCleanUBLDocument, generateCompleteDocument, sortObjectKeys } from "../document-
|
|
1
|
+
import { calculateCertificateDigest, calculateDocumentDigest, calculateSignedPropertiesDigest, canonicalizeJSON, createSignedInfoAndSign, createSignedProperties, extractCertificateInfo, generateCleanInvoiceObject, generateCleanUBLDocument, generateCompleteDocument, sortObjectKeys } from "../document-D6VKMAtx.js";
|
|
2
2
|
|
|
3
3
|
export { calculateCertificateDigest, calculateDocumentDigest, calculateSignedPropertiesDigest, canonicalizeJSON, createSignedInfoAndSign, createSignedProperties, extractCertificateInfo, generateCleanInvoiceObject, generateCleanUBLDocument, generateCompleteDocument, sortObjectKeys };
|
|
@@ -2,58 +2,58 @@ import "../classification-codes-BKxV-rO9.js";
|
|
|
2
2
|
import "../country-code-CQuaiQm2.js";
|
|
3
3
|
import "../currencies-BYJK-m6v.js";
|
|
4
4
|
import "../e-invoice-CmbLQkHw.js";
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import
|
|
8
|
-
import "../
|
|
9
|
-
import "../
|
|
10
|
-
import "../
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import "../
|
|
14
|
-
import "../
|
|
15
|
-
import "../
|
|
16
|
-
import "../
|
|
17
|
-
import "../
|
|
18
|
-
import "../
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
21
|
-
import "../
|
|
22
|
-
import "../
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import "../
|
|
29
|
-
import "../
|
|
30
|
-
import "../
|
|
31
|
-
import "../
|
|
32
|
-
import "../
|
|
33
|
-
import "../
|
|
34
|
-
import "../
|
|
35
|
-
import "../
|
|
36
|
-
import "../
|
|
37
|
-
import "../
|
|
38
|
-
import "../
|
|
39
|
-
import "../
|
|
40
|
-
import "../
|
|
41
|
-
import "../
|
|
42
|
-
import "../
|
|
43
|
-
import "../
|
|
44
|
-
import "../
|
|
45
|
-
import "../
|
|
46
|
-
import "../
|
|
47
|
-
import "../
|
|
48
|
-
import "../
|
|
49
|
-
import "../
|
|
50
|
-
import "../
|
|
51
|
-
import "../
|
|
52
|
-
import "../
|
|
53
|
-
import "../
|
|
54
|
-
import "../
|
|
55
|
-
import "../
|
|
56
|
-
import "../
|
|
5
|
+
import "../0X-CTIq3y3a.js";
|
|
6
|
+
import "../1X-Bu4oiv8D.js";
|
|
7
|
+
import "../2X-DnG3FY1f.js";
|
|
8
|
+
import "../3X-CLdmoel1.js";
|
|
9
|
+
import "../4X-BTG6o1Gn.js";
|
|
10
|
+
import "../5X-CjSz1zxJ.js";
|
|
11
|
+
import "../6X-B9KP_vEn.js";
|
|
12
|
+
import "../7X-DtkQutx2.js";
|
|
13
|
+
import "../8X-5n9seY3z.js";
|
|
14
|
+
import "../9X-Cpb6V4JC.js";
|
|
15
|
+
import "../msic-codes-C8PJVOaA.js";
|
|
16
|
+
import "../signatures-W-_brwdb.js";
|
|
17
|
+
import "../tax-types-CsQ76JMf.js";
|
|
18
|
+
import { InvoiceV1_1 } from "../documents-CJ8hqIGH.js";
|
|
19
|
+
import "../payment-modes-BOTSRC_X.js";
|
|
20
|
+
import "../1X-BywXCqtn.js";
|
|
21
|
+
import "../2X-3fSEGIuE.js";
|
|
22
|
+
import "../3X-Ynjfgoll.js";
|
|
23
|
+
import "../4X-B5ePdMky.js";
|
|
24
|
+
import "../5X-dhP6fyou.js";
|
|
25
|
+
import "../6X-BHaY0TCf.js";
|
|
26
|
+
import "../7X-C4eX_tAk.js";
|
|
27
|
+
import "../8X-D6HTLShY.js";
|
|
28
|
+
import "../9X-CHZKsIdD.js";
|
|
29
|
+
import "../AX-C0w_r3PA.js";
|
|
30
|
+
import "../BX-RadlZ-6m.js";
|
|
31
|
+
import "../CX-CT1Zzb9D.js";
|
|
32
|
+
import "../DX-CtUeTKMM.js";
|
|
33
|
+
import "../EX-084Yu7Wt.js";
|
|
34
|
+
import "../FX-BrbQM0CW.js";
|
|
35
|
+
import "../GX-gKj8iAAh.js";
|
|
36
|
+
import "../HX-9D-ZXTy5.js";
|
|
37
|
+
import "../IX-DR4Fc92A.js";
|
|
38
|
+
import "../JX-DIKa9ma-.js";
|
|
39
|
+
import "../KX-DpsJ_unT.js";
|
|
40
|
+
import "../LX-DeXPPWUX.js";
|
|
41
|
+
import "../MX-CKMjg_zK.js";
|
|
42
|
+
import "../NX-oYdb4NDo.js";
|
|
43
|
+
import "../OX-Bid9es3D.js";
|
|
44
|
+
import "../PX-D7jy9CFk.js";
|
|
45
|
+
import "../QX-BFWOR4g3.js";
|
|
46
|
+
import "../RX-XHgCyMV1.js";
|
|
47
|
+
import "../SX-Cl8RN8oH.js";
|
|
48
|
+
import "../TX-ZymoIbtr.js";
|
|
49
|
+
import "../UX-D-Ndd1ov.js";
|
|
50
|
+
import "../VX-B-1b34r7.js";
|
|
51
|
+
import "../WX-0GuMjPNZ.js";
|
|
52
|
+
import "../YX-B51BbNSg.js";
|
|
53
|
+
import "../ZX-BMJS1iAv.js";
|
|
54
|
+
import "../XX-CF2NANsy.js";
|
|
55
|
+
import "../unit-types-B41YFOLT.js";
|
|
56
|
+
import "../state-codes-oeFKlwXZ.js";
|
|
57
57
|
import "../index-0-EvC6Nv.js";
|
|
58
58
|
|
|
59
59
|
//#region src/utils/signature-diagnostics.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { calculateCertificateDigest, calculateDocumentDigest, calculateSignedPropertiesDigest, createSignedProperties, extractCertificateInfo } from "../document-
|
|
1
|
+
import { calculateCertificateDigest, calculateDocumentDigest, calculateSignedPropertiesDigest, createSignedProperties, extractCertificateInfo } from "../document-D6VKMAtx.js";
|
|
2
2
|
import crypto from "crypto";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/signature-diagnostics.ts
|
package/package.json
CHANGED
package/src/types/documents.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ClassificationCode } from './classification-codes.d.ts'
|
|
2
2
|
import type { CurrencyCode } from './currencies.d.ts'
|
|
3
|
+
import type { EInvoiceTypeCode } from './e-invoice.d.ts'
|
|
4
|
+
import type { MSICCode } from './msic-codes.d.ts'
|
|
3
5
|
import type { IssuerDigitalSignature } from './signatures.d.ts'
|
|
6
|
+
import type { Suggested } from './utils.d.ts'
|
|
4
7
|
import type { TaxTypeCode } from './tax-types.d.ts'
|
|
5
|
-
import type { CountryCode } from './country-code.d.ts'
|
|
6
|
-
import type { ClassificationCode } from './classification-codes.d.ts'
|
|
7
|
-
import type { UnitTypeCode } from './unit-types.d.ts'
|
|
8
|
-
import type { PaymentModeCode } from './payment-modes.d.ts'
|
|
9
|
-
import type { MSICCode } from './msic-codes.d.ts'
|
|
10
8
|
|
|
11
9
|
export type RegistrationType = 'BRN' | 'NRIC' | 'PASSPORT'
|
|
12
10
|
|
|
@@ -59,6 +57,16 @@ export interface Supplier {
|
|
|
59
57
|
* @example +60123456789
|
|
60
58
|
*/
|
|
61
59
|
contactNumber: string
|
|
60
|
+
/**
|
|
61
|
+
* Supplier's industry classification code. Max 10 chars.
|
|
62
|
+
* @example 41001
|
|
63
|
+
*/
|
|
64
|
+
industryClassificationCode: MSICCode['code']
|
|
65
|
+
/**
|
|
66
|
+
* Supplier's industry classification description. Max 300 chars.
|
|
67
|
+
* @example Other retail sale in non-specialised stores
|
|
68
|
+
*/
|
|
69
|
+
industryClassificationDescription: Suggested<MSICCode['description']>
|
|
62
70
|
}
|
|
63
71
|
|
|
64
72
|
/**
|
package/src/utils/document.ts
CHANGED
|
@@ -81,8 +81,8 @@ export const generateCleanInvoiceObject = (
|
|
|
81
81
|
// Industry Classification - required field
|
|
82
82
|
IndustryClassificationCode: [
|
|
83
83
|
{
|
|
84
|
-
_:
|
|
85
|
-
name:
|
|
84
|
+
_: invoice.supplier.industryClassificationCode,
|
|
85
|
+
name: invoice.supplier.industryClassificationDescription,
|
|
86
86
|
},
|
|
87
87
|
],
|
|
88
88
|
|
|
@@ -44,6 +44,8 @@ const createMinimalTestInvoice = (): InvoiceV1_1 => {
|
|
|
44
44
|
state: '14', // Wilayah Persekutuan Kuala Lumpur
|
|
45
45
|
country: 'MYS',
|
|
46
46
|
},
|
|
47
|
+
industryClassificationCode: '41001',
|
|
48
|
+
industryClassificationDescription: 'Test Industry',
|
|
47
49
|
},
|
|
48
50
|
|
|
49
51
|
// === BUYER (using consolidated buyer for testing) ===
|