Skip to main content

Update Invoice Tax

PUT /api/v1/InvoiceSetting/UpdateInvoiceTax

Description

This endpoint is used to update invoice tax settings. It allows users to modify the tax settings for invoices.

Headers:

  • Content-Type: application/json

ApiKey:

  • No API key required

Path Parameters:

  • version: string, required

Request Body:

  • UpdateInvoiceTaxSettings object containing the updated tax settings

URL:

  • PUT: {{baseUrl API url}}/api/v1/InvoiceSetting/UpdateInvoiceTax

Response:

  • 200: Success, indicates that the invoice tax settings have been successfully updated.

Error Codes:

  • 400: Bad Request, the request body is not valid or missing required fields.

  • 404: Resource not found, the specified version or setting does not exist.

  • 500: Internal server error, something went wrong while processing the request.

Example Request URL:

PUT /api/v1/InvoiceSetting/UpdateInvoiceTax
Content-Type: application/json
{
"invoiceTaxSettingId": "00000000-0000-0000-0000-000000000000",
"updatedTaxSettings": {
"defaultTaxRate": 0.05,
"taxExempt": false,
"stateTax": 0.03,
"countyTax": 0.02,
"cityTax": 0.01
}
}

Example Response:

HTTP/1.1 200 OK

Method: PUT

/api/v1/InvoiceSetting/UpdateInvoiceTax

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"taxSettingId": "<uuid>",
"name": "<string>",
"taxPercentage": "<integer>",
"isDefault": "<boolean>"
}

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PUT \ 
--url /api/v1/InvoiceSetting/UpdateInvoiceTax \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!