ksef-client-ts 0.5.1 → 0.5.2
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 +4 -3
- package/dist/cli.js +762 -560
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +845 -738
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -2
- package/dist/index.d.ts +27 -2
- package/dist/index.js +986 -882
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,9 +64,10 @@ const challenge = await client.auth.getChallenge();
|
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
ksef auth login --token "$KSEF_TOKEN" --nip "$KSEF_NIP"
|
|
67
|
-
ksef session open
|
|
68
|
-
ksef invoice send invoice.xml
|
|
69
|
-
ksef session
|
|
67
|
+
ksef session open # 1. Open online session (required)
|
|
68
|
+
ksef invoice send invoice.xml # 2. Send invoice
|
|
69
|
+
ksef session invoices # 3. Verify invoice status
|
|
70
|
+
ksef session close # 4. Close session (optional)
|
|
70
71
|
```
|
|
71
72
|
|
|
72
73
|
See the [documentation](https://flopsstuff.github.io/ksef-client-ts) for full usage, [API reference](https://flopsstuff.github.io/ksef-client-ts/api-reference), and [CLI reference](https://flopsstuff.github.io/ksef-client-ts/cli).
|