Skip to main content

Get All Invoice Tax Settings

GET /api/v1/InvoiceSetting/getallinvoiceTax

Description

This endpoint is used to get all invoice tax settings for a user. It retrieves all the tax settings for invoices configured by the user.

Headers:

  • Content-Type: application/json

ApiKey:

  • No API key required

Path Parameters:

  • version: string, required

Query Parameters:

  • PageSize: integer, format: int32, optional (default: 10)

  • PageNumber: integer, format: int32, optional (default: 1)

URL:

  • GET: {{baseUrl API url}}/api/v1/InvoiceSetting/getallinvoiceTax?PageSize={PageSize}&PageNumber={PageNumber}

Response:

  • 200: Success, returns a list of all invoice tax settings for the user.

Error Codes:

  • 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:

GET /api/v1/InvoiceSetting/getallinvoiceTax?PageSize=20&PageNumber=1
Content-Type: application/json

Example Response:

HTTP/1.1 200 OK
{
"invoiceTaxSettings": [
{
"defaultTaxRate": 0.05,
"taxExempt": false,
"stateTax": 0.03,
"countyTax": 0.02,
"cityTax": 0.01
},
{
"defaultTaxRate": 0.07,
"taxExempt": true,
"stateTax": 0.04,
"countyTax": 0.03,
"cityTax": 0.02
}
]
}

Method: GET

/api/v1/InvoiceSetting/getallinvoiceTax?PageSize=<integer>&PageNumber=<integer>

Query Params

Paramvalue
PageSize<integer>
PageNumber<integer>

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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