Skip to main content

Get Invoice Tax by ID

GET /api/v1/InvoiceSetting/getallinvoiceTaxbyId

Description

This endpoint is used to get an invoice tax setting by its ID. It retrieves the tax settings for a specific invoice by its unique ID.

Headers:

  • Content-Type: application/json

ApiKey:

  • No API key required

Path Parameters:

  • version: string, required

Query Parameters:

  • InvoiceTaxSettingId: string, format: uuid, required

URL:

  • GET: {{baseUrl API url}}/api/v1/InvoiceSetting/getallinvoiceTaxbyId?InvoiceTaxSettingId={InvoiceTaxSettingId}

Response:

  • 200: Success, returns the invoice tax settings for the specified ID.

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/getallinvoiceTaxbyId?InvoiceTaxSettingId=00000000-0000-0000-0000-000000000000
Content-Type: application/json

Example Response:

HTTP/1.1 200 OK
{
"invoiceTaxSetting": {
"defaultTaxRate": 0.05,
"taxExempt": false,
"stateTax": 0.03,
"countyTax": 0.02,
"cityTax": 0.01
}
}

Method: GET

/api/v1/InvoiceSetting/getallinvoiceTaxbyId?InvoiceTaxSettingId=<uuid>

Query Params

Paramvalue
InvoiceTaxSettingId<uuid>

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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