uae-einvoice-mcp 0.2.0 → 0.2.1

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 CHANGED
@@ -54,6 +54,21 @@ Paste fixtures from `examples/compliant-invoice.json` or `examples/broken-invoic
54
54
 
55
55
  ### Cursor / Claude Desktop (stdio)
56
56
 
57
+ Published package (recommended):
58
+
59
+ ```json
60
+ {
61
+ "mcpServers": {
62
+ "uae-einvoice": {
63
+ "command": "npx",
64
+ "args": ["-y", "uae-einvoice-mcp"]
65
+ }
66
+ }
67
+ }
68
+ ```
69
+
70
+ Local checkout:
71
+
57
72
  ```json
58
73
  {
59
74
  "mcpServers": {
@@ -65,6 +80,8 @@ Paste fixtures from `examples/compliant-invoice.json` or `examples/broken-invoic
65
80
  }
66
81
  ```
67
82
 
83
+ See also `.cursor/mcp.json.example`.
84
+
68
85
  ## Suggested test flow
69
86
 
70
87
  1. `check_pint_ae_fields` with `examples/compliant-invoice.json`
@@ -76,7 +93,8 @@ Paste fixtures from `examples/compliant-invoice.json` or `examples/broken-invoic
76
93
  - [x] 51-field checklist + PINT AE XML stub generation
77
94
  - [ ] Deeper code-list coverage (UOM, exemption reason codes)
78
95
  - [ ] Optional HTTP + API-key transport for hosted / paid tier
79
- - [ ] Publish to npm and MCP directories
96
+ - [x] Publish to npm (`uae-einvoice-mcp@0.2.1`)
97
+ - [ ] List in MCP registry (`mcp-publisher publish`)
80
98
 
81
99
  ## License
82
100
 
@@ -0,0 +1,26 @@
1
+ {
2
+ "invoiceData": {
3
+ "documentType": "tax_invoice",
4
+ "invoiceNumber": "INV-BAD-1",
5
+ "issueDate": "08/09/2026",
6
+ "currencyCode": "USD",
7
+ "seller": {
8
+ "legalName": "Acme Trading LLC",
9
+ "tin": "1234567890"
10
+ },
11
+ "buyer": {
12
+ "legalName": "Buyer LLC"
13
+ },
14
+ "taxExclusiveTotal": 1000,
15
+ "taxTotal": 50,
16
+ "taxInclusiveTotal": 1100,
17
+ "payableAmount": 1100,
18
+ "lines": [
19
+ {
20
+ "name": "Consulting",
21
+ "quantity": 10,
22
+ "netAmount": 1000
23
+ }
24
+ ]
25
+ }
26
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "invoiceData": {
3
+ "documentType": "tax_invoice",
4
+ "invoiceNumber": "INV-1001",
5
+ "issueDate": "2026-09-08",
6
+ "dueDate": "2026-10-08",
7
+ "currencyCode": "AED",
8
+ "customizationId": "urn:peppol:pint:billing-1@ae-1",
9
+ "profileId": "urn:peppol:bis:billing",
10
+ "typeCode": "380",
11
+ "buyerReference": "PO-7781",
12
+ "seller": {
13
+ "legalName": "Acme Trading LLC",
14
+ "tradeName": "Acme",
15
+ "trn": "123456789312345",
16
+ "tin": "1234567893",
17
+ "countryCode": "AE",
18
+ "addressLine": "Sheikh Zayed Road",
19
+ "cityOrEmirate": "Dubai",
20
+ "postalZone": "00000",
21
+ "contactName": "Fatima Al Blooshi",
22
+ "email": "billing@acme.ae",
23
+ "phone": "+97140000000",
24
+ "peppolId": "0235:1234567893"
25
+ },
26
+ "buyer": {
27
+ "legalName": "Buyer LLC",
28
+ "tradeName": "Buyer",
29
+ "trn": "187654321612345",
30
+ "tin": "1876543216",
31
+ "countryCode": "AE",
32
+ "addressLine": "Al Maryah Island",
33
+ "cityOrEmirate": "Abu Dhabi",
34
+ "email": "ap@buyer.ae",
35
+ "phone": "+97150000000",
36
+ "peppolId": "0235:1876543216"
37
+ },
38
+ "lineNetTotal": 1000,
39
+ "taxExclusiveTotal": 1000,
40
+ "taxTotal": 50,
41
+ "taxInclusiveTotal": 1050,
42
+ "payableAmount": 1050,
43
+ "taxBreakdown": [
44
+ {
45
+ "taxableAmount": 1000,
46
+ "taxAmount": 50,
47
+ "taxCategoryCode": "S",
48
+ "taxPercent": 5
49
+ }
50
+ ],
51
+ "lines": [
52
+ {
53
+ "id": "1",
54
+ "name": "Consulting",
55
+ "quantity": 10,
56
+ "unitCode": "HUR",
57
+ "netAmount": 1000,
58
+ "unitPrice": 100,
59
+ "taxCategoryCode": "S",
60
+ "taxPercent": 5
61
+ }
62
+ ]
63
+ }
64
+ }
package/package.json CHANGED
@@ -1,15 +1,25 @@
1
1
  {
2
2
  "name": "uae-einvoice-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server for UAE e-invoicing / PINT AE: TRN validation, 51-field checklist, XML generation, mandate timeline",
5
+ "mcpName": "io.github.mirzaabubakr/uae-einvoice-mcp",
5
6
  "type": "module",
6
7
  "main": "dist/index.js",
7
8
  "bin": {
8
9
  "uae-einvoice-mcp": "dist/index.js"
9
10
  },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/mirzaabubakr/uae-einvoice-mcp.git"
14
+ },
15
+ "homepage": "https://github.com/mirzaabubakr/uae-einvoice-mcp",
16
+ "bugs": {
17
+ "url": "https://github.com/mirzaabubakr/uae-einvoice-mcp/issues"
18
+ },
10
19
  "files": [
11
20
  "dist",
12
- "README.md"
21
+ "README.md",
22
+ "examples"
13
23
  ],
14
24
  "scripts": {
15
25
  "build": "tsc",