View Source VatchexGreece (VatchexGreece v0.6.0)
Documentation for VatchexGreece
.
Link to this section Summary
Functions
Arity-2 version of get/4 that takes a keyword list or map as the second parameter.
Pull information from the web service for the target VAT ID afm_called_for
.
Note: the function minimizes and checks the source and target VAT IDs, and only
sends the request to the API if both minimized VAT IDs are valid.
Unsafe version of get/2.
Unsafe version of get/4.
Link to this section Functions
Arity-2 version of get/4 that takes a keyword list or map as the second parameter.
Pull information from the web service for the target VAT ID afm_called_for
.
Note: the function minimizes and checks the source and target VAT IDs, and only
sends the request to the API if both minimized VAT IDs are valid.
You need to pass authentication parameters username
, password
and the
source VAT ID afm_called_by
as parameters.
examples
Examples
Typically, you will pass a valid 9-digit VAT ID, with or without the "EL" prefix:
get("123456783", ...) # valid (dummy) 9-digit VAT ID
get("EL123456783", ...) # ditto, with "EL" prefix that will get stripped
Older VAT IDs only have 8 digits, and will get leading-zero-padded to 9 digits:
get("11111067", ...) # valid (dummy) 8-digit VAT ID
Unsafe version of get/2.
Unsafe version of get/4.