FinchContext
Run with

Build IRS Form 1065 E-File (Partnership MeF XML)

Skill: Convert partnership books into a Form 1065 + Schedule K-1 MeF XML return

Region: United States Category: Business Tax Does: Takes a partnership's books and per-partner allocations and maps them onto the IRS Partnership Modernized e-File (MeF) XML schema for Form 1065, U.S. Return of Partnership Income, including Schedule K (total partnership items) and a Schedule K-1 for each partner. System: IRS Partnership MeF (Pub. 4163 / Pub. 4164)

Form 1065 is an information return — the partnership itself generally pays no income tax; income/loss passes through to partners via Schedule K-1. The MeF schema set is tax-year-specific; element names below follow Form 1065 / Schedule K / K-1 structure, not verbatim XSDs. Partnerships with more than 100 partners must e-file; many others e-file by choice through an approved provider.


When e-filing applies


Input data required

Group Fields
Filer EIN, name, address, tax year, principal business activity/code, number of partners
Income gross receipts, COGS (Form 1125-A), ordinary business income, other income
Deductions salaries/wages, guaranteed payments, rent, taxes, interest, depreciation (Form 4562), other
Schedule K ordinary income, rental income, interest/dividends, capital gains, §1231, §179, credits, foreign items, distributions, self-employment earnings
Per partner name, TIN, address, entity type, profit/loss/capital %, beginning/ending capital account, K-1 box allocations
Schedules L (balance sheet), M-1 or M-3, M-2 (partners' capital accounts)

Structure (Form 1065 → XML)

Page 1
  Lines 1–8     Income (receipts → COGS → gross profit → +other → total income)
  Lines 9–21    Deductions → ordinary business income (loss) Line 22
Schedule B      Other information (partnership questions, ownership, BBA election)
Schedule K      Partners' DISTRIBUTIVE SHARE items (totals for all partners)
Schedule K-1    Per-partner share of every Schedule K line  (one per partner)
Schedule L      Balance sheet per books
Schedule M-1    Reconciliation of book income to return income (M-3 if required)
Schedule M-2    Analysis of partners' capital accounts

Calculation rules


Worked example (two equal partners)

Ordinary business income $400,000; long-term capital gain $50,000; two partners at 50/50:

Form 1065 Line 22   400000   Ordinary business income
Schedule K Line 1   400000   Ordinary business income (loss)
Schedule K Line 9a   50000   Net long-term capital gain
  K-1 Partner A: Box 1 = 200000 ; Box 9a = 25000
  K-1 Partner B: Box 1 = 200000 ; Box 9a = 25000
  (ΣK-1 Box 1 = 400000 = Schedule K Line 1 ✓ ; ΣK-1 Box 9a = 50000 = K Line 9a ✓)

The figures are emitted as the IRS1065 element set inside the MeF ReturnData, with one Schedule K and N Schedule K-1 elements plus L/M-1/M-2, wrapped for MeF transmission.


Validation checklist


Last updated: 2026-05-31 — 1065 MeF schemas, capital-account reporting, and thresholds change yearly; confirm element names, the tax-basis capital reporting rules, M-1/M-3 and e-file thresholds, BBA designations, and deadlines against current IRS Partnership MeF / Pub. 4163 guidance before use.