Class: FdxV660Api::Form1065ScheduleK1

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/fdx_v660_api/models/form1065_schedule_k1.rb

Overview

Partner's Share of Income, Deductions, Credits, etc., from Partnership (boxes A-B as issuer) to Partner (boxes E-F as recipient)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#check_for_conflict, #process_additional_properties, #process_array, #process_basic_value, #process_hash, #to_hash, #to_json

Constructor Details

#initialize(tax_year: SKIP, corrected: SKIP, account_id: SKIP, tax_form_id: SKIP, tax_form_date: SKIP, additional_information: SKIP, tax_form_type: SKIP, issuer: SKIP, recipient: SKIP, attributes: SKIP, error: SKIP, links: SKIP, fiscal_year_begin: SKIP, fiscal_year_end: SKIP, final_k1: SKIP, amended_k1: SKIP, irs_center: SKIP, publicly_traded: SKIP, general_partner: SKIP, limited_partner: SKIP, domestic: SKIP, foreign: SKIP, disregarded_entity: SKIP, disregarded_entity_tin: SKIP, disregarded_entity_name: SKIP, entity_type: SKIP, retirement_plan: SKIP, profit_share_begin: SKIP, profit_share_end: SKIP, loss_share_begin: SKIP, loss_share_end: SKIP, capital_share_begin: SKIP, capital_share_end: SKIP, decrease_due_to_sale_or_exchange: SKIP, decrease_due_to_sale: SKIP, decrease_due_to_exchange: SKIP, nonrecourse_liability_share_begin: SKIP, nonrecourse_liability_share_end: SKIP, qualified_liability_share_begin: SKIP, qualified_liability_share_end: SKIP, recourse_liability_share_begin: SKIP, recourse_liability_share_end: SKIP, includes_lower_tier_liability: SKIP, liability_subject_to_guarantees: SKIP, capital_account_begin: SKIP, capital_account_contributions: SKIP, capital_account_increase: SKIP, capital_account_other: SKIP, capital_account_withdrawals: SKIP, capital_account_end: SKIP, built_in_gain: SKIP, unrecognized_section704_begin: SKIP, unrecognized_section704_end: SKIP, ordinary_income: SKIP, net_rental_real_estate_income: SKIP, other_rental_income: SKIP, guaranteed_payment_services: SKIP, guaranteed_payment_capital: SKIP, guaranteed_payment: SKIP, interest_income: SKIP, ordinary_dividends: SKIP, qualified_dividends: SKIP, dividend_equivalents: SKIP, royalties: SKIP, net_short_term_gain: SKIP, net_long_term_gain: SKIP, collectibles_gain: SKIP, unrecaptured1250_gain: SKIP, net1231_gain: SKIP, other_income: SKIP, section179_deduction: SKIP, other_deductions: SKIP, self_employment: SKIP, credits: SKIP, schedule_k3: SKIP, amt_items: SKIP, tax_exempt_income: SKIP, distributions: SKIP, other_info: SKIP, foreign_tax_paid: SKIP, multiple_at_risk_activities: SKIP, multiple_passive_activities: SKIP, k1_supplemental: SKIP, k1_statement_a: SKIP, k1_statement_c: SKIP, additional_properties: nil) ⇒ Form1065ScheduleK1

Returns a new instance of Form1065ScheduleK1.



573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 573

def initialize(tax_year: SKIP, corrected: SKIP, account_id: SKIP,
               tax_form_id: SKIP, tax_form_date: SKIP,
               additional_information: SKIP, tax_form_type: SKIP,
               issuer: SKIP, recipient: SKIP, attributes: SKIP, error: SKIP,
               links: SKIP, fiscal_year_begin: SKIP, fiscal_year_end: SKIP,
               final_k1: SKIP, amended_k1: SKIP, irs_center: SKIP,
               publicly_traded: SKIP, general_partner: SKIP,
               limited_partner: SKIP, domestic: SKIP, foreign: SKIP,
               disregarded_entity: SKIP, disregarded_entity_tin: SKIP,
               disregarded_entity_name: SKIP, entity_type: SKIP,
               retirement_plan: SKIP, profit_share_begin: SKIP,
               profit_share_end: SKIP, loss_share_begin: SKIP,
               loss_share_end: SKIP, capital_share_begin: SKIP,
               capital_share_end: SKIP,
               decrease_due_to_sale_or_exchange: SKIP,
               decrease_due_to_sale: SKIP, decrease_due_to_exchange: SKIP,
               nonrecourse_liability_share_begin: SKIP,
               nonrecourse_liability_share_end: SKIP,
               qualified_liability_share_begin: SKIP,
               qualified_liability_share_end: SKIP,
               recourse_liability_share_begin: SKIP,
               recourse_liability_share_end: SKIP,
               includes_lower_tier_liability: SKIP,
               liability_subject_to_guarantees: SKIP,
               capital_account_begin: SKIP,
               capital_account_contributions: SKIP,
               capital_account_increase: SKIP, capital_account_other: SKIP,
               capital_account_withdrawals: SKIP, capital_account_end: SKIP,
               built_in_gain: SKIP, unrecognized_section704_begin: SKIP,
               unrecognized_section704_end: SKIP, ordinary_income: SKIP,
               net_rental_real_estate_income: SKIP,
               other_rental_income: SKIP, guaranteed_payment_services: SKIP,
               guaranteed_payment_capital: SKIP, guaranteed_payment: SKIP,
               interest_income: SKIP, ordinary_dividends: SKIP,
               qualified_dividends: SKIP, dividend_equivalents: SKIP,
               royalties: SKIP, net_short_term_gain: SKIP,
               net_long_term_gain: SKIP, collectibles_gain: SKIP,
               unrecaptured1250_gain: SKIP, net1231_gain: SKIP,
               other_income: SKIP, section179_deduction: SKIP,
               other_deductions: SKIP, self_employment: SKIP, credits: SKIP,
               schedule_k3: SKIP, amt_items: SKIP, tax_exempt_income: SKIP,
               distributions: SKIP, other_info: SKIP,
               foreign_tax_paid: SKIP, multiple_at_risk_activities: SKIP,
               multiple_passive_activities: SKIP, k1_supplemental: SKIP,
               k1_statement_a: SKIP, k1_statement_c: SKIP,
               additional_properties: nil)
  # Add additional model properties to the instance
  additional_properties = {} if additional_properties.nil?

  @tax_year = tax_year unless tax_year == SKIP
  @corrected = corrected unless corrected == SKIP
  @account_id =  unless  == SKIP
  @tax_form_id = tax_form_id unless tax_form_id == SKIP
  @tax_form_date = tax_form_date unless tax_form_date == SKIP
  @additional_information = additional_information unless additional_information == SKIP
  @tax_form_type = tax_form_type unless tax_form_type == SKIP
  @issuer = issuer unless issuer == SKIP
  @recipient = recipient unless recipient == SKIP
  @attributes = attributes unless attributes == SKIP
  @error = error unless error == SKIP
  @links = links unless links == SKIP
  @fiscal_year_begin = fiscal_year_begin unless fiscal_year_begin == SKIP
  @fiscal_year_end = fiscal_year_end unless fiscal_year_end == SKIP
  @final_k1 = final_k1 unless final_k1 == SKIP
  @amended_k1 = amended_k1 unless amended_k1 == SKIP
  @irs_center = irs_center unless irs_center == SKIP
  @publicly_traded = publicly_traded unless publicly_traded == SKIP
  @general_partner = general_partner unless general_partner == SKIP
  @limited_partner = limited_partner unless limited_partner == SKIP
  @domestic = domestic unless domestic == SKIP
  @foreign = foreign unless foreign == SKIP
  @disregarded_entity = disregarded_entity unless disregarded_entity == SKIP
  @disregarded_entity_tin = disregarded_entity_tin unless disregarded_entity_tin == SKIP
  @disregarded_entity_name = disregarded_entity_name unless disregarded_entity_name == SKIP
  @entity_type = entity_type unless entity_type == SKIP
  @retirement_plan = retirement_plan unless retirement_plan == SKIP
  @profit_share_begin = profit_share_begin unless profit_share_begin == SKIP
  @profit_share_end = profit_share_end unless profit_share_end == SKIP
  @loss_share_begin = loss_share_begin unless loss_share_begin == SKIP
  @loss_share_end = loss_share_end unless loss_share_end == SKIP
  @capital_share_begin = capital_share_begin unless capital_share_begin == SKIP
  @capital_share_end = capital_share_end unless capital_share_end == SKIP
  unless decrease_due_to_sale_or_exchange == SKIP
    @decrease_due_to_sale_or_exchange =
      decrease_due_to_sale_or_exchange
  end
  @decrease_due_to_sale = decrease_due_to_sale unless decrease_due_to_sale == SKIP
  @decrease_due_to_exchange = decrease_due_to_exchange unless decrease_due_to_exchange == SKIP
  unless nonrecourse_liability_share_begin == SKIP
    @nonrecourse_liability_share_begin =
      nonrecourse_liability_share_begin
  end
  unless nonrecourse_liability_share_end == SKIP
    @nonrecourse_liability_share_end =
      nonrecourse_liability_share_end
  end
  unless qualified_liability_share_begin == SKIP
    @qualified_liability_share_begin =
      qualified_liability_share_begin
  end
  unless qualified_liability_share_end == SKIP
    @qualified_liability_share_end =
      qualified_liability_share_end
  end
  unless recourse_liability_share_begin == SKIP
    @recourse_liability_share_begin =
      recourse_liability_share_begin
  end
  unless recourse_liability_share_end == SKIP
    @recourse_liability_share_end =
      recourse_liability_share_end
  end
  unless includes_lower_tier_liability == SKIP
    @includes_lower_tier_liability =
      includes_lower_tier_liability
  end
  unless liability_subject_to_guarantees == SKIP
    @liability_subject_to_guarantees =
      liability_subject_to_guarantees
  end
  @capital_account_begin =  unless  == SKIP
  unless  == SKIP
    @capital_account_contributions =
      
  end
  @capital_account_increase =  unless  == SKIP
  @capital_account_other =  unless  == SKIP
  unless  == SKIP
    @capital_account_withdrawals =
      
  end
  @capital_account_end =  unless  == SKIP
  @built_in_gain = built_in_gain unless built_in_gain == SKIP
  unless unrecognized_section704_begin == SKIP
    @unrecognized_section704_begin =
      unrecognized_section704_begin
  end
  unless unrecognized_section704_end == SKIP
    @unrecognized_section704_end =
      unrecognized_section704_end
  end
  @ordinary_income = ordinary_income unless ordinary_income == SKIP
  unless net_rental_real_estate_income == SKIP
    @net_rental_real_estate_income =
      net_rental_real_estate_income
  end
  @other_rental_income = other_rental_income unless other_rental_income == SKIP
  unless guaranteed_payment_services == SKIP
    @guaranteed_payment_services =
      guaranteed_payment_services
  end
  unless guaranteed_payment_capital == SKIP
    @guaranteed_payment_capital =
      guaranteed_payment_capital
  end
  @guaranteed_payment = guaranteed_payment unless guaranteed_payment == SKIP
  @interest_income = interest_income unless interest_income == SKIP
  @ordinary_dividends = ordinary_dividends unless ordinary_dividends == SKIP
  @qualified_dividends = qualified_dividends unless qualified_dividends == SKIP
  @dividend_equivalents = dividend_equivalents unless dividend_equivalents == SKIP
  @royalties = royalties unless royalties == SKIP
  @net_short_term_gain = net_short_term_gain unless net_short_term_gain == SKIP
  @net_long_term_gain = net_long_term_gain unless net_long_term_gain == SKIP
  @collectibles_gain = collectibles_gain unless collectibles_gain == SKIP
  @unrecaptured1250_gain = unrecaptured1250_gain unless unrecaptured1250_gain == SKIP
  @net1231_gain = net1231_gain unless net1231_gain == SKIP
  @other_income = other_income unless other_income == SKIP
  @section179_deduction = section179_deduction unless section179_deduction == SKIP
  @other_deductions = other_deductions unless other_deductions == SKIP
  @self_employment = self_employment unless self_employment == SKIP
  @credits = credits unless credits == SKIP
  @schedule_k3 = schedule_k3 unless schedule_k3 == SKIP
  @amt_items = amt_items unless amt_items == SKIP
  @tax_exempt_income = tax_exempt_income unless tax_exempt_income == SKIP
  @distributions = distributions unless distributions == SKIP
  @other_info = other_info unless other_info == SKIP
  @foreign_tax_paid = foreign_tax_paid unless foreign_tax_paid == SKIP
  unless multiple_at_risk_activities == SKIP
    @multiple_at_risk_activities =
      multiple_at_risk_activities
  end
  unless multiple_passive_activities == SKIP
    @multiple_passive_activities =
      multiple_passive_activities
  end
  @k1_supplemental = k1_supplemental unless k1_supplemental == SKIP
  @k1_statement_a = k1_statement_a unless k1_statement_a == SKIP
  @k1_statement_c = k1_statement_c unless k1_statement_c == SKIP
  @additional_properties = additional_properties
end

Instance Attribute Details

#account_idString

Long-term persistent identity of the source account. Not the account number

Returns:

  • (String)


24
25
26
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 24

def 
  @account_id
end

#additional_informationString

Additional explanation text or content about this tax form

Returns:

  • (String)


38
39
40
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 38

def additional_information
  @additional_information
end

#amended_k1TrueClass | FalseClass

Amended K-1

Returns:

  • (TrueClass | FalseClass)


88
89
90
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 88

def amended_k1
  @amended_k1
end

#amt_itemsArray[CodeAndAmount]

Box 17, Alternative minimum tax (AMT) items

Returns:



340
341
342
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 340

def amt_items
  @amt_items
end

#attributesArray[TaxFormAttribute]

Additional attributes for this tax form when defined fields are not available. Some specific additional attributes already defined by providers: Fields required by [IRS FIRE](https://www.irs.gov/e-file-providers/filing-information-returns-elec tronically-fire): Name Control, Type of Identification Number (EIN, SSN, ITIN, ATIN). (ATIN is tax ID number for pending adoptions.) Tax form provider field for taxpayer notification: Recipient Email Address.

Returns:



64
65
66
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 64

def attributes
  @attributes
end

#built_in_gainTrueClass | FalseClass

Box M, Did the partner contribute property with a built-in gain or loss? - Yes

Returns:

  • (TrueClass | FalseClass)


238
239
240
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 238

def built_in_gain
  @built_in_gain
end

#capital_account_beginFloat

Box L, Partner's capital account analysis - Beginning capital account

Returns:

  • (Float)


212
213
214
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 212

def 
  @capital_account_begin
end

#capital_account_contributionsFloat

Box L, Partner's capital account analysis - Capital contributed during the year

Returns:

  • (Float)


217
218
219
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 217

def 
  @capital_account_contributions
end

#capital_account_endFloat

Box L, Partner's capital account analysis - Ending capital account

Returns:

  • (Float)


233
234
235
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 233

def 
  @capital_account_end
end

#capital_account_increaseFloat

Box L, Partner's capital account analysis - Current year net income (loss)

Returns:

  • (Float)


221
222
223
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 221

def 
  @capital_account_increase
end

#capital_account_otherFloat

Box L, Partner's capital account analysis - Other increase (decrease)

Returns:

  • (Float)


225
226
227
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 225

def 
  @capital_account_other
end

#capital_account_withdrawalsFloat

Box L, Partner's capital account analysis - Withdrawals & distributions

Returns:

  • (Float)


229
230
231
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 229

def 
  @capital_account_withdrawals
end

#capital_share_beginFloat

Box J, Partner's share of capital - beginning

Returns:

  • (Float)


154
155
156
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 154

def capital_share_begin
  @capital_share_begin
end

#capital_share_endFloat

Box J, Partner's share of capital - ending

Returns:

  • (Float)


158
159
160
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 158

def capital_share_end
  @capital_share_end
end

#collectibles_gainFloat

Box 9b, Collectibles (28%) gain (loss)

Returns:

  • (Float)


304
305
306
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 304

def collectibles_gain
  @collectibles_gain
end

#correctedTrueClass | FalseClass

True to indicate this is a corrected tax form

Returns:

  • (TrueClass | FalseClass)


19
20
21
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 19

def corrected
  @corrected
end

#creditsArray[CodeAndAmount]

Box 15, Credits

Returns:



332
333
334
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 332

def credits
  @credits
end

#decrease_due_to_exchangeTrueClass | FalseClass

Box J, Check if decrease is due to exchange of partnership interest

Returns:

  • (TrueClass | FalseClass)


172
173
174
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 172

def decrease_due_to_exchange
  @decrease_due_to_exchange
end

#decrease_due_to_saleTrueClass | FalseClass

Box J, Check if decrease is due to sale of partnership interest

Returns:

  • (TrueClass | FalseClass)


168
169
170
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 168

def decrease_due_to_sale
  @decrease_due_to_sale
end

#decrease_due_to_sale_or_exchangeTrueClass | FalseClass

Box J, Check if decrease is due to sale or exchange of partnership interest. Deprecated and no longer used beginning tax year 2023. Use decreaseDueToSale and decreaseDueToExchange instead

Returns:

  • (TrueClass | FalseClass)


164
165
166
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 164

def decrease_due_to_sale_or_exchange
  @decrease_due_to_sale_or_exchange
end

#disregarded_entityTrueClass | FalseClass

Box H2, Check if the partner is a disregarded entity (DE), and enter the partner's TIN and Name

Returns:

  • (TrueClass | FalseClass)


117
118
119
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 117

def disregarded_entity
  @disregarded_entity
end

#disregarded_entity_nameString

Box H2, Disregarded entity partner's Name

Returns:

  • (String)


125
126
127
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 125

def disregarded_entity_name
  @disregarded_entity_name
end

#disregarded_entity_tinString

Box H2, Disregarded entity partner's TIN

Returns:

  • (String)


121
122
123
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 121

def disregarded_entity_tin
  @disregarded_entity_tin
end

#distributionsArray[CodeAndAmount]

Box 19, Distributions

Returns:



348
349
350
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 348

def distributions
  @distributions
end

#dividend_equivalentsFloat

Box 6c, Dividend equivalents

Returns:

  • (Float)


288
289
290
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 288

def dividend_equivalents
  @dividend_equivalents
end

#domesticTrueClass | FalseClass

Box H1, Domestic partner

Returns:

  • (TrueClass | FalseClass)


108
109
110
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 108

def domestic
  @domestic
end

#entity_typeString

Box I1, What type of entity is this partner?

Returns:

  • (String)


129
130
131
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 129

def entity_type
  @entity_type
end

#errorError2

Present if an error was encountered while retrieving this form

Returns:



68
69
70
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 68

def error
  @error
end

#final_k1TrueClass | FalseClass

Final K-1

Returns:

  • (TrueClass | FalseClass)


84
85
86
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 84

def final_k1
  @final_k1
end

#fiscal_year_beginDate

Fiscal year begin date

Returns:

  • (Date)


76
77
78
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 76

def fiscal_year_begin
  @fiscal_year_begin
end

#fiscal_year_endDate

Fiscal year end data

Returns:

  • (Date)


80
81
82
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 80

def fiscal_year_end
  @fiscal_year_end
end

#foreignTrueClass | FalseClass

Box H1, Foreign partner

Returns:

  • (TrueClass | FalseClass)


112
113
114
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 112

def foreign
  @foreign
end

#foreign_tax_paidFloat

Box 21, Foreign taxes paid or accrued

Returns:

  • (Float)


356
357
358
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 356

def foreign_tax_paid
  @foreign_tax_paid
end

#general_partnerTrueClass | FalseClass

Box G, General partner or LLC member-manager

Returns:

  • (TrueClass | FalseClass)


100
101
102
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 100

def general_partner
  @general_partner
end

#guaranteed_paymentFloat

Box 4c, Total guaranteed payments

Returns:

  • (Float)


272
273
274
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 272

def guaranteed_payment
  @guaranteed_payment
end

#guaranteed_payment_capitalFloat

Box 4b, Guaranteed payments for capital

Returns:

  • (Float)


268
269
270
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 268

def guaranteed_payment_capital
  @guaranteed_payment_capital
end

#guaranteed_payment_servicesFloat

Box 4a, Guaranteed payments for services

Returns:

  • (Float)


264
265
266
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 264

def guaranteed_payment_services
  @guaranteed_payment_services
end

#includes_lower_tier_liabilityTrueClass | FalseClass

Box K2, Check this box if item K1 includes liability amounts from lower tier partnerships

Returns:

  • (TrueClass | FalseClass)


203
204
205
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 203

def includes_lower_tier_liability
  @includes_lower_tier_liability
end

#interest_incomeFloat

Box 5, Interest income

Returns:

  • (Float)


276
277
278
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 276

def interest_income
  @interest_income
end

#irs_centerString

Box C, IRS Center where partnership filed return

Returns:

  • (String)


92
93
94
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 92

def irs_center
  @irs_center
end

#issuerTaxParty8

Issuer's name, address, phone, and TIN. Issuer data need only be transmitted on enclosing TaxStatement, if it is the same on all its included tax forms.

Returns:



48
49
50
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 48

def issuer
  @issuer
end

#k1_statement_aK1StatementA1

Form 1065 Schedule K-1 Statement A, Qualified Business Income (QBI) Pass-Through Entity Reporting

Returns:



373
374
375
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 373

def k1_statement_a
  @k1_statement_a
end

#k1_statement_cK1StatementC1

Form 1065 Schedule K-1 Statement C, Qualified Business Income (QBI) Pass-Through Entity Reporting, Patrons of Specified Agricultural and Horticultural Coooperatives

Returns:



379
380
381
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 379

def k1_statement_c
  @k1_statement_c
end

#k1_supplementalK1Supplemental1

Supplemental Information for 1065 Schedule K-1 (Partnership)

Returns:



368
369
370
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 368

def k1_supplemental
  @k1_supplemental
end

#liability_subject_to_guaranteesTrueClass | FalseClass

Box K3, Check if any of the above liability is subject to guarantees or other payment obligations by the partner

Returns:

  • (TrueClass | FalseClass)


208
209
210
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 208

def liability_subject_to_guarantees
  @liability_subject_to_guarantees
end

#limited_partnerTrueClass | FalseClass

Box G, Limited partner or other LLC member

Returns:

  • (TrueClass | FalseClass)


104
105
106
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 104

def limited_partner
  @limited_partner
end

Links to retrieve this form as data or image, or to invoke other APIs

Returns:



72
73
74
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 72

def links
  @links
end

#loss_share_beginFloat

Box J, Partner's share of loss - beginning

Returns:

  • (Float)


146
147
148
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 146

def loss_share_begin
  @loss_share_begin
end

#loss_share_endFloat

Box J, Partner's share of loss - ending

Returns:

  • (Float)


150
151
152
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 150

def loss_share_end
  @loss_share_end
end

#multiple_at_risk_activitiesTrueClass | FalseClass

Box 22, More than one activity for at-risk purposes

Returns:

  • (TrueClass | FalseClass)


360
361
362
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 360

def multiple_at_risk_activities
  @multiple_at_risk_activities
end

#multiple_passive_activitiesTrueClass | FalseClass

Box 23, More than one activity for passive activity purposes

Returns:

  • (TrueClass | FalseClass)


364
365
366
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 364

def multiple_passive_activities
  @multiple_passive_activities
end

#net1231_gainFloat

Box 10, Net section 1231 gain (loss)

Returns:

  • (Float)


312
313
314
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 312

def net1231_gain
  @net1231_gain
end

#net_long_term_gainFloat

Box 9a, Net long-term capital gain (loss)

Returns:

  • (Float)


300
301
302
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 300

def net_long_term_gain
  @net_long_term_gain
end

#net_rental_real_estate_incomeFloat

Box 2, Net rental real estate income (loss)

Returns:

  • (Float)


256
257
258
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 256

def net_rental_real_estate_income
  @net_rental_real_estate_income
end

#net_short_term_gainFloat

Box 8, Net short-term capital gain (loss)

Returns:

  • (Float)


296
297
298
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 296

def net_short_term_gain
  @net_short_term_gain
end

#nonrecourse_liability_share_beginFloat

Box K1, Partner's share of liabilities - beginning - nonrecourse

Returns:

  • (Float)


176
177
178
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 176

def nonrecourse_liability_share_begin
  @nonrecourse_liability_share_begin
end

#nonrecourse_liability_share_endFloat

Box K1, Partner's share of liabilities - ending - nonrecourse

Returns:

  • (Float)


180
181
182
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 180

def nonrecourse_liability_share_end
  @nonrecourse_liability_share_end
end

#ordinary_dividendsFloat

Box 6a, Ordinary dividends

Returns:

  • (Float)


280
281
282
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 280

def ordinary_dividends
  @ordinary_dividends
end

#ordinary_incomeFloat

Box 1, Ordinary business income (loss)

Returns:

  • (Float)


252
253
254
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 252

def ordinary_income
  @ordinary_income
end

#other_deductionsArray[CodeAndAmount]

Box 13, Other deductions

Returns:



324
325
326
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 324

def other_deductions
  @other_deductions
end

#other_incomeArray[CodeAndAmount]

Box 11, Other income

Returns:



316
317
318
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 316

def other_income
  @other_income
end

#other_infoArray[CodeAndAmount]

Box 20, Other information

Returns:



352
353
354
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 352

def other_info
  @other_info
end

#other_rental_incomeFloat

Box 3, Other net rental income (loss)

Returns:

  • (Float)


260
261
262
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 260

def other_rental_income
  @other_rental_income
end

#profit_share_beginFloat

Box J, Partner's share of profit - beginning

Returns:

  • (Float)


138
139
140
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 138

def profit_share_begin
  @profit_share_begin
end

#profit_share_endFloat

Box J, Partner's share of profit - ending

Returns:

  • (Float)


142
143
144
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 142

def profit_share_end
  @profit_share_end
end

#publicly_tradedTrueClass | FalseClass

Box D, Check if this is a publicly traded partnership (PTP)

Returns:

  • (TrueClass | FalseClass)


96
97
98
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 96

def publicly_traded
  @publicly_traded
end

#qualified_dividendsFloat

Box 6b, Qualified dividends

Returns:

  • (Float)


284
285
286
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 284

def qualified_dividends
  @qualified_dividends
end

#qualified_liability_share_beginFloat

Box K1, Partner's share of liabilities - beginning - qualified nonrecourse financing

Returns:

  • (Float)


185
186
187
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 185

def qualified_liability_share_begin
  @qualified_liability_share_begin
end

#qualified_liability_share_endFloat

Box K1, Partner's share of liabilities - ending - qualified nonrecourse financing

Returns:

  • (Float)


190
191
192
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 190

def qualified_liability_share_end
  @qualified_liability_share_end
end

#recipientTaxParty1

Recipient's name, address, phone, and TIN. Recipient data need only be transmitted on enclosing TaxStatement, if it is the same on all its included tax forms.

Returns:



54
55
56
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 54

def recipient
  @recipient
end

#recourse_liability_share_beginFloat

Box K1, Partner's share of liabilities - beginning - recourse

Returns:

  • (Float)


194
195
196
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 194

def recourse_liability_share_begin
  @recourse_liability_share_begin
end

#recourse_liability_share_endFloat

Box K1, Partner's share of liabilities - ending - recourse

Returns:

  • (Float)


198
199
200
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 198

def recourse_liability_share_end
  @recourse_liability_share_end
end

#retirement_planTrueClass | FalseClass

Box I2, If this partner is a retirement plan (IRA/SEP/Keogh/etc.), check here

Returns:

  • (TrueClass | FalseClass)


134
135
136
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 134

def retirement_plan
  @retirement_plan
end

#royaltiesFloat

Box 7, Royalties

Returns:

  • (Float)


292
293
294
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 292

def royalties
  @royalties
end

#schedule_k3TrueClass | FalseClass

Box 16, Schedule K-3 is attached

Returns:

  • (TrueClass | FalseClass)


336
337
338
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 336

def schedule_k3
  @schedule_k3
end

#section179_deductionFloat

Box 12, Section 179 deduction

Returns:

  • (Float)


320
321
322
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 320

def section179_deduction
  @section179_deduction
end

#self_employmentArray[CodeAndAmount]

Box 14, Self-employment earnings (loss)

Returns:



328
329
330
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 328

def self_employment
  @self_employment
end

#tax_exempt_incomeArray[CodeAndAmount]

Box 18, Tax-exempt income and nondeductible expenses

Returns:



344
345
346
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 344

def tax_exempt_income
  @tax_exempt_income
end

#tax_form_dateDate

Date of production or delivery of the tax form

Returns:

  • (Date)


34
35
36
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 34

def tax_form_date
  @tax_form_date
end

#tax_form_idString

Long-term persistent id for this tax form. Depending upon the data provider, this may be the same id as the enclosing tax statement id, or this may be a different id, or this id may be omitted.

Returns:

  • (String)


30
31
32
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 30

def tax_form_id
  @tax_form_id
end

#tax_form_typeTypeFormType1

Enumerated name of the tax form entity e.g. "TaxW2"

Returns:



42
43
44
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 42

def tax_form_type
  @tax_form_type
end

#tax_yearInteger

Year for which taxes are being paid

Returns:

  • (Integer)


15
16
17
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 15

def tax_year
  @tax_year
end

#unrecaptured1250_gainFloat

Box 9c, Unrecaptured section 1250 gain

Returns:

  • (Float)


308
309
310
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 308

def unrecaptured1250_gain
  @unrecaptured1250_gain
end

#unrecognized_section704_beginFloat

Box N, Partner's Share of Net Unrecognized Section 704(c) Gain or (Loss) - beginning

Returns:

  • (Float)


243
244
245
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 243

def unrecognized_section704_begin
  @unrecognized_section704_begin
end

#unrecognized_section704_endFloat

Box N, Partner's Share of Net Unrecognized Section 704(c) Gain or (Loss) - ending

Returns:

  • (Float)


248
249
250
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 248

def unrecognized_section704_end
  @unrecognized_section704_end
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 765

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  tax_year = hash.key?('taxYear') ? hash['taxYear'] : SKIP
  corrected = hash.key?('corrected') ? hash['corrected'] : SKIP
   = hash.key?('accountId') ? hash['accountId'] : SKIP
  tax_form_id = hash.key?('taxFormId') ? hash['taxFormId'] : SKIP
  tax_form_date = hash.key?('taxFormDate') ? hash['taxFormDate'] : SKIP
  additional_information =
    hash.key?('additionalInformation') ? hash['additionalInformation'] : SKIP
  tax_form_type = hash.key?('taxFormType') ? hash['taxFormType'] : SKIP
  issuer = TaxParty8.from_hash(hash['issuer']) if hash['issuer']
  recipient = TaxParty1.from_hash(hash['recipient']) if hash['recipient']
  # Parameter is an array, so we need to iterate through it
  attributes = nil
  unless hash['attributes'].nil?
    attributes = []
    hash['attributes'].each do |structure|
      attributes << (TaxFormAttribute.from_hash(structure) if structure)
    end
  end

  attributes = SKIP unless hash.key?('attributes')
  error = Error2.from_hash(hash['error']) if hash['error']
  # Parameter is an array, so we need to iterate through it
  links = nil
  unless hash['links'].nil?
    links = []
    hash['links'].each do |structure|
      links << (HateoasLink.from_hash(structure) if structure)
    end
  end

  links = SKIP unless hash.key?('links')
  fiscal_year_begin =
    hash.key?('fiscalYearBegin') ? hash['fiscalYearBegin'] : SKIP
  fiscal_year_end =
    hash.key?('fiscalYearEnd') ? hash['fiscalYearEnd'] : SKIP
  final_k1 = hash.key?('finalK1') ? hash['finalK1'] : SKIP
  amended_k1 = hash.key?('amendedK1') ? hash['amendedK1'] : SKIP
  irs_center = hash.key?('irsCenter') ? hash['irsCenter'] : SKIP
  publicly_traded =
    hash.key?('publiclyTraded') ? hash['publiclyTraded'] : SKIP
  general_partner =
    hash.key?('generalPartner') ? hash['generalPartner'] : SKIP
  limited_partner =
    hash.key?('limitedPartner') ? hash['limitedPartner'] : SKIP
  domestic = hash.key?('domestic') ? hash['domestic'] : SKIP
  foreign = hash.key?('foreign') ? hash['foreign'] : SKIP
  disregarded_entity =
    hash.key?('disregardedEntity') ? hash['disregardedEntity'] : SKIP
  disregarded_entity_tin =
    hash.key?('disregardedEntityTin') ? hash['disregardedEntityTin'] : SKIP
  disregarded_entity_name =
    hash.key?('disregardedEntityName') ? hash['disregardedEntityName'] : SKIP
  entity_type = hash.key?('entityType') ? hash['entityType'] : SKIP
  retirement_plan =
    hash.key?('retirementPlan') ? hash['retirementPlan'] : SKIP
  profit_share_begin =
    hash.key?('profitShareBegin') ? hash['profitShareBegin'] : SKIP
  profit_share_end =
    hash.key?('profitShareEnd') ? hash['profitShareEnd'] : SKIP
  loss_share_begin =
    hash.key?('lossShareBegin') ? hash['lossShareBegin'] : SKIP
  loss_share_end = hash.key?('lossShareEnd') ? hash['lossShareEnd'] : SKIP
  capital_share_begin =
    hash.key?('capitalShareBegin') ? hash['capitalShareBegin'] : SKIP
  capital_share_end =
    hash.key?('capitalShareEnd') ? hash['capitalShareEnd'] : SKIP
  decrease_due_to_sale_or_exchange =
    hash.key?('decreaseDueToSaleOrExchange') ? hash['decreaseDueToSaleOrExchange'] : SKIP
  decrease_due_to_sale =
    hash.key?('decreaseDueToSale') ? hash['decreaseDueToSale'] : SKIP
  decrease_due_to_exchange =
    hash.key?('decreaseDueToExchange') ? hash['decreaseDueToExchange'] : SKIP
  nonrecourse_liability_share_begin =
    hash.key?('nonrecourseLiabilityShareBegin') ? hash['nonrecourseLiabilityShareBegin'] : SKIP
  nonrecourse_liability_share_end =
    hash.key?('nonrecourseLiabilityShareEnd') ? hash['nonrecourseLiabilityShareEnd'] : SKIP
  qualified_liability_share_begin =
    hash.key?('qualifiedLiabilityShareBegin') ? hash['qualifiedLiabilityShareBegin'] : SKIP
  qualified_liability_share_end =
    hash.key?('qualifiedLiabilityShareEnd') ? hash['qualifiedLiabilityShareEnd'] : SKIP
  recourse_liability_share_begin =
    hash.key?('recourseLiabilityShareBegin') ? hash['recourseLiabilityShareBegin'] : SKIP
  recourse_liability_share_end =
    hash.key?('recourseLiabilityShareEnd') ? hash['recourseLiabilityShareEnd'] : SKIP
  includes_lower_tier_liability =
    hash.key?('includesLowerTierLiability') ? hash['includesLowerTierLiability'] : SKIP
  liability_subject_to_guarantees =
    hash.key?('liabilitySubjectToGuarantees') ? hash['liabilitySubjectToGuarantees'] : SKIP
   =
    hash.key?('capitalAccountBegin') ? hash['capitalAccountBegin'] : SKIP
   =
    hash.key?('capitalAccountContributions') ? hash['capitalAccountContributions'] : SKIP
   =
    hash.key?('capitalAccountIncrease') ? hash['capitalAccountIncrease'] : SKIP
   =
    hash.key?('capitalAccountOther') ? hash['capitalAccountOther'] : SKIP
   =
    hash.key?('capitalAccountWithdrawals') ? hash['capitalAccountWithdrawals'] : SKIP
   =
    hash.key?('capitalAccountEnd') ? hash['capitalAccountEnd'] : SKIP
  built_in_gain = hash.key?('builtInGain') ? hash['builtInGain'] : SKIP
  unrecognized_section704_begin =
    hash.key?('unrecognizedSection704Begin') ? hash['unrecognizedSection704Begin'] : SKIP
  unrecognized_section704_end =
    hash.key?('unrecognizedSection704End') ? hash['unrecognizedSection704End'] : SKIP
  ordinary_income =
    hash.key?('ordinaryIncome') ? hash['ordinaryIncome'] : SKIP
  net_rental_real_estate_income =
    hash.key?('netRentalRealEstateIncome') ? hash['netRentalRealEstateIncome'] : SKIP
  other_rental_income =
    hash.key?('otherRentalIncome') ? hash['otherRentalIncome'] : SKIP
  guaranteed_payment_services =
    hash.key?('guaranteedPaymentServices') ? hash['guaranteedPaymentServices'] : SKIP
  guaranteed_payment_capital =
    hash.key?('guaranteedPaymentCapital') ? hash['guaranteedPaymentCapital'] : SKIP
  guaranteed_payment =
    hash.key?('guaranteedPayment') ? hash['guaranteedPayment'] : SKIP
  interest_income =
    hash.key?('interestIncome') ? hash['interestIncome'] : SKIP
  ordinary_dividends =
    hash.key?('ordinaryDividends') ? hash['ordinaryDividends'] : SKIP
  qualified_dividends =
    hash.key?('qualifiedDividends') ? hash['qualifiedDividends'] : SKIP
  dividend_equivalents =
    hash.key?('dividendEquivalents') ? hash['dividendEquivalents'] : SKIP
  royalties = hash.key?('royalties') ? hash['royalties'] : SKIP
  net_short_term_gain =
    hash.key?('netShortTermGain') ? hash['netShortTermGain'] : SKIP
  net_long_term_gain =
    hash.key?('netLongTermGain') ? hash['netLongTermGain'] : SKIP
  collectibles_gain =
    hash.key?('collectiblesGain') ? hash['collectiblesGain'] : SKIP
  unrecaptured1250_gain =
    hash.key?('unrecaptured1250Gain') ? hash['unrecaptured1250Gain'] : SKIP
  net1231_gain = hash.key?('net1231Gain') ? hash['net1231Gain'] : SKIP
  # Parameter is an array, so we need to iterate through it
  other_income = nil
  unless hash['otherIncome'].nil?
    other_income = []
    hash['otherIncome'].each do |structure|
      other_income << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  other_income = SKIP unless hash.key?('otherIncome')
  section179_deduction =
    hash.key?('section179Deduction') ? hash['section179Deduction'] : SKIP
  # Parameter is an array, so we need to iterate through it
  other_deductions = nil
  unless hash['otherDeductions'].nil?
    other_deductions = []
    hash['otherDeductions'].each do |structure|
      other_deductions << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  other_deductions = SKIP unless hash.key?('otherDeductions')
  # Parameter is an array, so we need to iterate through it
  self_employment = nil
  unless hash['selfEmployment'].nil?
    self_employment = []
    hash['selfEmployment'].each do |structure|
      self_employment << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  self_employment = SKIP unless hash.key?('selfEmployment')
  # Parameter is an array, so we need to iterate through it
  credits = nil
  unless hash['credits'].nil?
    credits = []
    hash['credits'].each do |structure|
      credits << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  credits = SKIP unless hash.key?('credits')
  schedule_k3 = hash.key?('scheduleK3') ? hash['scheduleK3'] : SKIP
  # Parameter is an array, so we need to iterate through it
  amt_items = nil
  unless hash['amtItems'].nil?
    amt_items = []
    hash['amtItems'].each do |structure|
      amt_items << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  amt_items = SKIP unless hash.key?('amtItems')
  # Parameter is an array, so we need to iterate through it
  tax_exempt_income = nil
  unless hash['taxExemptIncome'].nil?
    tax_exempt_income = []
    hash['taxExemptIncome'].each do |structure|
      tax_exempt_income << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  tax_exempt_income = SKIP unless hash.key?('taxExemptIncome')
  # Parameter is an array, so we need to iterate through it
  distributions = nil
  unless hash['distributions'].nil?
    distributions = []
    hash['distributions'].each do |structure|
      distributions << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  distributions = SKIP unless hash.key?('distributions')
  # Parameter is an array, so we need to iterate through it
  other_info = nil
  unless hash['otherInfo'].nil?
    other_info = []
    hash['otherInfo'].each do |structure|
      other_info << (CodeAndAmount.from_hash(structure) if structure)
    end
  end

  other_info = SKIP unless hash.key?('otherInfo')
  foreign_tax_paid =
    hash.key?('foreignTaxPaid') ? hash['foreignTaxPaid'] : SKIP
  multiple_at_risk_activities =
    hash.key?('multipleAtRiskActivities') ? hash['multipleAtRiskActivities'] : SKIP
  multiple_passive_activities =
    hash.key?('multiplePassiveActivities') ? hash['multiplePassiveActivities'] : SKIP
  k1_supplemental = K1Supplemental1.from_hash(hash['k1Supplemental']) if
    hash['k1Supplemental']
  k1_statement_a = K1StatementA1.from_hash(hash['k1StatementA']) if hash['k1StatementA']
  k1_statement_c = K1StatementC1.from_hash(hash['k1StatementC']) if hash['k1StatementC']

  # Create a new hash for additional properties, removing known properties.
  new_hash = hash.reject { |k, _| names.value?(k) }

  additional_properties = APIHelper.get_additional_properties(
    new_hash, proc { |value| value }
  )

  # Create object from extracted values.
  Form1065ScheduleK1.new(tax_year: tax_year,
                         corrected: corrected,
                         account_id: ,
                         tax_form_id: tax_form_id,
                         tax_form_date: tax_form_date,
                         additional_information: additional_information,
                         tax_form_type: tax_form_type,
                         issuer: issuer,
                         recipient: recipient,
                         attributes: attributes,
                         error: error,
                         links: links,
                         fiscal_year_begin: fiscal_year_begin,
                         fiscal_year_end: fiscal_year_end,
                         final_k1: final_k1,
                         amended_k1: amended_k1,
                         irs_center: irs_center,
                         publicly_traded: publicly_traded,
                         general_partner: general_partner,
                         limited_partner: limited_partner,
                         domestic: domestic,
                         foreign: foreign,
                         disregarded_entity: disregarded_entity,
                         disregarded_entity_tin: disregarded_entity_tin,
                         disregarded_entity_name: disregarded_entity_name,
                         entity_type: entity_type,
                         retirement_plan: retirement_plan,
                         profit_share_begin: profit_share_begin,
                         profit_share_end: profit_share_end,
                         loss_share_begin: loss_share_begin,
                         loss_share_end: loss_share_end,
                         capital_share_begin: capital_share_begin,
                         capital_share_end: capital_share_end,
                         decrease_due_to_sale_or_exchange: decrease_due_to_sale_or_exchange,
                         decrease_due_to_sale: decrease_due_to_sale,
                         decrease_due_to_exchange: decrease_due_to_exchange,
                         nonrecourse_liability_share_begin: nonrecourse_liability_share_begin,
                         nonrecourse_liability_share_end: nonrecourse_liability_share_end,
                         qualified_liability_share_begin: qualified_liability_share_begin,
                         qualified_liability_share_end: qualified_liability_share_end,
                         recourse_liability_share_begin: recourse_liability_share_begin,
                         recourse_liability_share_end: recourse_liability_share_end,
                         includes_lower_tier_liability: includes_lower_tier_liability,
                         liability_subject_to_guarantees: liability_subject_to_guarantees,
                         capital_account_begin: ,
                         capital_account_contributions: ,
                         capital_account_increase: ,
                         capital_account_other: ,
                         capital_account_withdrawals: ,
                         capital_account_end: ,
                         built_in_gain: built_in_gain,
                         unrecognized_section704_begin: unrecognized_section704_begin,
                         unrecognized_section704_end: unrecognized_section704_end,
                         ordinary_income: ordinary_income,
                         net_rental_real_estate_income: net_rental_real_estate_income,
                         other_rental_income: other_rental_income,
                         guaranteed_payment_services: guaranteed_payment_services,
                         guaranteed_payment_capital: guaranteed_payment_capital,
                         guaranteed_payment: guaranteed_payment,
                         interest_income: interest_income,
                         ordinary_dividends: ordinary_dividends,
                         qualified_dividends: qualified_dividends,
                         dividend_equivalents: dividend_equivalents,
                         royalties: royalties,
                         net_short_term_gain: net_short_term_gain,
                         net_long_term_gain: net_long_term_gain,
                         collectibles_gain: collectibles_gain,
                         unrecaptured1250_gain: unrecaptured1250_gain,
                         net1231_gain: net1231_gain,
                         other_income: other_income,
                         section179_deduction: section179_deduction,
                         other_deductions: other_deductions,
                         self_employment: self_employment,
                         credits: credits,
                         schedule_k3: schedule_k3,
                         amt_items: amt_items,
                         tax_exempt_income: tax_exempt_income,
                         distributions: distributions,
                         other_info: other_info,
                         foreign_tax_paid: foreign_tax_paid,
                         multiple_at_risk_activities: multiple_at_risk_activities,
                         multiple_passive_activities: multiple_passive_activities,
                         k1_supplemental: k1_supplemental,
                         k1_statement_a: k1_statement_a,
                         k1_statement_c: k1_statement_c,
                         additional_properties: additional_properties)
end

.namesObject

A mapping from model property names to API property names.



382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 382

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['tax_year'] = 'taxYear'
  @_hash['corrected'] = 'corrected'
  @_hash['account_id'] = 'accountId'
  @_hash['tax_form_id'] = 'taxFormId'
  @_hash['tax_form_date'] = 'taxFormDate'
  @_hash['additional_information'] = 'additionalInformation'
  @_hash['tax_form_type'] = 'taxFormType'
  @_hash['issuer'] = 'issuer'
  @_hash['recipient'] = 'recipient'
  @_hash['attributes'] = 'attributes'
  @_hash['error'] = 'error'
  @_hash['links'] = 'links'
  @_hash['fiscal_year_begin'] = 'fiscalYearBegin'
  @_hash['fiscal_year_end'] = 'fiscalYearEnd'
  @_hash['final_k1'] = 'finalK1'
  @_hash['amended_k1'] = 'amendedK1'
  @_hash['irs_center'] = 'irsCenter'
  @_hash['publicly_traded'] = 'publiclyTraded'
  @_hash['general_partner'] = 'generalPartner'
  @_hash['limited_partner'] = 'limitedPartner'
  @_hash['domestic'] = 'domestic'
  @_hash['foreign'] = 'foreign'
  @_hash['disregarded_entity'] = 'disregardedEntity'
  @_hash['disregarded_entity_tin'] = 'disregardedEntityTin'
  @_hash['disregarded_entity_name'] = 'disregardedEntityName'
  @_hash['entity_type'] = 'entityType'
  @_hash['retirement_plan'] = 'retirementPlan'
  @_hash['profit_share_begin'] = 'profitShareBegin'
  @_hash['profit_share_end'] = 'profitShareEnd'
  @_hash['loss_share_begin'] = 'lossShareBegin'
  @_hash['loss_share_end'] = 'lossShareEnd'
  @_hash['capital_share_begin'] = 'capitalShareBegin'
  @_hash['capital_share_end'] = 'capitalShareEnd'
  @_hash['decrease_due_to_sale_or_exchange'] =
    'decreaseDueToSaleOrExchange'
  @_hash['decrease_due_to_sale'] = 'decreaseDueToSale'
  @_hash['decrease_due_to_exchange'] = 'decreaseDueToExchange'
  @_hash['nonrecourse_liability_share_begin'] =
    'nonrecourseLiabilityShareBegin'
  @_hash['nonrecourse_liability_share_end'] =
    'nonrecourseLiabilityShareEnd'
  @_hash['qualified_liability_share_begin'] =
    'qualifiedLiabilityShareBegin'
  @_hash['qualified_liability_share_end'] = 'qualifiedLiabilityShareEnd'
  @_hash['recourse_liability_share_begin'] = 'recourseLiabilityShareBegin'
  @_hash['recourse_liability_share_end'] = 'recourseLiabilityShareEnd'
  @_hash['includes_lower_tier_liability'] = 'includesLowerTierLiability'
  @_hash['liability_subject_to_guarantees'] =
    'liabilitySubjectToGuarantees'
  @_hash['capital_account_begin'] = 'capitalAccountBegin'
  @_hash['capital_account_contributions'] = 'capitalAccountContributions'
  @_hash['capital_account_increase'] = 'capitalAccountIncrease'
  @_hash['capital_account_other'] = 'capitalAccountOther'
  @_hash['capital_account_withdrawals'] = 'capitalAccountWithdrawals'
  @_hash['capital_account_end'] = 'capitalAccountEnd'
  @_hash['built_in_gain'] = 'builtInGain'
  @_hash['unrecognized_section704_begin'] = 'unrecognizedSection704Begin'
  @_hash['unrecognized_section704_end'] = 'unrecognizedSection704End'
  @_hash['ordinary_income'] = 'ordinaryIncome'
  @_hash['net_rental_real_estate_income'] = 'netRentalRealEstateIncome'
  @_hash['other_rental_income'] = 'otherRentalIncome'
  @_hash['guaranteed_payment_services'] = 'guaranteedPaymentServices'
  @_hash['guaranteed_payment_capital'] = 'guaranteedPaymentCapital'
  @_hash['guaranteed_payment'] = 'guaranteedPayment'
  @_hash['interest_income'] = 'interestIncome'
  @_hash['ordinary_dividends'] = 'ordinaryDividends'
  @_hash['qualified_dividends'] = 'qualifiedDividends'
  @_hash['dividend_equivalents'] = 'dividendEquivalents'
  @_hash['royalties'] = 'royalties'
  @_hash['net_short_term_gain'] = 'netShortTermGain'
  @_hash['net_long_term_gain'] = 'netLongTermGain'
  @_hash['collectibles_gain'] = 'collectiblesGain'
  @_hash['unrecaptured1250_gain'] = 'unrecaptured1250Gain'
  @_hash['net1231_gain'] = 'net1231Gain'
  @_hash['other_income'] = 'otherIncome'
  @_hash['section179_deduction'] = 'section179Deduction'
  @_hash['other_deductions'] = 'otherDeductions'
  @_hash['self_employment'] = 'selfEmployment'
  @_hash['credits'] = 'credits'
  @_hash['schedule_k3'] = 'scheduleK3'
  @_hash['amt_items'] = 'amtItems'
  @_hash['tax_exempt_income'] = 'taxExemptIncome'
  @_hash['distributions'] = 'distributions'
  @_hash['other_info'] = 'otherInfo'
  @_hash['foreign_tax_paid'] = 'foreignTaxPaid'
  @_hash['multiple_at_risk_activities'] = 'multipleAtRiskActivities'
  @_hash['multiple_passive_activities'] = 'multiplePassiveActivities'
  @_hash['k1_supplemental'] = 'k1Supplemental'
  @_hash['k1_statement_a'] = 'k1StatementA'
  @_hash['k1_statement_c'] = 'k1StatementC'
  @_hash
end

.nullablesObject

An array for nullable fields



569
570
571
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 569

def self.nullables
  []
end

.optionalsObject

An array for optional fields



478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 478

def self.optionals
  %w[
    tax_year
    corrected
    account_id
    tax_form_id
    tax_form_date
    additional_information
    tax_form_type
    issuer
    recipient
    attributes
    error
    links
    fiscal_year_begin
    fiscal_year_end
    final_k1
    amended_k1
    irs_center
    publicly_traded
    general_partner
    limited_partner
    domestic
    foreign
    disregarded_entity
    disregarded_entity_tin
    disregarded_entity_name
    entity_type
    retirement_plan
    profit_share_begin
    profit_share_end
    loss_share_begin
    loss_share_end
    capital_share_begin
    capital_share_end
    decrease_due_to_sale_or_exchange
    decrease_due_to_sale
    decrease_due_to_exchange
    nonrecourse_liability_share_begin
    nonrecourse_liability_share_end
    qualified_liability_share_begin
    qualified_liability_share_end
    recourse_liability_share_begin
    recourse_liability_share_end
    includes_lower_tier_liability
    liability_subject_to_guarantees
    capital_account_begin
    capital_account_contributions
    capital_account_increase
    capital_account_other
    capital_account_withdrawals
    capital_account_end
    built_in_gain
    unrecognized_section704_begin
    unrecognized_section704_end
    ordinary_income
    net_rental_real_estate_income
    other_rental_income
    guaranteed_payment_services
    guaranteed_payment_capital
    guaranteed_payment
    interest_income
    ordinary_dividends
    qualified_dividends
    dividend_equivalents
    royalties
    net_short_term_gain
    net_long_term_gain
    collectibles_gain
    unrecaptured1250_gain
    net1231_gain
    other_income
    section179_deduction
    other_deductions
    self_employment
    credits
    schedule_k3
    amt_items
    tax_exempt_income
    distributions
    other_info
    foreign_tax_paid
    multiple_at_risk_activities
    multiple_passive_activities
    k1_supplemental
    k1_statement_a
    k1_statement_c
  ]
end

Instance Method Details

#inspectObject

Provides a debugging-friendly string with detailed object information.



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 1149

def inspect
  class_name = self.class.name.split('::').last
  "<#{class_name} tax_year: #{@tax_year.inspect}, corrected: #{@corrected.inspect},"\
  " account_id: #{@account_id.inspect}, tax_form_id: #{@tax_form_id.inspect}, tax_form_date:"\
  " #{@tax_form_date.inspect}, additional_information: #{@additional_information.inspect},"\
  " tax_form_type: #{@tax_form_type.inspect}, issuer: #{@issuer.inspect}, recipient:"\
  " #{@recipient.inspect}, attributes: #{@attributes.inspect}, error: #{@error.inspect},"\
  " links: #{@links.inspect}, fiscal_year_begin: #{@fiscal_year_begin.inspect},"\
  " fiscal_year_end: #{@fiscal_year_end.inspect}, final_k1: #{@final_k1.inspect}, amended_k1:"\
  " #{@amended_k1.inspect}, irs_center: #{@irs_center.inspect}, publicly_traded:"\
  " #{@publicly_traded.inspect}, general_partner: #{@general_partner.inspect},"\
  " limited_partner: #{@limited_partner.inspect}, domestic: #{@domestic.inspect}, foreign:"\
  " #{@foreign.inspect}, disregarded_entity: #{@disregarded_entity.inspect},"\
  " disregarded_entity_tin: #{@disregarded_entity_tin.inspect}, disregarded_entity_name:"\
  " #{@disregarded_entity_name.inspect}, entity_type: #{@entity_type.inspect},"\
  " retirement_plan: #{@retirement_plan.inspect}, profit_share_begin:"\
  " #{@profit_share_begin.inspect}, profit_share_end: #{@profit_share_end.inspect},"\
  " loss_share_begin: #{@loss_share_begin.inspect}, loss_share_end:"\
  " #{@loss_share_end.inspect}, capital_share_begin: #{@capital_share_begin.inspect},"\
  " capital_share_end: #{@capital_share_end.inspect}, decrease_due_to_sale_or_exchange:"\
  " #{@decrease_due_to_sale_or_exchange.inspect}, decrease_due_to_sale:"\
  " #{@decrease_due_to_sale.inspect}, decrease_due_to_exchange:"\
  " #{@decrease_due_to_exchange.inspect}, nonrecourse_liability_share_begin:"\
  " #{@nonrecourse_liability_share_begin.inspect}, nonrecourse_liability_share_end:"\
  " #{@nonrecourse_liability_share_end.inspect}, qualified_liability_share_begin:"\
  " #{@qualified_liability_share_begin.inspect}, qualified_liability_share_end:"\
  " #{@qualified_liability_share_end.inspect}, recourse_liability_share_begin:"\
  " #{@recourse_liability_share_begin.inspect}, recourse_liability_share_end:"\
  " #{@recourse_liability_share_end.inspect}, includes_lower_tier_liability:"\
  " #{@includes_lower_tier_liability.inspect}, liability_subject_to_guarantees:"\
  " #{@liability_subject_to_guarantees.inspect}, capital_account_begin:"\
  " #{@capital_account_begin.inspect}, capital_account_contributions:"\
  " #{@capital_account_contributions.inspect}, capital_account_increase:"\
  " #{@capital_account_increase.inspect}, capital_account_other:"\
  " #{@capital_account_other.inspect}, capital_account_withdrawals:"\
  " #{@capital_account_withdrawals.inspect}, capital_account_end:"\
  " #{@capital_account_end.inspect}, built_in_gain: #{@built_in_gain.inspect},"\
  " unrecognized_section704_begin: #{@unrecognized_section704_begin.inspect},"\
  " unrecognized_section704_end: #{@unrecognized_section704_end.inspect}, ordinary_income:"\
  " #{@ordinary_income.inspect}, net_rental_real_estate_income:"\
  " #{@net_rental_real_estate_income.inspect}, other_rental_income:"\
  " #{@other_rental_income.inspect}, guaranteed_payment_services:"\
  " #{@guaranteed_payment_services.inspect}, guaranteed_payment_capital:"\
  " #{@guaranteed_payment_capital.inspect}, guaranteed_payment:"\
  " #{@guaranteed_payment.inspect}, interest_income: #{@interest_income.inspect},"\
  " ordinary_dividends: #{@ordinary_dividends.inspect}, qualified_dividends:"\
  " #{@qualified_dividends.inspect}, dividend_equivalents: #{@dividend_equivalents.inspect},"\
  " royalties: #{@royalties.inspect}, net_short_term_gain: #{@net_short_term_gain.inspect},"\
  " net_long_term_gain: #{@net_long_term_gain.inspect}, collectibles_gain:"\
  " #{@collectibles_gain.inspect}, unrecaptured1250_gain: #{@unrecaptured1250_gain.inspect},"\
  " net1231_gain: #{@net1231_gain.inspect}, other_income: #{@other_income.inspect},"\
  " section179_deduction: #{@section179_deduction.inspect}, other_deductions:"\
  " #{@other_deductions.inspect}, self_employment: #{@self_employment.inspect}, credits:"\
  " #{@credits.inspect}, schedule_k3: #{@schedule_k3.inspect}, amt_items:"\
  " #{@amt_items.inspect}, tax_exempt_income: #{@tax_exempt_income.inspect}, distributions:"\
  " #{@distributions.inspect}, other_info: #{@other_info.inspect}, foreign_tax_paid:"\
  " #{@foreign_tax_paid.inspect}, multiple_at_risk_activities:"\
  " #{@multiple_at_risk_activities.inspect}, multiple_passive_activities:"\
  " #{@multiple_passive_activities.inspect}, k1_supplemental: #{@k1_supplemental.inspect},"\
  " k1_statement_a: #{@k1_statement_a.inspect}, k1_statement_c: #{@k1_statement_c.inspect},"\
  " additional_properties: #{@additional_properties}>"
end

#to_sObject

Provides a human-readable string representation of the object.



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'lib/fdx_v660_api/models/form1065_schedule_k1.rb', line 1095

def to_s
  class_name = self.class.name.split('::').last
  "<#{class_name} tax_year: #{@tax_year}, corrected: #{@corrected}, account_id:"\
  " #{@account_id}, tax_form_id: #{@tax_form_id}, tax_form_date: #{@tax_form_date},"\
  " additional_information: #{@additional_information}, tax_form_type: #{@tax_form_type},"\
  " issuer: #{@issuer}, recipient: #{@recipient}, attributes: #{@attributes}, error:"\
  " #{@error}, links: #{@links}, fiscal_year_begin: #{@fiscal_year_begin}, fiscal_year_end:"\
  " #{@fiscal_year_end}, final_k1: #{@final_k1}, amended_k1: #{@amended_k1}, irs_center:"\
  " #{@irs_center}, publicly_traded: #{@publicly_traded}, general_partner:"\
  " #{@general_partner}, limited_partner: #{@limited_partner}, domestic: #{@domestic},"\
  " foreign: #{@foreign}, disregarded_entity: #{@disregarded_entity}, disregarded_entity_tin:"\
  " #{@disregarded_entity_tin}, disregarded_entity_name: #{@disregarded_entity_name},"\
  " entity_type: #{@entity_type}, retirement_plan: #{@retirement_plan}, profit_share_begin:"\
  " #{@profit_share_begin}, profit_share_end: #{@profit_share_end}, loss_share_begin:"\
  " #{@loss_share_begin}, loss_share_end: #{@loss_share_end}, capital_share_begin:"\
  " #{@capital_share_begin}, capital_share_end: #{@capital_share_end},"\
  " decrease_due_to_sale_or_exchange: #{@decrease_due_to_sale_or_exchange},"\
  " decrease_due_to_sale: #{@decrease_due_to_sale}, decrease_due_to_exchange:"\
  " #{@decrease_due_to_exchange}, nonrecourse_liability_share_begin:"\
  " #{@nonrecourse_liability_share_begin}, nonrecourse_liability_share_end:"\
  " #{@nonrecourse_liability_share_end}, qualified_liability_share_begin:"\
  " #{@qualified_liability_share_begin}, qualified_liability_share_end:"\
  " #{@qualified_liability_share_end}, recourse_liability_share_begin:"\
  " #{@recourse_liability_share_begin}, recourse_liability_share_end:"\
  " #{@recourse_liability_share_end}, includes_lower_tier_liability:"\
  " #{@includes_lower_tier_liability}, liability_subject_to_guarantees:"\
  " #{@liability_subject_to_guarantees}, capital_account_begin: #{@capital_account_begin},"\
  " capital_account_contributions: #{@capital_account_contributions},"\
  " capital_account_increase: #{@capital_account_increase}, capital_account_other:"\
  " #{@capital_account_other}, capital_account_withdrawals: #{@capital_account_withdrawals},"\
  " capital_account_end: #{@capital_account_end}, built_in_gain: #{@built_in_gain},"\
  " unrecognized_section704_begin: #{@unrecognized_section704_begin},"\
  " unrecognized_section704_end: #{@unrecognized_section704_end}, ordinary_income:"\
  " #{@ordinary_income}, net_rental_real_estate_income: #{@net_rental_real_estate_income},"\
  " other_rental_income: #{@other_rental_income}, guaranteed_payment_services:"\
  " #{@guaranteed_payment_services}, guaranteed_payment_capital:"\
  " #{@guaranteed_payment_capital}, guaranteed_payment: #{@guaranteed_payment},"\
  " interest_income: #{@interest_income}, ordinary_dividends: #{@ordinary_dividends},"\
  " qualified_dividends: #{@qualified_dividends}, dividend_equivalents:"\
  " #{@dividend_equivalents}, royalties: #{@royalties}, net_short_term_gain:"\
  " #{@net_short_term_gain}, net_long_term_gain: #{@net_long_term_gain}, collectibles_gain:"\
  " #{@collectibles_gain}, unrecaptured1250_gain: #{@unrecaptured1250_gain}, net1231_gain:"\
  " #{@net1231_gain}, other_income: #{@other_income}, section179_deduction:"\
  " #{@section179_deduction}, other_deductions: #{@other_deductions}, self_employment:"\
  " #{@self_employment}, credits: #{@credits}, schedule_k3: #{@schedule_k3}, amt_items:"\
  " #{@amt_items}, tax_exempt_income: #{@tax_exempt_income}, distributions: #{@distributions},"\
  " other_info: #{@other_info}, foreign_tax_paid: #{@foreign_tax_paid},"\
  " multiple_at_risk_activities: #{@multiple_at_risk_activities}, multiple_passive_activities:"\
  " #{@multiple_passive_activities}, k1_supplemental: #{@k1_supplemental}, k1_statement_a:"\
  " #{@k1_statement_a}, k1_statement_c: #{@k1_statement_c}, additional_properties:"\
  " #{@additional_properties}>"
end