VatchexGreece v0.6.0 released, now works properly as a dependency
VatchexGreece
is an Elixir library to easily pull company information from the SOAP web service (WSDL definition) of the Greek General Secretariat of Information Systems for Public Administration (GSIS) using the VAT ID (Αριθμός Φορολογικού Μητρώου, abbreviated as “ΑΦΜ” or “Α.Φ.Μ.”).
v0.6.0
With the support of the patient folks on the Elixir discord server, the library now works properly as a dependency for applications.
- Package on Hex
- Release on GitHub
- Documentation on HexDocs
Changelog
- Removed dependency on values within
config/config.exs
in accordance with the Elixir Library Guidelines - Moved the XML request template
request.xml.eex
frompriv/
tolib/
, and it now gets statically compiled intoVatchexGreece.Request.prepare/4
. - Moved
gsis_wsdl_url
intoVatchexGreece.Request
as@gsis_wsdl_url
, since it’s only used withinrequest.ex
. - Most VAT validation functions in
VatchexGreece.Validate
are now public, each with a tuple, bang, and boolean variant for convenience. - Fixed error handling in
VatchexGreece.Process
to play nice with downstream functions in pipes, i.e. with functions inVatchexGreece.Fixes
. - Functions in
VatchexGreece.Fixes
now work with response tuples, so that errors/exceptions bubble up toVatchex.get/4
and its arity-2 and bang variants. - Improved documentation, and installation instructions now include how to configure
Soap
in your app’sconfig/config.exs
in order to useVatchexGreece
as a dependency, until PR #108 gets merged.