X12 819 — Joint Interest Billing and Operating Expense
The 819 transmits a joint interest billing (JIB) in the oil and gas industry: allocation of operating costs between operator and working-interest partners.
Purpose
The 819 is the central instrument of Joint Interest Billing in upstream oil and gas. A well operator (typically EOG, ConocoPhillips, Chevron) bills each working-interest partner monthly for their share of operating costs: labor, materials, transportation, well services, lease operating expense (LOE).
It follows the COPAS (Council of Petroleum Accountants Societies) Accounting Procedure attached to the JOA (Joint Operating Agreement). Acknowledged by 997; disputes flow through an 824 or via a non-EDI JIB audit.
Envelope structure
The 819 travels within the three X12 envelope levels (ISA/IEA,
GS/GE with functional group JB, and ST/SE).
Didactic example in release 004010:
ISA*00* *00* *ZZ*OPERATOR *ZZ*PARTNER1 *260514*1400*U*00401*000000819*0*P*>~
GS*JB*OPERATOR*PARTNER1*20260514*1400*1*X*004010~
ST*819*0001~
BGN*00*JB-2026-04*20260514~
N1*PR*OPERATOR INC*24*EIN-OPERATOR~
N1*PE*PARTNER ONE*24*EIN-PARTNER1~
REF*ZZ*WELL-API-42-123-45678~
REF*ZZ*WI-PERCENT-25~
DTM*RT*20260401~
DTM*RT*20260430~
LX*1~
REF*ZZ*EXPENSE-CATEGORY-LOE~
AMT*ZZ*48500.00~
SE*11*0001~
GE*1*1~
IEA*1*000000819~ Common segments
- Header —
ST,BGN,DTM*RT(period). - Parties —
N1*PR(Operator),N1*PE(Working Interest Partner). - Well —
REF*ZZ(API Well Number),REF*ZZ(Working Interest percentage). - Expenses —
LXloop:REF*ZZ(COPAS category),AMT*ZZ(partner net amount). - Summary —
SE.
Common pitfalls
- API Well Number: the API Number (14 digits) uniquely identifies the well in the US; truncating or abbreviating prevents correlation with public regulatory data.
- WI percentage: a 25% WI partner pays 25% of operable expenses; without decimal precision (24.875%), rounding accumulates discrepancies.
- COPAS categorization: an 819 must use COPAS expense categories; home-grown categories can't be audited per the COPAS 2018 Accounting Procedure standards.
Related transactions
Documentation
The code 819 and the name Joint Interest Billing and Operating Expense are public and listed on x12.org/products/transaction-sets. The complete structure of loops, qualifiers and code lists is distributed by DISA via the proprietary Implementation Guides (TR3). ediverse.io covers only public concepts, the envelope and didactic examples.