From 30acd2013c3fd9328daa4dbf92becb29b530455d Mon Sep 17 00:00:00 2001 From: KBbitsP <75751774+KBbitsP@users.noreply.github.com> Date: Sat, 19 Sep 2026 15:59:32 +0530 Subject: [PATCH] Doc Changes for Aviate Curls Doc Changes for Aviate Curls --- userguide/aviate/aviate-authentication.adoc | 3 +- .../aviate-custom-invoice-sequencing.adoc | 2 +- userguide/aviate/aviate-tax-tutorial.adoc | 36 +++++++++--------- userguide/aviate/aviate-tax.adoc | 38 +++++++++---------- 4 files changed, 40 insertions(+), 39 deletions(-) diff --git a/userguide/aviate/aviate-authentication.adoc b/userguide/aviate/aviate-authentication.adoc index 9793d0b74..cbbe8cde6 100644 --- a/userguide/aviate/aviate-authentication.adoc +++ b/userguide/aviate/aviate-authentication.adoc @@ -46,7 +46,8 @@ Call the auth endpoint with a `Basic` authorization header: ---- curl -s -X POST \ -H "Authorization: Basic ${TOKEN}" \ - -H "Content-Type: application/json" \ + -H "Content-Type: application/x-www-form-urlencoded" \ + -d "" \ http://127.0.0.1:8080/plugins/aviate-plugin/v1/auth ---- diff --git a/userguide/aviate/aviate-custom-invoice-sequencing.adoc b/userguide/aviate/aviate-custom-invoice-sequencing.adoc index 55649c0af..72f480ab5 100644 --- a/userguide/aviate/aviate-custom-invoice-sequencing.adoc +++ b/userguide/aviate/aviate-custom-invoice-sequencing.adoc @@ -33,7 +33,7 @@ curl -v \ -H 'X-Killbill-CreatedBy: admin' \ -H 'Content-Type: text/plain' \ -d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig - invoiceSequenceConfig: +invoiceSequenceConfig: enabled: true scope: "PER_ACCOUNT" # or "PER_TENANT" start: 300001 diff --git a/userguide/aviate/aviate-tax-tutorial.adoc b/userguide/aviate/aviate-tax-tutorial.adoc index 5fd011005..ba338e84e 100644 --- a/userguide/aviate/aviate-tax-tutorial.adoc +++ b/userguide/aviate/aviate-tax-tutorial.adoc @@ -124,24 +124,24 @@ curl -v \ -H 'X-Killbill-CreatedBy: admin' \ -H 'Content-Type: text/plain' \ -d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig - taxConfig: - taxItemAmountPrecision: 2 - taxationTimeZone: UTC - taxCodes: - TAX_US_std_2025_19_6: - description: Sales Tax 19.6% - rate: 0.196 - startingOn: 2025-01-01 - stoppingOn: 2025-03-31 - country: US - TAX_US_std_2025_20_0: - description: Sales Tax 20% - rate: 0.200 - startingOn: 2025-04-01 - stoppingOn: "" - country: US - products: - Premium: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \ +taxConfig: + taxItemAmountPrecision: 2 + taxationTimeZone: UTC + taxCodes: + TAX_US_std_2025_19_6: + description: Sales Tax 19.6% + rate: 0.196 + startingOn: 2025-01-01 + stoppingOn: 2025-03-31 + country: US + TAX_US_std_2025_20_0: + description: Sales Tax 20% + rate: 0.200 + startingOn: 2025-04-01 + stoppingOn: "" + country: US + products: + Premium: TAX_US_std_2025_19_6, TAX_US_std_2025_20_0' \ http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/aviate-plugin ---- diff --git a/userguide/aviate/aviate-tax.adoc b/userguide/aviate/aviate-tax.adoc index 4e4db4e0d..4f5788a06 100644 --- a/userguide/aviate/aviate-tax.adoc +++ b/userguide/aviate/aviate-tax.adoc @@ -45,25 +45,25 @@ curl -v \ -H 'X-Killbill-CreatedBy: admin' \ -H 'Content-Type: text/plain' \ -d '!!com.killbill.billing.plugin.aviate.AviateTenantConfig - taxConfig: - taxItemAmountPrecision: 2 - taxationTimeZone: UTC - taxCodes: - TAX_US_std_2000_19_6: - description: VAT 19.6% - rate: 0.196 - startingOn: 2000-04-01 - stoppingOn: 2014-01-01 - country: US - TAX_US_std_2014_20_0: - description: VAT 20% - rate: 0.200 - startingOn: 2014-01-01 - stoppingOn: "" - country: US - products: - Standard: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0 - Sport: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \ +taxConfig: + taxItemAmountPrecision: 2 + taxationTimeZone: UTC + taxCodes: + TAX_US_std_2000_19_6: + description: VAT 19.6% + rate: 0.196 + startingOn: 2000-04-01 + stoppingOn: 2014-01-01 + country: US + TAX_US_std_2014_20_0: + description: VAT 20% + rate: 0.200 + startingOn: 2014-01-01 + stoppingOn: "" + country: US + products: + Standard: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0 + Sport: TAX_US_std_2000_19_6, TAX_US_std_2014_20_0' \ http://127.0.0.1:8080/1.0/kb/tenants/uploadPluginConfig/aviate-plugin ----