IRS e-file Transmission Packaging Strategy

30
IRS e-file Transmission Packaging Strategy Based on exploratory work by IBM and IRS Presented by Glenda Hayes/MITRE International Tax Agencies Conference April 29, 2002

description

IRS e-file Transmission Packaging Strategy. Based on exploratory work by IBM and IRS Presented by Glenda Hayes/MITRE International Tax Agencies Conference April 29, 2002. eFile Transport and Packaging Objectives. - PowerPoint PPT Presentation

Transcript of IRS e-file Transmission Packaging Strategy

Page 1: IRS e-file Transmission Packaging Strategy

IRS e-fileTransmission Packaging

Strategy

Based on exploratory work by IBM and IRSPresented by Glenda Hayes/MITRE

International Tax Agencies ConferenceApril 29, 2002

Page 2: IRS e-file Transmission Packaging Strategy

2

eFile Transport and Packaging Objectives

Define standard wire format and protocol for business return submission and acknowledgements Support any return type (e.g. 1120, 941) Rely on standards whenever possible

lower risk/development costs leverage existing tools reduce training costs

Support XML and binary data Usable over multiple communication channels

(e.g. dial-up, Internet, FTP, HTTP)

Page 3: IRS e-file Transmission Packaging Strategy

3

eFile Return Packaging Objectives

Specify standard mechanism for structuring return components supports any return type consistent with eFile Transport and

Packaging simplifies XML schema definition and

instance creation facilitates development of standard

return processing applications provides flexibility to return storage and

access

Page 4: IRS e-file Transmission Packaging Strategy

4

eFile Transport and Packaging Proposal

Defines the message enveloping and header document schema used to transfer IRS return submissions and acknowledgements over a communication protocol such as FTP, HTTP, etc. Defined as a set of layered extensions to the

base SOAP v1.1 and SOAP with Attachments standards.

Foundation for current W3C XML Protocol (SOAP 1.2) Does not override any SOAP semantics

Underlying transport based on MIME/multipart message standard.

Allows binary content

Page 5: IRS e-file Transmission Packaging Strategy

5

eFile Transport and Packaging

Page 6: IRS e-file Transmission Packaging Strategy

6

Acknowledgement Packaging

Page 7: IRS e-file Transmission Packaging Strategy

7

eFile Return Packaging Proposal

Defines the structure of any return for use in transmission and storage

Each return and all its components is defined as one complete XML document

Return is defined as a set of “documents,” each with a standard type (e.g. form, schedule, statement, etc.)

Return provides a “manifest” for listing included documents along with identifying information

Individual documents may be prepared separately and then combined into return

Page 8: IRS e-file Transmission Packaging Strategy

8

SOAP Overview

W3C (http://www.w3.org) message protocol standards SOAP 1.1

http://www.w3.org/TR/SOAP/ SOAP Messages with Attachments

http://www.w3.org/TR/SOAP-attachments W3C is working on SOAP 1.2, which is based

on these two standardshttp://www.w3.org/TR/soap12/

Page 9: IRS e-file Transmission Packaging Strategy

9

SOAP Overview

A lightweight XML message transport protocol for exchange of information in a decentralized, distributed environment

Defines an envelope-and-attachments structure

Allows for easy extension with your own content models

Allows for binary content, e.g. Excel spreadsheets, Word documents, etc.

Page 10: IRS e-file Transmission Packaging Strategy

10

SOAP Envelope & Attachments

SOAP Envelope optional Header content model mandatory Body content model

SOAP Attachments defined as MIME/Multipart message

often used in e-mail messages

Page 11: IRS e-file Transmission Packaging Strategy

11

MIME Boundary &Content Header

MIME Boundary separates the SOAP envelope and each

SOAP attachment MIME Content Header

Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Location: XXXXX

Page 12: IRS e-file Transmission Packaging Strategy

12

Message Packaging

Defines the message envelope and header document schemas used to transfer IRS return submissions and acknowledgements over a dedicated line, dial-up, or other common communication protocols such as HTTP.

Page 13: IRS e-file Transmission Packaging Strategy

13

Defined as a set of layered extensions to the SOAP 1.1 and SOAP Messages with Attachments standards Does not override any SOAP semantics.

The standard SOAP schema (http://schemas.xmlsoap.org/soap/envelope/) is used “as-is”

Replaces proprietary TRAN A, TRAN B, RECAP, SUMMARY records

Message Packaging

Page 14: IRS e-file Transmission Packaging Strategy

14

Message Packaging

An e-file transmission file contains one or many origins (a.k.a. batches)

Each origin contains one or many returns

Each return contains many return documents

Page 15: IRS e-file Transmission Packaging Strategy

15

Return Packaging

Each return, including all of its components, is defined as one common XML structure

A return header schema is defined for elements common across return documents, e.g. taxpayer EIN, address, etc.

Separate XML schema defined for each form, schedule, supporting info, election, etc.

Page 16: IRS e-file Transmission Packaging Strategy

16

Return Packaging

A return is defined as a set of “return documents” Each with a standard type Within each return, each return

document has an unique document ID

All return documents are contained in a “ReturnData” structure, which is a SOAP attachment

Page 17: IRS e-file Transmission Packaging Strategy

17

Return Documents Form

e.g. Form 1120, Form 4797, ...

Schedule e.g. Schedule D, Itemized Other Income Schedule, ...

Supporting Info e.g. Tax Shelter Disclosure, miscellaneous

explanations, ...

Election e.g. Securities or Commodities Held by a Trader -

Mark-to-Market, ...

Payment

Page 18: IRS e-file Transmission Packaging Strategy

18

Transmission File

Based on SOAP 1.1 with Attachments

SOAP envelope SOAP Header SOAP Body

SOAP attachment Return document(s)

MIME boundaries and content headers

Transmission File

SOAP Attachment

MIME Boundary & Content Header

MIME Content Header

MIME Boundary

MIME Boundary & Content Header

MIME Boundary & Content Header

MIME Boundary & Content Header

SOAP Attachment

SOAP Attachment

SOAP Attachment

SOAP Envelope

SOAP Header

SOAP Body

Page 19: IRS e-file Transmission Packaging Strategy

19

Sample Transmission File

Page 20: IRS e-file Transmission Packaging Strategy

20

Transmission Envelope

SOAP Header Transmission Header

Transmission header elements One or many return origin

headers

SOAP Body FileReturn (a process handler)

One or many 1120x return headers

SOAP Header

SOAP Body

SOAP Envelope

Page 21: IRS e-file Transmission Packaging Strategy

21

Sample Transmission Envelope

Page 22: IRS e-file Transmission Packaging Strategy

22

Origin & Return Manifests

Transmission Manifest references origins by the Origin ID

Origin Manifest references the return headers by an Item ID, which is unique within the transmission file

The return header references the return data by its Content-Location (MIME content header)

Page 23: IRS e-file Transmission Packaging Strategy

23

Sample Transmission Envelope - Header & Body

Header Body

Page 24: IRS e-file Transmission Packaging Strategy

24

Sample Return Data

Page 25: IRS e-file Transmission Packaging Strategy

25

Sample Return Data

Page 26: IRS e-file Transmission Packaging Strategy

26

Acknowledgement Packaging

SOAP envelope with SOAP Body but no SOAP

Transmission Acknowledgement

Origin Acknowledgement(s)• Item (Return)

Acknowledgement(s)

Acknowledgement File

SOAP Envelope

SOAP Body

Page 27: IRS e-file Transmission Packaging Strategy

27

SampleAcknowledgement File

Page 28: IRS e-file Transmission Packaging Strategy

28

SampleAcknowledgement File

Page 29: IRS e-file Transmission Packaging Strategy

29

Sample Item Error& Error Codes

100 - Missing return150 - Duplicate return200 - Missing return document250 - Duplicate return document280 - The maximum number of occurrences for this return document is exceeded300 - Missing field350 - Duplicate field400 - Incorrect data type420 - Data out of range440 - Incorrect data format460 - Invalid data value500 - Data cannot be validated against other data on the same return document550 - Data cannot be validated against other data on another return document

Page 30: IRS e-file Transmission Packaging Strategy

30

References

IRS 1120/941 eFile Transport and Packaging Proposal http://www.taxadmin.org/fta/edi/XMLpkg01.pdf

Tax Information Group for ECommerce Requirements Standardization (TIGERS) http://xml.coverpages.org/tigers.html