1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | var DocumentScheme = function() {
|
9 | return {
|
10 | "system_transaction_id": "0",
|
11 | "merchant_unique_purchase_id": "0",
|
12 | "related_system_transaction_id": "0",
|
13 | "related_merchant_unique_purchase_id": "0",
|
14 | "related_purchase_processing_item_id": "0",
|
15 | "most_outer_transaction_id": "0",
|
16 | "fiscal_transcation_id": "0",
|
17 | "POS_id": "0",
|
18 | "last_modificationtype_date": "0",
|
19 | "last_modificationtype_borgtime": "0",
|
20 | "request_date": "0",
|
21 | "request_borgtime": "0",
|
22 | "completion_or_reject_date": "0",
|
23 | "completion_or_reject_borgtime": "0",
|
24 | "purchase_processing_item_state": "0",
|
25 | "amount": "0",
|
26 | "entry_type": "0",
|
27 | "user_payer_idn": "",
|
28 | "user_receiver_idn": "",
|
29 | "cashier_name": "",
|
30 | "beneficiary_id": "",
|
31 | "sales_document_data": {
|
32 | "sales_document_id": "",
|
33 | "sales_document_date": 0,
|
34 | "trade_date": 0,
|
35 | "total_amount_net": 0,
|
36 | "total_amount_gross": 0,
|
37 | "seller_data": {
|
38 | "company": {
|
39 | "name": "Default",
|
40 | "NIP": "",
|
41 | "REGON": "",
|
42 | "KRS": ""
|
43 | },
|
44 | "person": {
|
45 | "first_name": "Default",
|
46 | "last_name": "",
|
47 | "PESEL": ""
|
48 | },
|
49 | "address": {
|
50 | "street": "Default",
|
51 | "city": "Default",
|
52 | "zip": "00-000",
|
53 | "country": ""
|
54 | },
|
55 | "fax": "",
|
56 | "www": "",
|
57 | "email": ""
|
58 | },
|
59 | "items": [],
|
60 | "delivery_option": {
|
61 | "delivery_id": "",
|
62 | "delivery_description": "",
|
63 | "delivery_kind": "",
|
64 | "delivery_price_net": 0,
|
65 | "vat": {
|
66 | "percent": 0,
|
67 | "amount": 0
|
68 | },
|
69 | "delivery_price_gross": 0,
|
70 | "estimated_delivery_date": 0
|
71 | }
|
72 | },
|
73 | "notes": "",
|
74 | "extra_json": "",
|
75 | "reserved": ""
|
76 | };
|
77 | };
|
78 |
|
79 | module.exports = DocumentScheme;
|