api

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package api handles all the API calls for the TIN lookup

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupAPI

type LookupAPI interface {
	LookupTIN(ctx context.Context, tid *tax.Identity) (bool, error)
}

LookupAPI is the interface for looking up TIN numbers

func GetLookupAPI

func GetLookupAPI(countryCode l10n.TaxCountryCode) LookupAPI

GetLookupAPI returns the TinLookup for a given country code

Directories

Path Synopsis
Package vies implements the API call to the VIES service to validate a TIN number
Package vies implements the API call to the VIES service to validate a TIN number

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL