27 lines
772 B
YAML
27 lines
772 B
YAML
|
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
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- 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
|