ZioMark's HUB | API Documentation
DiscordAbout Me
  • 🔳Introduction
    • 🔐Authentication
  • 🔲GET Endpoints
    • ▫️Dec to Hex
    • ▫️Hex to Dec
    • ▫️Timetamp to Date
    • ▫️CFX
    • ▫️Date
    • ▫️Date & Time Formatter
    • ▫️Text over Image
    • ▫️Image over Image
    • ▫️Weather
    • ▫️Translate
    • ▫️Convert Currency
    • ▫️Geolocation
    • ▫️QR Code Generator
    • ▫️Image Format Converter
    • ▫️Key Generator
    • 🌐Bored
    • ▫️BMI Calculator
    • ▫️VAT Calculator
    • ▫️SEO Analyzer
    • ▫️Local Time
    • ▫️Discount Calculator
    • ▫️Discount Discover
  • 🔲POST Endpoints
    • ▫️HTML to PDF
    • ▫️Loan Calculator
    • ▫️Excel to CSV
Powered by GitBook
On this page
  • /vat
  • Query Parameters
  • Response
  1. GET Endpoints

VAT Calculator

/vat

This endpoint calculates the VAT (Value Added Tax) amount and total price based on the provided price and VAT rate. It returns the original price, VAT rate, calculated VAT amount, and total price. If any of the parameters are missing, not numbers, or the VAT rate is negative, it returns a 400 error with a corresponding message.

Query Parameters

Parameter
Type
Description

price

number

The price of the product or service.

vatRate

number

The VAT rate in percentage to be applied to the price.

Response

{
  "originalPrice": "number",
  "vatRate": "string",
  "vatAmount": "number",
  "totalPrice": "number"
}
PreviousBMI CalculatorNextSEO Analyzer

Last updated 1 year ago

🔲
▫️