client

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

README

Go API client for client

Package github.com/moov-io/irs implements a file reader and writer written in Go along with a HTTP API and CLI for creating, parsing, validating, and transforming IRS electronic Filing Information Returns Electronically (FIRE). FIRE operates on a byte(ASCII) level making it difficult to interface with JSON and CSV/TEXT file formats.

Input Output
JSON JSON
ASCII FIRE ASCII FIRE
PDF Form
SQL

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./client"

Documentation for API Endpoints

All URIs are relative to https://local.moov.io:8208

Class Method HTTP request Description
IrsFilesApi Convert Post /convert Convert irs file
IrsFilesApi Health Get /health health irs service
IrsFilesApi Print Post /print Print irs file with specific format
IrsFilesApi Validator Post /validator Validate irs file

Documentation For Models

Documentation For Authorization

GatewayAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires added in v0.1.4

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	IrsFilesApi *IrsFilesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IRS API API v0.0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath added in v0.1.4

func (c *APIClient) ChangeBasePath(path string)

ChangeBasePath changes base path to allow switching to mocks

func (*APIClient) GetConfig added in v0.1.4

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey added in v0.1.4

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse added in v0.1.4

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse added in v0.1.4

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResonse object.

func NewAPIResponseWithError added in v0.1.4

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ARecord added in v0.1.4

type ARecord struct {
	RecordType                 string `json:"record_type"`
	PaymentYear                int32  `json:"payment_year"`
	CombinedFsFilingProgram    string `json:"combined_fs_filing_program,omitempty"`
	PayerTin                   string `json:"payer_tin"`
	PayerNameControl           string `json:"payer_name_control,omitempty"`
	LastFilingIndicator        string `json:"last_filing_indicator,omitempty"`
	TypeOfReturn               string `json:"type_of_return"`
	AmountCodes                string `json:"amount_codes"`
	ForeignEntityIndicator     string `json:"foreign_entity_indicator,omitempty"`
	FirstPayerName             string `json:"first_payer_name"`
	SecondPayerName            string `json:"second_payer_name,omitempty"`
	TransferAgentControl       string `json:"transfer_agent_control"`
	PayerShippingAddress       string `json:"payer_shipping_address"`
	PayerCity                  string `json:"payer_city"`
	PayerState                 string `json:"payer_state"`
	PayerZipCode               string `json:"payer_zip_code"`
	PayerTelephoneNumberAndExt string `json:"payer_telephone_number_and_ext,omitempty"`
	RecordSequenceNumber       int32  `json:"record_sequence_number"`
}

ARecord struct for ARecord

type BRecordWith1097Btc added in v0.1.4

type BRecordWith1097Btc struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	IssuerIndicator             string `json:"issuer_indicator,omitempty"`
	Code                        string `json:"code,omitempty"`
	UniqueIdentifier            string `json:"unique_identifier,omitempty"`
	BondType                    string `json:"bond_type,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
}

BRecordWith1097Btc struct for BRecordWith1097Btc

type BRecordWith1098 added in v0.1.4

type BRecordWith1098 struct {
	RecordType                                 string    `json:"record_type"`
	PaymentYear                                int32     `json:"payment_year"`
	CorrectedReturnIndicator                   string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl                          string    `json:"payees_name_control,omitempty"`
	TypeOfTin                                  string    `json:"type_of_tin,omitempty"`
	PayeesTin                                  string    `json:"payees_tin"`
	PayersAccountNumberForPayee                string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode                           string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                             int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                             int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                             int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                             int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                             int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                             int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                             int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                             int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                             int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                             int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                             int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                             int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                             int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                             int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                             int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                             int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                             int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                             int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator                    string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine                         string    `json:"first_payee_name_line"`
	SecondPayeeNameLine                        string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress                        string    `json:"payee_mailing_address"`
	PayeeCity                                  string    `json:"payee_city"`
	PayeeState                                 string    `json:"payee_state"`
	PayeeZipCode                               string    `json:"payee_zip_code"`
	RecordSequenceNumber                       int32     `json:"record_sequence_number"`
	IssuerIndicator                            string    `json:"issuer_indicator,omitempty"`
	MortgageOriginationDate                    time.Time `json:"mortgage_origination_date,omitempty"`
	PropertySecuringMortgageIndicator          string    `json:"property_securing_mortgage_indicator,omitempty"`
	PropertyAddressDescriptionSecuringMortgage string    `json:"property_address_description_securing_mortgage,omitempty"`
	Other                                      string    `json:"other,omitempty"`
	NumberMortgagedProperties                  int32     `json:"number_mortgaged_properties,omitempty"`
	MortgageAcquisitionDate                    time.Time `json:"mortgage_acquisition_date,omitempty"`
	SpecialDataEntries                         string    `json:"special_data_entries,omitempty"`
}

BRecordWith1098 struct for BRecordWith1098

type BRecordWith1098C added in v0.1.4

type BRecordWith1098C struct {
	RecordType                           string    `json:"record_type"`
	PaymentYear                          int32     `json:"payment_year"`
	CorrectedReturnIndicator             string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl                    string    `json:"payees_name_control,omitempty"`
	TypeOfTin                            string    `json:"type_of_tin,omitempty"`
	PayeesTin                            string    `json:"payees_tin"`
	PayersAccountNumberForPayee          string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode                     string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                       int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                       int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                       int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                       int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                       int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                       int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                       int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                       int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                       int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                       int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                       int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                       int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                       int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                       int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                       int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                       int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                       int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                       int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator              string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine                   string    `json:"first_payee_name_line"`
	SecondPayeeNameLine                  string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress                  string    `json:"payee_mailing_address"`
	PayeeCity                            string    `json:"payee_city"`
	PayeeState                           string    `json:"payee_state"`
	PayeeZipCode                         string    `json:"payee_zip_code"`
	RecordSequenceNumber                 int32     `json:"record_sequence_number"`
	TransactionIndicator                 string    `json:"transaction_indicator,omitempty"`
	TransferAfterImprovementsIndicator   string    `json:"transfer_after_improvements_indicator,omitempty"`
	TransferMarketValueIndicator         string    `json:"transfer_market_value_indicator,omitempty"`
	Year                                 int32     `json:"year,omitempty"`
	Make                                 string    `json:"make,omitempty"`
	Model                                string    `json:"model,omitempty"`
	VehicleIdentificationNumber          string    `json:"vehicle_identification_number,omitempty"`
	VehicleDescription                   string    `json:"vehicle_description,omitempty"`
	DateContribution                     time.Time `json:"date_contribution,omitempty"`
	DoneeIndicator                       string    `json:"donee_indicator,omitempty"`
	IntangibleReligiousBenefitsIndicator string    `json:"intangible_religious_benefits_indicator,omitempty"`
	DeductionLessIndicator               string    `json:"deduction_less_indicator,omitempty"`
	GoodsServices                        string    `json:"goods_services,omitempty"`
	DateSale                             time.Time `json:"date_sale,omitempty"`
	SpecialDataEntries                   string    `json:"special_data_entries,omitempty"`
}

BRecordWith1098C struct for BRecordWith1098C

type BRecordWith1098E added in v0.1.4

type BRecordWith1098E struct {
	RecordType                   string `json:"record_type"`
	PaymentYear                  int32  `json:"payment_year"`
	CorrectedReturnIndicator     string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl            string `json:"payees_name_control,omitempty"`
	TypeOfTin                    string `json:"type_of_tin,omitempty"`
	PayeesTin                    string `json:"payees_tin"`
	PayersAccountNumberForPayee  string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode             string `json:"payers_office_code,omitempty"`
	PaymentAmount1               int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2               int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3               int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4               int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5               int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6               int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7               int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8               int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9               int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA               int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB               int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC               int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD               int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE               int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF               int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG               int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH               int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ               int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator      string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine           string `json:"first_payee_name_line"`
	SecondPayeeNameLine          string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress          string `json:"payee_mailing_address"`
	PayeeCity                    string `json:"payee_city"`
	PayeeState                   string `json:"payee_state"`
	PayeeZipCode                 string `json:"payee_zip_code"`
	RecordSequenceNumber         int32  `json:"record_sequence_number"`
	OriginationInterestIndicator string `json:"origination_interest_indicator,omitempty"`
	SpecialDataEntries           string `json:"special_data_entries,omitempty"`
}

BRecordWith1098E struct for BRecordWith1098E

type BRecordWith1098F added in v0.1.4

type BRecordWith1098F struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	DateOrderAgreement          time.Time `json:"date_order_agreement,omitempty"`
	CaseNumber                  string    `json:"case_number,omitempty"`
	MatterSuitAgreement         string    `json:"matter_suit_agreement,omitempty"`
	PaymentCode                 string    `json:"payment_code,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
}

BRecordWith1098F struct for BRecordWith1098F

type BRecordWith1098Q added in v0.1.4

type BRecordWith1098Q struct {
	RecordType                   string    `json:"record_type"`
	PaymentYear                  int32     `json:"payment_year"`
	CorrectedReturnIndicator     string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl            string    `json:"payees_name_control,omitempty"`
	TypeOfTin                    string    `json:"type_of_tin,omitempty"`
	PayeesTin                    string    `json:"payees_tin"`
	PayersAccountNumberForPayee  string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode             string    `json:"payers_office_code,omitempty"`
	PaymentAmount1               int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2               int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3               int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4               int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5               int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6               int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7               int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8               int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9               int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA               int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB               int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC               int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD               int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE               int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF               int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG               int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH               int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ               int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator      string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine           string    `json:"first_payee_name_line"`
	SecondPayeeNameLine          string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress          string    `json:"payee_mailing_address"`
	PayeeCity                    string    `json:"payee_city"`
	PayeeState                   string    `json:"payee_state"`
	PayeeZipCode                 string    `json:"payee_zip_code"`
	RecordSequenceNumber         int32     `json:"record_sequence_number"`
	AnnuityStartDate             time.Time `json:"annuity_start_date,omitempty"`
	January                      int32     `json:"january,omitempty"`
	February                     int32     `json:"february,omitempty"`
	March                        int32     `json:"march,omitempty"`
	April                        int32     `json:"april,omitempty"`
	May                          int32     `json:"may,omitempty"`
	June                         int32     `json:"june,omitempty"`
	July                         int32     `json:"july,omitempty"`
	August                       int32     `json:"august,omitempty"`
	September                    int32     `json:"september,omitempty"`
	October                      int32     `json:"october,omitempty"`
	November                     int32     `json:"november,omitempty"`
	December                     int32     `json:"december,omitempty"`
	NamePlan                     string    `json:"name_plan,omitempty"`
	PlanNumber                   string    `json:"plan_number,omitempty"`
	EmployerIdentificationNumber string    `json:"employer_identification_number,omitempty"`
}

BRecordWith1098Q struct for BRecordWith1098Q

type BRecordWith1098T added in v0.1.4

type BRecordWith1098T struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	IdentificationNumber        string `json:"identification_number,omitempty"`
	HalftimeStudentIndicator    string `json:"halftime_student_indicator,omitempty"`
	GraduateStudentIndicator    string `json:"graduate_student_indicator,omitempty"`
	AcademicPeriodIndicator     string `json:"academic_period_indicator,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
}

BRecordWith1098T struct for BRecordWith1098T

type BRecordWith1099A added in v0.1.4

type BRecordWith1099A struct {
	RecordType                          string    `json:"record_type"`
	PaymentYear                         int32     `json:"payment_year"`
	CorrectedReturnIndicator            string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl                   string    `json:"payees_name_control,omitempty"`
	TypeOfTin                           string    `json:"type_of_tin,omitempty"`
	PayeesTin                           string    `json:"payees_tin"`
	PayersAccountNumberForPayee         string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode                    string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                      int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                      int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                      int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                      int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                      int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                      int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                      int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                      int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                      int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                      int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                      int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                      int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                      int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                      int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                      int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                      int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                      int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                      int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator             string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine                  string    `json:"first_payee_name_line"`
	SecondPayeeNameLine                 string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress                 string    `json:"payee_mailing_address"`
	PayeeCity                           string    `json:"payee_city"`
	PayeeState                          string    `json:"payee_state"`
	PayeeZipCode                        string    `json:"payee_zip_code"`
	RecordSequenceNumber                int32     `json:"record_sequence_number"`
	PersonalLiabilityIndicator          string    `json:"personal_liability_indicator,omitempty"`
	DateAcquisitionKnowledgeAbandonment time.Time `json:"date_acquisition_knowledge_abandonment,omitempty"`
	DescriptionProperty                 string    `json:"description_property,omitempty"`
	SpecialDataEntries                  string    `json:"special_data_entries,omitempty"`
}

BRecordWith1099A struct for BRecordWith1099A

type BRecordWith1099B added in v0.1.4

type BRecordWith1099B struct {
	RecordType                     string    `json:"record_type"`
	PaymentYear                    int32     `json:"payment_year"`
	CorrectedReturnIndicator       string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl              string    `json:"payees_name_control,omitempty"`
	TypeOfTin                      string    `json:"type_of_tin,omitempty"`
	PayeesTin                      string    `json:"payees_tin"`
	PayersAccountNumberForPayee    string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode               string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                 int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                 int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                 int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                 int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                 int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                 int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                 int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                 int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                 int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                 int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                 int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                 int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                 int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                 int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                 int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                 int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                 int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                 int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator        string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine             string    `json:"first_payee_name_line"`
	SecondPayeeNameLine            string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress            string    `json:"payee_mailing_address"`
	PayeeCity                      string    `json:"payee_city"`
	PayeeState                     string    `json:"payee_state"`
	PayeeZipCode                   string    `json:"payee_zip_code"`
	RecordSequenceNumber           int32     `json:"record_sequence_number"`
	SecondTinNotice                string    `json:"second_tin_notice,omitempty"`
	NoncoveredSecurityIndicator    string    `json:"noncovered_security_indicator,omitempty"`
	TypeGainLossIndicator          string    `json:"type_gain_loss_indicator,omitempty"`
	GrossProceedsIndicator         string    `json:"gross_proceeds_indicator,omitempty"`
	DateSoldDisposed               time.Time `json:"date_sold_disposed,omitempty"`
	CusipNumber                    string    `json:"cusip_number,omitempty"`
	DescriptionProperty            string    `json:"description_property,omitempty"`
	DateAcquired                   time.Time `json:"date_acquired,omitempty"`
	LossNotAllowedIndicator        string    `json:"loss_not_allowed_indicator,omitempty"`
	ApplicableCheckboxForm8949     string    `json:"applicable_checkbox_form8949,omitempty"`
	ApplicableCheckboxCollectables string    `json:"applicable_checkbox_collectables,omitempty"`
	FatcaRequirementIndicator      string    `json:"fatca_requirement_indicator,omitempty"`
	ApplicableCheckboxQof          string    `json:"applicable_checkbox_qof,omitempty"`
	SpecialDataEntries             string    `json:"special_data_entries,omitempty"`
}

BRecordWith1099B struct for BRecordWith1099B

type BRecordWith1099C added in v0.1.4

type BRecordWith1099C struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	SecondTinNotice             string    `json:"second_tin_notice,omitempty"`
	DateIdentifiableEvent       time.Time `json:"date_identifiable_event,omitempty"`
	DebtDescription             string    `json:"debt_description,omitempty"`
	PersonalLiabilityIndicator  string    `json:"personal_liability_indicator,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
}

BRecordWith1099C struct for BRecordWith1099C

type BRecordWith1099Cap added in v0.1.4

type BRecordWith1099Cap struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	DateSaleExchange            time.Time `json:"date_sale_exchange,omitempty"`
	NumberSharesExchanged       int32     `json:"number_shares_exchanged,omitempty"`
	ClassesStockExchanged       string    `json:"classes_stock_exchanged,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
}

BRecordWith1099Cap struct for BRecordWith1099Cap

type BRecordWith1099Div added in v0.1.4

type BRecordWith1099Div struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	ForeignCountryPossession    string `json:"foreign_country_possession,omitempty"`
	FatcaRequirementIndicator   string `json:"fatca_requirement_indicator,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Div struct for BRecordWith1099Div

type BRecordWith1099G added in v0.1.4

type BRecordWith1099G struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	TradeBusinessIndicator      string `json:"trade_business_indicator,omitempty"`
	TaxTearRefund               int32  `json:"tax_tear_refund,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099G struct for BRecordWith1099G

type BRecordWith1099H added in v0.1.4

type BRecordWith1099H struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	NumberMonthsEligible        string `json:"number_months_eligible,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
}

BRecordWith1099H struct for BRecordWith1099H

type BRecordWith1099Int added in v0.1.4

type BRecordWith1099Int struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	ForeignCountry              string `json:"foreign_country,omitempty"`
	CusipNumber                 string `json:"cusip_number,omitempty"`
	FatcaRequirementIndicator   string `json:"fatca_requirement_indicator,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Int struct for BRecordWith1099Int

type BRecordWith1099K added in v0.1.4

type BRecordWith1099K struct {
	RecordType                       string `json:"record_type"`
	PaymentYear                      int32  `json:"payment_year"`
	CorrectedReturnIndicator         string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl                string `json:"payees_name_control,omitempty"`
	TypeOfTin                        string `json:"type_of_tin,omitempty"`
	PayeesTin                        string `json:"payees_tin"`
	PayersAccountNumberForPayee      string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode                 string `json:"payers_office_code,omitempty"`
	PaymentAmount1                   int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2                   int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3                   int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4                   int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5                   int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6                   int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7                   int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8                   int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9                   int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA                   int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB                   int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC                   int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD                   int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE                   int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF                   int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG                   int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH                   int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                   int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator          string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine               string `json:"first_payee_name_line"`
	SecondPayeeNameLine              string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress              string `json:"payee_mailing_address"`
	PayeeCity                        string `json:"payee_city"`
	PayeeState                       string `json:"payee_state"`
	PayeeZipCode                     string `json:"payee_zip_code"`
	RecordSequenceNumber             int32  `json:"record_sequence_number"`
	SecondTinNotice                  string `json:"second_tin_notice,omitempty"`
	TypeFilerIndicator               string `json:"type_filer_indicator,omitempty"`
	TypePaymentIndicator             string `json:"type_payment_indicator,omitempty"`
	NumberPaymentTransactions        int32  `json:"number_payment_transactions,omitempty"`
	PaymentSettlementNamePhoneNumber string `json:"payment_settlement_name_phone_number,omitempty"`
	MerchantCategoryCode             string `json:"merchant_category_code,omitempty"`
	SpecialDataEntries               string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld           int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld           int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode         int32  `json:"combined_federal_state_code"`
}

BRecordWith1099K struct for BRecordWith1099K

type BRecordWith1099Ls added in v0.1.4

type BRecordWith1099Ls struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	DateSale                    time.Time `json:"date_sale,omitempty"`
	IssuersInformation          string    `json:"issuers_information,omitempty"`
}

BRecordWith1099Ls struct for BRecordWith1099Ls

type BRecordWith1099Ltc added in v0.1.4

type BRecordWith1099Ltc struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	TypePaymentIndicator        string    `json:"type_payment_indicator,omitempty"`
	NameInsured                 string    `json:"name_insured,omitempty"`
	AddressInsured              string    `json:"address_insured,omitempty"`
	CityInsured                 string    `json:"city_insured,omitempty"`
	StateInsured                string    `json:"state_insured,omitempty"`
	ZipCodeInsured              string    `json:"zip_code_insured"`
	StatusIllnessIndicator      string    `json:"status_illness_indicator,omitempty"`
	DateCertified               time.Time `json:"date_certified,omitempty"`
	QualifiedContractIndicator  string    `json:"qualified_contract_indicator,omitempty"`
	StateIncomeTaxWithheld      int32     `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32     `json:"local_income_tax_withheld,omitempty"`
}

BRecordWith1099Ltc struct for BRecordWith1099Ltc

type BRecordWith1099Misc added in v0.1.4

type BRecordWith1099Misc struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	DirectSalesIndicator        string `json:"direct_sales_indicator,omitempty"`
	FatcaRequirementIndicator   string `json:"fatca_requirement_indicator,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Misc struct for BRecordWith1099Misc

type BRecordWith1099Nec added in v0.1.4

type BRecordWith1099Nec struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	DirectSalesIndicator        string `json:"direct_sales_indicator,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Nec struct for BRecordWith1099Nec

type BRecordWith1099Oid added in v0.1.4

type BRecordWith1099Oid struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	DirectSalesIndicator        string `json:"direct_sales_indicator,omitempty"`
	FatcaRequirementIndicator   string `json:"fatca_requirement_indicator,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Oid struct for BRecordWith1099Oid

type BRecordWith1099Patr added in v0.1.4

type BRecordWith1099Patr struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SecondTinNotice             string `json:"second_tin_notice,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32  `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode    int32  `json:"combined_federal_state_code"`
}

BRecordWith1099Patr struct for BRecordWith1099Patr

type BRecordWith1099Q added in v0.1.4

type BRecordWith1099Q struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	TrusteeTransferIndicator    string `json:"trustee_transfer_indicator,omitempty"`
	TypeTuitionPayment          string `json:"type_tuition_payment,omitempty"`
	DesignatedBeneficiary       string `json:"designated_beneficiary,omitempty"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
}

BRecordWith1099Q struct for BRecordWith1099Q

type BRecordWith1099R added in v0.1.4

type BRecordWith1099R struct {
	RecordType                          string    `json:"record_type"`
	PaymentYear                         int32     `json:"payment_year"`
	CorrectedReturnIndicator            string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl                   string    `json:"payees_name_control,omitempty"`
	TypeOfTin                           string    `json:"type_of_tin,omitempty"`
	PayeesTin                           string    `json:"payees_tin"`
	PayersAccountNumberForPayee         string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode                    string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                      int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                      int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                      int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                      int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                      int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                      int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                      int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                      int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                      int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                      int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                      int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                      int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                      int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                      int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                      int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                      int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                      int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                      int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator             string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine                  string    `json:"first_payee_name_line"`
	SecondPayeeNameLine                 string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress                 string    `json:"payee_mailing_address"`
	PayeeCity                           string    `json:"payee_city"`
	PayeeState                          string    `json:"payee_state"`
	PayeeZipCode                        string    `json:"payee_zip_code"`
	RecordSequenceNumber                int32     `json:"record_sequence_number"`
	DistributionCode                    string    `json:"distribution_code,omitempty"`
	TaxableAmountNotDeterminedIndicator string    `json:"taxable_amount_not_determined_indicator,omitempty"`
	IraSepSimpleIndicator               string    `json:"ira_sep_simple_indicator,omitempty"`
	TotalDistributionIndicator          string    `json:"total_distribution_indicator,omitempty"`
	PercentageTotalDistribution         int32     `json:"percentage_total_distribution,omitempty"`
	FirstYearDesignatedRothContribution int32     `json:"firstYear_designated_roth_contribution,omitempty"`
	FatcaRequirementIndicator           string    `json:"fatca_requirement_indicator,omitempty"`
	DatePayment                         time.Time `json:"date_payment,omitempty"`
	SpecialDataEntries                  string    `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld              int32     `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld              int32     `json:"local_income_tax_withheld,omitempty"`
	CombinedFederalStateCode            int32     `json:"combined_federal_state_code"`
}

BRecordWith1099R struct for BRecordWith1099R

type BRecordWith1099S added in v0.1.4

type BRecordWith1099S struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	PropertyServicesIndicator   string    `json:"property_services_indicator,omitempty"`
	DateClosing                 time.Time `json:"date_closing,omitempty"`
	AddressLegalDescription     string    `json:"address_legal_description,omitempty"`
	ForeignTransferor           string    `json:"foreign_transferor,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32     `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32     `json:"local_income_tax_withheld,omitempty"`
}

BRecordWith1099S struct for BRecordWith1099S

type BRecordWith1099Sa added in v0.1.4

type BRecordWith1099Sa struct {
	RecordType                    string `json:"record_type"`
	PaymentYear                   int32  `json:"payment_year"`
	CorrectedReturnIndicator      string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl             string `json:"payees_name_control,omitempty"`
	TypeOfTin                     string `json:"type_of_tin,omitempty"`
	PayeesTin                     string `json:"payees_tin"`
	PayersAccountNumberForPayee   string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode              string `json:"payers_office_code,omitempty"`
	PaymentAmount1                int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2                int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3                int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4                int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5                int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6                int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7                int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8                int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9                int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA                int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB                int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC                int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD                int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE                int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF                int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG                int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH                int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator       string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine            string `json:"first_payee_name_line"`
	SecondPayeeNameLine           string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress           string `json:"payee_mailing_address"`
	PayeeCity                     string `json:"payee_city"`
	PayeeState                    string `json:"payee_state"`
	PayeeZipCode                  string `json:"payee_zip_code"`
	RecordSequenceNumber          int32  `json:"record_sequence_number"`
	DistributionCode              string `json:"distribution_code,omitempty"`
	MedicareAdvantageMsaIndicator string `json:"medicare_advantage_msa_indicator,omitempty"`
	HsaIndicator                  string `json:"hsa_indicator,omitempty"`
	ArcherMasIndicator            string `json:"archer_mas_indicator,omitempty"`
	SpecialDataEntries            string `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld        int32  `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld        int32  `json:"local_income_tax_withheld,omitempty"`
}

BRecordWith1099Sa struct for BRecordWith1099Sa

type BRecordWith1099Sb added in v0.1.4

type BRecordWith1099Sb struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	IssuersInformation          string `json:"issuers_information,omitempty"`
}

BRecordWith1099Sb struct for BRecordWith1099Sb

type BRecordWith3921 added in v0.1.4

type BRecordWith3921 struct {
	RecordType                     string    `json:"record_type"`
	PaymentYear                    int32     `json:"payment_year"`
	CorrectedReturnIndicator       string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl              string    `json:"payees_name_control,omitempty"`
	TypeOfTin                      string    `json:"type_of_tin,omitempty"`
	PayeesTin                      string    `json:"payees_tin"`
	PayersAccountNumberForPayee    string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode               string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                 int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                 int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                 int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                 int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                 int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                 int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                 int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                 int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                 int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                 int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                 int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                 int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                 int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                 int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                 int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                 int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                 int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                 int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator        string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine             string    `json:"first_payee_name_line"`
	SecondPayeeNameLine            string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress            string    `json:"payee_mailing_address"`
	PayeeCity                      string    `json:"payee_city"`
	PayeeState                     string    `json:"payee_state"`
	PayeeZipCode                   string    `json:"payee_zip_code"`
	RecordSequenceNumber           int32     `json:"record_sequence_number"`
	DateOptionGranted              time.Time `json:"date_option_granted"`
	DateOptionExercised            time.Time `json:"date_option_exercised"`
	NumberSharesTransferred        int32     `json:"number_shares_transferred,omitempty"`
	OtherThanTransferorInformation string    `json:"other_than_transferor_information,omitempty"`
	SpecialDataEntries             string    `json:"special_data_entries,omitempty"`
}

BRecordWith3921 struct for BRecordWith3921

type BRecordWith3922 added in v0.1.4

type BRecordWith3922 struct {
	RecordType                     string    `json:"record_type"`
	PaymentYear                    int32     `json:"payment_year"`
	CorrectedReturnIndicator       string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl              string    `json:"payees_name_control,omitempty"`
	TypeOfTin                      string    `json:"type_of_tin,omitempty"`
	PayeesTin                      string    `json:"payees_tin"`
	PayersAccountNumberForPayee    string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode               string    `json:"payers_office_code,omitempty"`
	PaymentAmount1                 int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2                 int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3                 int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4                 int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5                 int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6                 int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7                 int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8                 int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9                 int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA                 int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB                 int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC                 int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD                 int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE                 int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF                 int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG                 int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH                 int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                 int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator        string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine             string    `json:"first_payee_name_line"`
	SecondPayeeNameLine            string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress            string    `json:"payee_mailing_address"`
	PayeeCity                      string    `json:"payee_city"`
	PayeeState                     string    `json:"payee_state"`
	PayeeZipCode                   string    `json:"payee_zip_code"`
	RecordSequenceNumber           int32     `json:"record_sequence_number"`
	DateOptionGranted              time.Time `json:"date_option_granted"`
	DateOptionExercised            time.Time `json:"date_option_exercised"`
	NumberSharesTransferred        int32     `json:"number_shares_transferred,omitempty"`
	DateLegalTitleTransferred      time.Time `json:"date_legal_title_transferred"`
	OtherThanTransferorInformation string    `json:"other_than_transferor_information,omitempty"`
	SpecialDataEntries             string    `json:"special_data_entries,omitempty"`
}

BRecordWith3922 struct for BRecordWith3922

type BRecordWith5498 added in v0.1.4

type BRecordWith5498 struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	IraIndicator                string    `json:"ira_indicator,omitempty"`
	SepIndicator                string    `json:"sep_indicator,omitempty"`
	SimpleIndicator             string    `json:"simple_indicator,omitempty"`
	RothIraIndicator            string    `json:"roth_ira_indicator,omitempty"`
	RmdIndicator                string    `json:"rmd_indicator,omitempty"`
	YearPostponedContribution   int32     `json:"year_postponed_contribution,omitempty"`
	PostponedContributionCode   string    `json:"postponed_contribution_code,omitempty"`
	PostponedContributionReason string    `json:"postponed_contribution_reason,omitempty"`
	RepaymentCode               string    `json:"repayment_code,omitempty"`
	RmdDate                     time.Time `json:"rmd_date,omitempty"`
	Codes                       string    `json:"codes,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
	CombinedFederalStateCode    int32     `json:"combined_federal_state_code"`
}

BRecordWith5498 struct for BRecordWith5498

type BRecordWith5498Esa added in v0.1.4

type BRecordWith5498Esa struct {
	RecordType                  string `json:"record_type"`
	PaymentYear                 int32  `json:"payment_year"`
	CorrectedReturnIndicator    string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string `json:"payees_name_control,omitempty"`
	TypeOfTin                   string `json:"type_of_tin,omitempty"`
	PayeesTin                   string `json:"payees_tin"`
	PayersAccountNumberForPayee string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string `json:"first_payee_name_line"`
	SecondPayeeNameLine         string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string `json:"payee_mailing_address"`
	PayeeCity                   string `json:"payee_city"`
	PayeeState                  string `json:"payee_state"`
	PayeeZipCode                string `json:"payee_zip_code"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	SpecialDataEntries          string `json:"special_data_entries,omitempty"`
}

BRecordWith5498Esa struct for BRecordWith5498Esa

type BRecordWith5498Sa added in v0.1.4

type BRecordWith5498Sa struct {
	RecordType                    string `json:"record_type"`
	PaymentYear                   int32  `json:"payment_year"`
	CorrectedReturnIndicator      string `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl             string `json:"payees_name_control,omitempty"`
	TypeOfTin                     string `json:"type_of_tin,omitempty"`
	PayeesTin                     string `json:"payees_tin"`
	PayersAccountNumberForPayee   string `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode              string `json:"payers_office_code,omitempty"`
	PaymentAmount1                int32  `json:"payment_amount_1,omitempty"`
	PaymentAmount2                int32  `json:"payment_amount_2,omitempty"`
	PaymentAmount3                int32  `json:"payment_amount_3,omitempty"`
	PaymentAmount4                int32  `json:"payment_amount_4,omitempty"`
	PaymentAmount5                int32  `json:"payment_amount_5,omitempty"`
	PaymentAmount6                int32  `json:"payment_amount_6,omitempty"`
	PaymentAmount7                int32  `json:"payment_amount_7,omitempty"`
	PaymentAmount8                int32  `json:"payment_amount_8,omitempty"`
	PaymentAmount9                int32  `json:"payment_amount_9,omitempty"`
	PaymentAmountA                int32  `json:"payment_amount_A,omitempty"`
	PaymentAmountB                int32  `json:"payment_amount_B,omitempty"`
	PaymentAmountC                int32  `json:"payment_amount_C,omitempty"`
	PaymentAmountD                int32  `json:"payment_amount_D,omitempty"`
	PaymentAmountE                int32  `json:"payment_amount_E,omitempty"`
	PaymentAmountF                int32  `json:"payment_amount_F,omitempty"`
	PaymentAmountG                int32  `json:"payment_amount_G,omitempty"`
	PaymentAmountH                int32  `json:"payment_amount_H,omitempty"`
	PaymentAmountJ                int32  `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator       string `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine            string `json:"first_payee_name_line"`
	SecondPayeeNameLine           string `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress           string `json:"payee_mailing_address"`
	PayeeCity                     string `json:"payee_city"`
	PayeeState                    string `json:"payee_state"`
	PayeeZipCode                  string `json:"payee_zip_code"`
	RecordSequenceNumber          int32  `json:"record_sequence_number"`
	MedicareAdvantageMsaIndicator string `json:"medicare_advantage_msa_indicator,omitempty"`
	ArcherMasIndicator            string `json:"archer_mas_indicator,omitempty"`
	HsaIndicator                  string `json:"hsa_indicator,omitempty"`
	SpecialDataEntries            string `json:"special_data_entries,omitempty"`
}

BRecordWith5498Sa struct for BRecordWith5498Sa

type BRecordWithW2G added in v0.1.4

type BRecordWithW2G struct {
	RecordType                  string    `json:"record_type"`
	PaymentYear                 int32     `json:"payment_year"`
	CorrectedReturnIndicator    string    `json:"corrected_return_indicator,omitempty"`
	PayeesNameControl           string    `json:"payees_name_control,omitempty"`
	TypeOfTin                   string    `json:"type_of_tin,omitempty"`
	PayeesTin                   string    `json:"payees_tin"`
	PayersAccountNumberForPayee string    `json:"payers_account_number_for_payee,omitempty"`
	PayersOfficeCode            string    `json:"payers_office_code,omitempty"`
	PaymentAmount1              int32     `json:"payment_amount_1,omitempty"`
	PaymentAmount2              int32     `json:"payment_amount_2,omitempty"`
	PaymentAmount3              int32     `json:"payment_amount_3,omitempty"`
	PaymentAmount4              int32     `json:"payment_amount_4,omitempty"`
	PaymentAmount5              int32     `json:"payment_amount_5,omitempty"`
	PaymentAmount6              int32     `json:"payment_amount_6,omitempty"`
	PaymentAmount7              int32     `json:"payment_amount_7,omitempty"`
	PaymentAmount8              int32     `json:"payment_amount_8,omitempty"`
	PaymentAmount9              int32     `json:"payment_amount_9,omitempty"`
	PaymentAmountA              int32     `json:"payment_amount_A,omitempty"`
	PaymentAmountB              int32     `json:"payment_amount_B,omitempty"`
	PaymentAmountC              int32     `json:"payment_amount_C,omitempty"`
	PaymentAmountD              int32     `json:"payment_amount_D,omitempty"`
	PaymentAmountE              int32     `json:"payment_amount_E,omitempty"`
	PaymentAmountF              int32     `json:"payment_amount_F,omitempty"`
	PaymentAmountG              int32     `json:"payment_amount_G,omitempty"`
	PaymentAmountH              int32     `json:"payment_amount_H,omitempty"`
	PaymentAmountJ              int32     `json:"payment_amount_J,omitempty"`
	ForeignCountryIndicator     string    `json:"foreign_country_indicator,omitempty"`
	FirstPayeeNameLine          string    `json:"first_payee_name_line"`
	SecondPayeeNameLine         string    `json:"second_payee_name_line,omitempty"`
	PayeeMailingAddress         string    `json:"payee_mailing_address"`
	PayeeCity                   string    `json:"payee_city"`
	PayeeState                  string    `json:"payee_state"`
	PayeeZipCode                string    `json:"payee_zip_code"`
	RecordSequenceNumber        int32     `json:"record_sequence_number"`
	TypeWagerCode               string    `json:"type_wager_code"`
	DateWon                     time.Time `json:"date_won"`
	Transaction                 string    `json:"transaction,omitempty"`
	Race                        string    `json:"race,omitempty"`
	Cashier                     string    `json:"cashier,omitempty"`
	Window                      string    `json:"window,omitempty"`
	FirstId                     string    `json:"first_id,omitempty"`
	SecondId                    string    `json:"second_id,omitempty"`
	SpecialDataEntries          string    `json:"special_data_entries,omitempty"`
	StateIncomeTaxWithheld      int32     `json:"state_income_tax_withheld,omitempty"`
	LocalIncomeTaxWithheld      int32     `json:"local_income_tax_withheld,omitempty"`
}

BRecordWithW2G struct for BRecordWithW2G

type BasicAuth added in v0.1.4

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CRecord added in v0.1.4

type CRecord struct {
	RecordType           string `json:"record_type"`
	NumberOfPayees       int32  `json:"number_of_payees,omitempty"`
	ControlTotal1        int32  `json:"control_total_1,omitempty"`
	ControlTotal2        int32  `json:"control_total_2,omitempty"`
	ControlTotal3        int32  `json:"control_total_3,omitempty"`
	ControlTotal4        int32  `json:"control_total_4,omitempty"`
	ControlTotal5        int32  `json:"control_total_5,omitempty"`
	ControlTotal6        int32  `json:"control_total_6,omitempty"`
	ControlTotal7        int32  `json:"control_total_7,omitempty"`
	ControlTotal8        int32  `json:"control_total_8,omitempty"`
	ControlTotal9        int32  `json:"control_total_9,omitempty"`
	ControlTotalA        int32  `json:"control_total_A,omitempty"`
	ControlTotalB        int32  `json:"control_total_B,omitempty"`
	ControlTotalC        int32  `json:"control_total_C,omitempty"`
	ControlTotalD        int32  `json:"control_total_D,omitempty"`
	ControlTotalE        int32  `json:"control_total_E,omitempty"`
	ControlTotalF        int32  `json:"control_total_F,omitempty"`
	ControlTotalG        int32  `json:"control_total_G,omitempty"`
	ControlTotalH        int32  `json:"control_total_H,omitempty"`
	ControlTotalJ        int32  `json:"control_total_J,omitempty"`
	RecordSequenceNumber int32  `json:"record_sequence_number"`
}

CRecord struct for CRecord

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	Debug         bool              `json:"debug,omitempty"`
	Servers       []ServerConfiguration
	HTTPClient    *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader added in v0.1.4

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerUrl added in v0.1.4

func (c *Configuration) ServerUrl(index int, variables map[string]string) (string, error)

ServerUrl returns URL based on server settings

type ConvertOpts added in v0.1.4

type ConvertOpts struct {
	Format   optional.String
	Generate optional.Bool
	File     optional.Interface
}

ConvertOpts Optional parameters for the method 'Convert'

type FRecord added in v0.1.4

type FRecord struct {
	RecordType           string `json:"record_type"`
	NumberOfPayerRecords int32  `json:"number_of_payer_records,omitempty"`
	TotalNumberOfPayees  int32  `json:"total_number_of_payees,omitempty"`
	RecordSequenceNumber int32  `json:"record_sequence_number"`
}

FRecord struct for FRecord

type File added in v0.1.4

type File struct {
	Transmitter    TRecord         `json:"transmitter"`
	PaymentPersons []PaymentPerson `json:"payment_persons,omitempty"`
	EndTransmitter FRecord         `json:"end_transmitter"`
}

File struct for File

type GenericOpenAPIError added in v0.1.4

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body added in v0.1.4

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error added in v0.1.4

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model added in v0.1.4

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type IrsFilesApiService added in v0.1.4

type IrsFilesApiService service

IrsFilesApiService IrsFilesApi service

func (*IrsFilesApiService) Convert added in v0.1.4

func (a *IrsFilesApiService) Convert(ctx _context.Context, localVarOptionals *ConvertOpts) (*os.File, *_nethttp.Response, error)

Convert Convert irs file Convert from original irs file to new irs file

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *ConvertOpts - Optional Parameters:
  • @param "Format" (optional.String) - print irs file type
  • @param "Generate" (optional.Bool) - generate new trailer record
  • @param "File" (optional.Interface of *os.File) - irs file to upload

@return *os.File

func (*IrsFilesApiService) Health added in v0.1.4

Health health irs service Check the irs service to check if running

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return string

func (*IrsFilesApiService) Print added in v0.1.4

func (a *IrsFilesApiService) Print(ctx _context.Context, localVarOptionals *PrintOpts) (string, *_nethttp.Response, error)

Print Print irs file with specific format Print irs file with requested file format.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *PrintOpts - Optional Parameters:
  • @param "Format" (optional.String) - print irs file type
  • @param "File" (optional.Interface of *os.File) - irs file to upload

@return string

func (*IrsFilesApiService) Validator added in v0.1.4

func (a *IrsFilesApiService) Validator(ctx _context.Context, localVarOptionals *ValidatorOpts) (string, *_nethttp.Response, error)

Validator Validate irs file Validation of irs file.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *ValidatorOpts - Optional Parameters:
  • @param "File" (optional.Interface of *os.File) - irs file to upload

@return string

type KRecord added in v0.1.4

type KRecord struct {
	RecordType                  string `json:"record_type"`
	NumberOfPayees              int32  `json:"number_of_payees,omitempty"`
	ControlTotal1               int32  `json:"control_total_1,omitempty"`
	ControlTotal2               int32  `json:"control_total_2,omitempty"`
	ControlTotal3               int32  `json:"control_total_3,omitempty"`
	ControlTotal4               int32  `json:"control_total_4,omitempty"`
	ControlTotal5               int32  `json:"control_total_5,omitempty"`
	ControlTotal6               int32  `json:"control_total_6,omitempty"`
	ControlTotal7               int32  `json:"control_total_7,omitempty"`
	ControlTotal8               int32  `json:"control_total_8,omitempty"`
	ControlTotal9               int32  `json:"control_total_9,omitempty"`
	ControlTotalA               int32  `json:"control_total_A,omitempty"`
	ControlTotalB               int32  `json:"control_total_B,omitempty"`
	ControlTotalC               int32  `json:"control_total_C,omitempty"`
	ControlTotalD               int32  `json:"control_total_D,omitempty"`
	ControlTotalE               int32  `json:"control_total_E,omitempty"`
	ControlTotalF               int32  `json:"control_total_F,omitempty"`
	ControlTotalG               int32  `json:"control_total_G,omitempty"`
	ControlTotalH               int32  `json:"control_total_H,omitempty"`
	ControlTotalJ               int32  `json:"control_total_J,omitempty"`
	RecordSequenceNumber        int32  `json:"record_sequence_number"`
	StateIncomeTaxWithheldTotal string `json:"state_income_tax_withheld_total,omitempty"`
	LocalIncomeTaxWithheldTotal string `json:"local_income_tax_withheld_total,omitempty"`
	CombinedFederalStateCode    string `json:"combined_federal_state_code"`
}

KRecord struct for KRecord

type PaymentPerson added in v0.1.4

type PaymentPerson struct {
	Payer    ARecord                  `json:"payer"`
	Payees   []map[string]interface{} `json:"payees,omitempty"`
	EndPayer CRecord                  `json:"end_payer"`
	States   []KRecord                `json:"states,omitempty"`
}

PaymentPerson struct for PaymentPerson

type PrintOpts added in v0.1.4

type PrintOpts struct {
	Format optional.String
	File   optional.Interface
}

PrintOpts Optional parameters for the method 'Print'

type ServerConfiguration added in v0.1.4

type ServerConfiguration struct {
	Url         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerVariable added in v0.1.4

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TRecord added in v0.1.4

type TRecord struct {
	RecordType                   string `json:"record_type"`
	PaymentYear                  int32  `json:"payment_year"`
	PriorYearDataIndicator       string `json:"prior_year_data_indicator"`
	TransmitterTin               string `json:"transmitter_tin"`
	TransmitterControlCode       string `json:"transmitter_control_code"`
	TestFileIndicator            string `json:"test_file_indicator,omitempty"`
	ForeignEntityIndicator       string `json:"foreign_entity_indicator,omitempty"`
	TransmitterName              string `json:"transmitter_name"`
	TransmitterNameContd         string `json:"transmitter_name_contd,omitempty"`
	CompanyName                  string `json:"company_name"`
	CompanyNameContd             string `json:"company_name_contd,omitempty"`
	CompanyMailingAddress        string `json:"company_mailing_address"`
	CompanyCity                  string `json:"company_city"`
	CompanyState                 string `json:"company_state"`
	CompanyZipCode               string `json:"company_zip_code"`
	TotalNumberOfPayees          int32  `json:"total_number_of_payees,omitempty"`
	ContactName                  string `json:"contact_name"`
	ContactTelephoneNumberAndExt string `json:"contact_telephone_number_and_ext"`
	ContactEmailAddress          string `json:"contact_email_address,omitempty"`
	RecordSequenceNumber         int32  `json:"record_sequence_number"`
	VendorIndicator              string `json:"vendor_indicator"`
	VendorName                   string `json:"vendor_name"`
	VendorMailingAddress         string `json:"vendor_mailing_address"`
	VendorCity                   string `json:"vendor_city"`
	VendorState                  string `json:"vendor_state"`
	VendorZipCode                string `json:"vendor_zip_code"`
	VendorContactName            string `json:"vendor_contact_name"`
	VendorContactTelephoneAndExt string `json:"vendor_contact_telephone_and_ext"`
	VendorForeignEntityIndicator string `json:"vendor_foreign_entity_indicator"`
}

TRecord struct for TRecord

type ValidatorOpts added in v0.1.4

type ValidatorOpts struct {
	File optional.Interface
}

ValidatorOpts Optional parameters for the method 'Validator'

Jump to

Keyboard shortcuts

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