{
  "x402Version": 2,
  "id": 40575,
  "slug": "40575",
  "resource": "https://mearef.dev/v1/answers/vat",
  "description": "VAT rate gross-up or extract for an amount: net/tax/gross incl. statutory levy components",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1F0409ccD20A2fb497d4DeCeF4E17e9d0688FeA6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "components": {
            "description": "Per-levy breakdown where the rate is composite (e.g. Ghana VAT + NHIL + GETFund)",
            "type": "array"
          },
          "disclaimer": {
            "type": "string"
          },
          "gross": {
            "type": "number"
          },
          "net": {
            "type": "number"
          },
          "provenance": {
            "description": "The statutory instrument the answer rests on: effective_from, last_confirmed, official source URL, notes",
            "type": "object"
          },
          "rate": {
            "description": "Rate applied (combined effective rate where levies stack)",
            "type": "number"
          },
          "receipt": {
            "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
            "type": "object"
          },
          "status": {
            "type": "string"
          },
          "tax": {
            "type": "number"
          },
          "workings": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "rate",
          "net",
          "tax",
          "gross"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": 1000,
            "country": "ae",
            "mode": "add"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amount": {
                    "description": "Amount in the country's own currency",
                    "type": "number"
                  },
                  "band": {
                    "description": "Optional. Apply a statutory reduced/zero/super-reduced band instead of the standard rate. Valid keys per country: GET /catalog (vat_bands_available). Omit for the standard rate — we say when we assumed it. Unknown key is refused free with the list.",
                    "type": "string"
                  },
                  "country": {
                    "description": "ISO country code",
                    "enum": [
                      "ae",
                      "bh",
                      "il",
                      "iq",
                      "jo",
                      "kw",
                      "om",
                      "qa",
                      "sa"
                    ],
                    "type": "string"
                  },
                  "mode": {
                    "description": "add = amount is net, add VAT on top; extract = amount is gross, back the VAT out (default add)",
                    "enum": [
                      "add",
                      "extract"
                    ],
                    "type": "string"
                  },
                  "receipt": {
                    "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "country",
                  "amount"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "components": {
                    "description": "Per-levy breakdown where the rate is composite (e.g. Ghana VAT + NHIL + GETFund)",
                    "type": "array"
                  },
                  "disclaimer": {
                    "type": "string"
                  },
                  "gross": {
                    "type": "number"
                  },
                  "net": {
                    "type": "number"
                  },
                  "provenance": {
                    "description": "The statutory instrument the answer rests on: effective_from, last_confirmed, official source URL, notes",
                    "type": "object"
                  },
                  "rate": {
                    "description": "Rate applied (combined effective rate where levies stack)",
                    "type": "number"
                  },
                  "receipt": {
                    "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                    "type": "object"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tax": {
                    "type": "number"
                  },
                  "workings": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "rate",
                  "net",
                  "tax",
                  "gross"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "vat",
    "tax",
    "gst",
    "middle-east",
    "bazaar"
  ],
  "sourceHost": "mearef.dev",
  "lastUpdated": "2026-10-08T10:53:51.607Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T10:53:50.431Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 1000,
              "country": "ae",
              "mode": "add"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amount": {
                      "description": "Amount in the country's own currency",
                      "type": "number"
                    },
                    "band": {
                      "description": "Optional. Apply a statutory reduced/zero/super-reduced band instead of the standard rate. Valid keys per country: GET /catalog (vat_bands_available). Omit for the standard rate — we say when we assumed it. Unknown key is refused free with the list.",
                      "type": "string"
                    },
                    "country": {
                      "description": "ISO country code",
                      "enum": [
                        "ae",
                        "bh",
                        "il",
                        "iq",
                        "jo",
                        "kw",
                        "om",
                        "qa",
                        "sa"
                      ],
                      "type": "string"
                    },
                    "mode": {
                      "description": "add = amount is net, add VAT on top; extract = amount is gross, back the VAT out (default add)",
                      "enum": [
                        "add",
                        "extract"
                      ],
                      "type": "string"
                    },
                    "receipt": {
                      "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "country",
                    "amount"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "components": {
                      "description": "Per-levy breakdown where the rate is composite (e.g. Ghana VAT + NHIL + GETFund)",
                      "type": "array"
                    },
                    "disclaimer": {
                      "type": "string"
                    },
                    "gross": {
                      "type": "number"
                    },
                    "net": {
                      "type": "number"
                    },
                    "provenance": {
                      "description": "The statutory instrument the answer rests on: effective_from, last_confirmed, official source URL, notes",
                      "type": "object"
                    },
                    "rate": {
                      "description": "Rate applied (combined effective rate where levies stack)",
                      "type": "number"
                    },
                    "receipt": {
                      "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                      "type": "object"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tax": {
                      "type": "number"
                    },
                    "workings": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "rate",
                    "net",
                    "tax",
                    "gross"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "mearef.dev",
    "manifest_name": "mearef.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "components": [
        "value"
      ],
      "disclaimer": "string",
      "gross": 0,
      "net": 0,
      "provenance": {},
      "rate": 0,
      "receipt": {},
      "status": "string",
      "tax": 0,
      "workings": "string"
    },
    "type": "string"
  }
}