Skip to content

Commit fc4dfbd

Browse files
author
Mikhail Kalatchev
committed
2 parents 4bdcadc + 6083b95 commit fc4dfbd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <img src="https://github.com/SKYWARE-Group/ErpNetClient/blob/master/ErpNetClient/Assets/erp-net-fs-client.png" width="48" height="48"/> ErpNetClient
22

3-
This project is a client library for interaction with [ErpNet.FP fiscal server](https://github.com/erpnet/ErpNet.FP). It encapsulates bith data model and http invokations.
3+
This project is a client library for interaction with [ErpNet.FP fiscal server](https://github.com/erpnet/ErpNet.FP). It encapsulates both data model and http invokations.
44

55
## Getting started
66

@@ -17,12 +17,14 @@ var r = new Receipt()
1717
}
1818
};
1919
var c = new Client() { DeviceId = "abc" };
20-
var x = await c.PrintFiscalReceipt(r);
20+
var x = await c.PrintFiscalReceiptAsync(r);
2121
Console.WriteLine($"OK: {x.Ok}, Receipt number: {x.ReceiptNumber}");
2222
```
2323

2424
## CLI usage of the server
2525

26+
Even this command has no relation to the current project, it explains how it works
27+
2628
```bash
2729
curl -i -X POST -H "Content-Type:application/json" -d "{\"uniqueSaleNumber\": \"DT279013-0001-0000052\", \"operator\": \"1\", \"operatorPassword\": \"1\", \"items\": [{\"text\": \"test\", \"quantity\": 1, \"unitPrice\": 1, \"taxGroup\": 1 }], \"payments\": [{\"amount\": 1, \"paymentType\": \"cash\" } ]}" http://localhost:8001/printers/dt797821/receipt/
2830
```

0 commit comments

Comments
 (0)