2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-vat-validation-rates
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Abstract Api VAT Validation Rates Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
description: Stay compliant with our simple, reliable, and powerful API for all your domestic and cross-border sales.
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/api/vat-validation-rates-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-vat-validation-rates
|
|
|
|
tags: token-spray,abstractapi
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://vat.abstractapi.com/v1/?api_key={{token}}&vat_number=SE556656688001"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"vat_number":'
|
|
|
|
- '"is_vat_valid":'
|
|
|
|
- '"company_name":'
|
|
|
|
condition: and
|