cancel
Showing results for 
Search instead for 
Did you mean: 
nr23
Level 2

.iif import error 15153

Hi -- I am trying to import a journal entry but I keep getting an error message :
; [ERROR] Expected transaction data or line item header. [15151]

; [ERROR] Expected 'ENDTRNS'. All transactions must end with ENDTRNS. [15153]

 

This is a sample of the JE I'm trying to import.  Can I not import JEs with multiple TRNS lines?  Thanks.

 

!TRNSTRNSIDTRNSTYPEDATEACCNTCLASSAMOUNTDOCNUMMEMO
!SPLSPLIDTRNSTYPEDATEACCNTCLASSAMOUNTDOCNUMMEMO
!ENDTRNS       
TRNS GENERAL JOURNAL########69990Operations:Climate316908.43 Dec PR1
TRNS GENERAL JOURNAL########69990Operations:Lands37447.844 Dec PR1
TRNS GENERAL JOURNAL########69990Operations:Water35187.322 Dec PR1
TRNS GENERAL JOURNAL########69990Operations:Other31205.544 Dec PR1
TRNS GENERAL JOURNAL########69990Operations:Admin33831.191 Dec PR1
TRNS GENERAL JOURNAL########69990Operations:Ind Pol31219.517 Dec PR1
SPL GENERAL JOURNAL########69999Operations:Admin335799.85 Dec PR1
ENDTRNS        
Solved
Best answer February 08, 2023

Best Answers
BigRedConsulting
Community Champion

.iif import error 15153

RE: Can I not import JEs with multiple TRNS lines? 

 

You can't import any transactions with multiple TRNS lines.

 

In an IIF file, each transaction has one TRNS line, followed by one or more SPL lines, and one ENDTRNS line.

 

The minimum transactions will be:

TRNS

SPL

ENDTRNS

 

Yours will be something more like:

TRNS

SPL

SPL

SPL

SPL

SPL

ENDTRNS

 

Also, each transaction must balance, meaning the sum of the amounts must be zero (debits = credits).  In your example, all the rows are positive (debits).

 

View solution in original post

2 Comments 2
BigRedConsulting
Community Champion

.iif import error 15153

RE: Can I not import JEs with multiple TRNS lines? 

 

You can't import any transactions with multiple TRNS lines.

 

In an IIF file, each transaction has one TRNS line, followed by one or more SPL lines, and one ENDTRNS line.

 

The minimum transactions will be:

TRNS

SPL

ENDTRNS

 

Yours will be something more like:

TRNS

SPL

SPL

SPL

SPL

SPL

ENDTRNS

 

Also, each transaction must balance, meaning the sum of the amounts must be zero (debits = credits).  In your example, all the rows are positive (debits).

 

nr23
Level 2

.iif import error 15153

Ahhh.  so i got it backwards -- i can have one TRNS line but multiple SPL lines (because I definitely am importing transaction with multiple SPL lines).  And i just forgot to make the last number negative but it was negative in my attempted import.  Thanks!

Need to get in touch?

Contact us