Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ARecord
- type BRecordWith1097Btc
- type BRecordWith1098
- type BRecordWith1098C
- type BRecordWith1098E
- type BRecordWith1098F
- type BRecordWith1098Q
- type BRecordWith1098T
- type BRecordWith1099A
- type BRecordWith1099B
- type BRecordWith1099C
- type BRecordWith1099Cap
- type BRecordWith1099Div
- type BRecordWith1099G
- type BRecordWith1099H
- type BRecordWith1099Int
- type BRecordWith1099K
- type BRecordWith1099Ls
- type BRecordWith1099Ltc
- type BRecordWith1099Misc
- type BRecordWith1099Nec
- type BRecordWith1099Oid
- type BRecordWith1099Patr
- type BRecordWith1099Q
- type BRecordWith1099R
- type BRecordWith1099S
- type BRecordWith1099Sa
- type BRecordWith1099Sb
- type BRecordWith3921
- type BRecordWith3922
- type BRecordWith5498
- type BRecordWith5498Esa
- type BRecordWith5498Sa
- type BRecordWithW2G
- type BasicAuth
- type CRecord
- type Configuration
- type ConvertOpts
- type FRecord
- type File
- type GenericOpenAPIError
- type IrsFilesApiService
- func (a *IrsFilesApiService) Convert(ctx _context.Context, localVarOptionals *ConvertOpts) (*os.File, *_nethttp.Response, error)
- func (a *IrsFilesApiService) Health(ctx _context.Context) (string, *_nethttp.Response, error)
- func (a *IrsFilesApiService) Print(ctx _context.Context, localVarOptionals *PrintOpts) (string, *_nethttp.Response, error)
- func (a *IrsFilesApiService) Validator(ctx _context.Context, localVarOptionals *ValidatorOpts) (string, *_nethttp.Response, error)
- type KRecord
- type PaymentPerson
- type PrintOpts
- type ServerConfiguration
- type ServerVariable
- type TRecord
- type ValidatorOpts
Constants ¶
This section is empty.
Variables ¶
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 ¶
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
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
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"`
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"`
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"`
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
type ConvertOpts ¶ added in v0.1.4
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 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
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
ValidatorOpts Optional parameters for the method 'Validator'
Source Files
¶
- api_irs_files.go
- client.go
- configuration.go
- model_a_record.go
- model_b_record_with1097_btc.go
- model_b_record_with1098.go
- model_b_record_with1098_c.go
- model_b_record_with1098_e.go
- model_b_record_with1098_f.go
- model_b_record_with1098_q.go
- model_b_record_with1098_t.go
- model_b_record_with1099_a.go
- model_b_record_with1099_b.go
- model_b_record_with1099_c.go
- model_b_record_with1099_cap.go
- model_b_record_with1099_div.go
- model_b_record_with1099_g.go
- model_b_record_with1099_h.go
- model_b_record_with1099_int.go
- model_b_record_with1099_k.go
- model_b_record_with1099_ls.go
- model_b_record_with1099_ltc.go
- model_b_record_with1099_misc.go
- model_b_record_with1099_nec.go
- model_b_record_with1099_oid.go
- model_b_record_with1099_patr.go
- model_b_record_with1099_q.go
- model_b_record_with1099_r.go
- model_b_record_with1099_s.go
- model_b_record_with1099_sa.go
- model_b_record_with1099_sb.go
- model_b_record_with3921.go
- model_b_record_with3922.go
- model_b_record_with5498.go
- model_b_record_with5498_esa.go
- model_b_record_with5498_sa.go
- model_b_record_with_w2_g.go
- model_c_record.go
- model_f_record.go
- model_file.go
- model_k_record.go
- model_payment_person.go
- model_t_record.go
- response.go