-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbkperapp.yaml
53 lines (53 loc) · 1.44 KB
/
bkperapp.yaml
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
id: sales-tax-bot
name: Tax Bot
description: Calculate VAT, GST and other sales taxes based on the transaction amount
logoUrl: https://static.thenounproject.com/png/2318500-200.png
website: https://bkper.com/apps/sales-tax-bot
ownerName: Bkper
ownerLogoUrl: https://avatars.githubusercontent.com/u/11943086?v=4
ownerWebsite: https://bkper.com
repoUrl: https://github.com/bkper/tax-bot
repoPrivate: false
deprecated: false
webhookUrl: https://us-central1-bkper-tax-trigger.cloudfunctions.net/prodGen2
apiVersion: v5
events:
- TRANSACTION_POSTED
- TRANSACTION_DELETED
- TRANSACTION_RESTORED
- TRANSACTION_UPDATED
propertiesSchema:
book:
keys:
- tax_copy_properties
group:
keys:
- tax_included_rate
- tax_excluded_rate
- tax_description
values:
- ${transaction.description}
- ${account.name}
- ${account.name.origin}
- ${account.name.destination}
- ${account.contra.name}
- ${account.contra.name.origin}
- ${account.contra.name.destination}
account:
keys:
- tax_included_rate
- tax_excluded_rate
- tax_description
values:
- ${transaction.description}
- ${account.name}
- ${account.name.origin}
- ${account.name.destination}
- ${account.contra.name}
- ${account.contra.name.origin}
- ${account.contra.name.destination}
transaction:
keys:
- tax_round
- tax_included_amount
- tax_excluded_amount