-
Notifications
You must be signed in to change notification settings - Fork 1
/
invoice.jsonc
82 lines (82 loc) · 2.64 KB
/
invoice.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
// Optional string or null
"confirmedBy": "My Custom CRM",
// Optional string or null
"partnerName": "Muster I AG",
// Optional string or null
"partnerVatId": "ATU10223006",
// Optional string or null
"invoiceNumber": "17",
// Optional string or null
"internalNumber": null,
// Optional string with format "YYYY-MM-DD" or null
"invoiceDate": "2020-10-07",
// Optional string with format "YYYY-MM-DD" or null
"dueDate": "2020-10-21",
// Optional string or null
"orderNumber": "Auftrag 2020/1234",
// Optional string with format "YYYY-MM-DD" or null
"orderDate": "2020-08-15",
// Optional boolean, false is used when missing
"creditMemo": false,
// Optional number or null
"net": 5610.5,
// Optional number or null
"total": 6732.6,
// Optional number or null
"vatPercent": 20,
// Optional array of numbers or null
"vatPercentages": [20, 20, 20],
// Optional array of numbers or null
"vatAmounts": [210, 900, 12.1],
// Optional number or null
"discountPercent": 0,
// Optional string with format "YYYY-MM-DD" or null
"discountUntil": null,
// Optional object or null
"costCenters": {
// Cost-center "number" as key with net amount as value
"1000": 1050,
// Cost-center "number" as key with net amount as value
"2000": 4500,
// Cost-center "number" as key with net amount as value
"9000": 60.5
},
// Optional string or null, 3 character ISO 4217 alphabetic code
"currency": "EUR",
// Optional number greater zero or null
"conversionRate": 1,
// Optional string with format "YYYY-MM-DD" or null
"conversionRateDate": "2020-10-07",
// Optional string or null
"goodsServices": "Website Design",
// Optional string with format "YYYY-MM-DD" or null, use for performance period
"deliveredFrom": "2020-09-01",
// Optional string with format "YYYY-MM-DD" or null, use as single delivery date
"deliveredUntil": "2020-09-30",
// Optional string array
"deliveryNoteNumbers": ["D12345"],
// Optional string or null
"iban": "DE02120300000000202051",
// Optional string or null
"bic": "BYLADEM1001",
// Optional array of accounting-items or null
"accountingItems": [
{
// Required string
"title": "Test",
// Required string
"generalLedgerAccountNumber": 1000,
// Required enum
"bookingType": "DEBIT", // or CREDIT
// Required enum
"amountType": "NET", // or TOTAL
// Required number
"amount": 5000,
// Optional UUID or null
"valueAddedTax": "e77d686e-92f2-4c96-a5c1-b7c912327e90", // See: vat-codes-and-percentages.csv
// Optional number or null
"valueAddedTaxPercentageAmount": 20
}
]
}