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
- Form 1065 is due the 15th day of the 3rd month after year-end — March 15 for calendar-year partnerships (rolls to the next business day on a weekend/holiday).
- Form 7004 gives an automatic 6-month extension.
- The partnership must furnish each partner their Schedule K-1 by the filing deadline. Under the BBA centralized partnership audit regime, the return designates a Partnership Representative (and reports adjustments via AAR/Form 8082 where applicable).
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
- The sum of all Schedule K-1s must equal Schedule K for every line — each partner's K-1 box is their distributive share of the corresponding Schedule K total, allocated per the partnership agreement (profit/loss/special allocations).
- Ordinary business income (Line 22) flows to Schedule K Line 1; separately-stated items (capital gains, §1231, §179, interest, credits, foreign) bypass Line 22 and appear on their own Schedule K lines so they keep their character at the partner level.
- Schedule M-3 is required when total assets ≥ $10 million (or other tests); otherwise M-1. Schedule M-2 must reconcile partners' capital accounts (beginning + contributions + income − losses − distributions = ending), reported on a tax basis.
- Guaranteed payments are deductible by the partnership and separately stated to partners.
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
- Correct tax year and current-year Partnership MeF (1065) schema set
- Filer EIN + name-control match; Partnership Representative (BBA) designated
- Ordinary income (Line 22) ties to Schedule K Line 1; separately-stated items on their own K lines
- Σ of all Schedule K-1 amounts = Schedule K for every line/box
- Each K-1 has partner TIN, entity type, profit/loss/capital %, and beginning/ending tax-basis capital
- Schedule L balances; M-1/M-3 reconciliation ties; M-2 capital roll-forward ties to ending capital
- M-3 used if assets ≥ $10M / 100+ partner e-file mandate considered
- K-1s furnished to partners; transmitted via approved MeF channel; deadline (Mar 15) met / 7004 filed
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.