forked from benjlevesque/rf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
declarative.json
36 lines (36 loc) · 955 Bytes
/
declarative.json
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
{
"meta": {
"format": "rnf_invoice",
"version": "0.0.3"
},
"creationDate": "{{creationDate}}",
"invoiceItems": [
{
"currency": "{{invoiceCurrency:EUR}}",
"name": "{{description:faker.commerce.productName}}",
"quantity": 1,
"tax": {
"amount": "0",
"type": "percentage"
},
"unitPrice": "{{unitPrice:1000}}"
}
],
"invoiceNumber": "{{invoiceNumber:1}}",
"buyerInfo": {
"email": "{{buyerEmail}}",
"firstName": "{{buyerFirstName:faker.name.firstName}}",
"lastName": "{{buyerLastName:faker.name.lastName}}",
"businessName": "{{businessName:faker.company.name}}"
},
"sellerInfo": {
"email": "{{sellerEmail}}",
"firstName": "{{sellerFirstName}}",
"lastName": "{{sellerLastName}}"
},
"paymentCurrency": "{{paymentCurrency:EUR}}",
"declarativePaymentInformation": {
"bankAccountDetails": "{{iban:faker.finance.iban}}"
},
"draft": false
}