Skip to content

Commit 6921ee5

Browse files
authored
Merge pull request #708 from KBbitsP/v3
Doc Changes for Aviate Curls
2 parents d5a0313 + 30acd20 commit 6921ee5

4 files changed

Lines changed: 40 additions & 39 deletions

File tree

‎userguide/aviate/aviate-authentication.adoc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ Call the auth endpoint with a `Basic` authorization header:
4646
----
4747
curl -s -X POST \
4848
-H "Authorization: Basic ${TOKEN}" \
49-
-H "Content-Type: application/json" \
49+
-H "Content-Type: application/x-www-form-urlencoded" \
50+
-d "" \
5051
http://127.0.0.1:8080/plugins/aviate-plugin/v1/auth
5152
----
5253

‎userguide/aviate/aviate-custom-invoice-sequencing.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ curl -v \
3333
-H 'X-Killbill-CreatedBy: admin' \
3434
-H 'Content-Type: text/plain' \
3535
-d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig
36-
invoiceSequenceConfig:
36+
invoiceSequenceConfig:
3737
enabled: true
3838
scope: "PER_ACCOUNT" # or "PER_TENANT"
3939
start: 300001

‎userguide/aviate/aviate-tax-tutorial.adoc‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,24 @@ curl -v \
124124
-H 'X-Killbill-CreatedBy: admin' \
125125
-H 'Content-Type: text/plain' \
126126
-d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig
127-
taxConfig:
128-
taxItemAmountPrecision: 2
129-
taxationTimeZone: UTC
130-
taxCodes:
131-
TAX_US_std_2025_19_6:
132-
description: Sales Tax 19.6%
133-
rate: 0.196
134-
startingOn: 2025-01-01
135-
stoppingOn: 2025-03-31
136-
country: US
137-
TAX_US_std_2025_20_0:
138-
description: Sales Tax 20%
139-
rate: 0.200
140-
startingOn: 2025-04-01
141-
stoppingOn: ""
142-
country: US
143-
products:
144-
Premium: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \
127+
taxConfig:
128+
taxItemAmountPrecision: 2
129+
taxationTimeZone: UTC
130+
taxCodes:
131+
TAX_US_std_2025_19_6:
132+
description: Sales Tax 19.6%
133+
rate: 0.196
134+
startingOn: 2025-01-01
135+
stoppingOn: 2025-03-31
136+
country: US
137+
TAX_US_std_2025_20_0:
138+
description: Sales Tax 20%
139+
rate: 0.200
140+
startingOn: 2025-04-01
141+
stoppingOn: ""
142+
country: US
143+
products:
144+
Premium: TAX_US_std_2025_19_6, TAX_US_std_2025_20_0' \
145145
http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/aviate-plugin
146146
----
147147

‎userguide/aviate/aviate-tax.adoc‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,25 @@ curl -v \
4545
-H 'X-Killbill-CreatedBy: admin' \
4646
-H 'Content-Type: text/plain' \
4747
-d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig
48-
taxConfig:
49-
taxItemAmountPrecision: 2
50-
taxationTimeZone: UTC
51-
taxCodes:
52-
TAX_US_std_2000_19_6:
53-
description: VAT 19.6%
54-
rate: 0.196
55-
startingOn: 2000-04-01
56-
stoppingOn: 2014-01-01
57-
country: US
58-
TAX_US_std_2014_20_0:
59-
description: VAT 20%
60-
rate: 0.200
61-
startingOn: 2014-01-01
62-
stoppingOn: ""
63-
country: US
64-
products:
65-
Standard: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0
66-
Sport: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \
48+
taxConfig:
49+
taxItemAmountPrecision: 2
50+
taxationTimeZone: UTC
51+
taxCodes:
52+
TAX_US_std_2000_19_6:
53+
description: VAT 19.6%
54+
rate: 0.196
55+
startingOn: 2000-04-01
56+
stoppingOn: 2014-01-01
57+
country: US
58+
TAX_US_std_2014_20_0:
59+
description: VAT 20%
60+
rate: 0.200
61+
startingOn: 2014-01-01
62+
stoppingOn: ""
63+
country: US
64+
products:
65+
Standard: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0
66+
Sport: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \
6767
http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/aviate-plugin
6868
----
6969

0 commit comments

Comments
 (0)