You can use Administration->Application Setup->Company Setup->Data Migration.
You need to choose table Item Journal Line (83) for upload data. After you upload (Functions->Import from Excel; Migration->Apply Migration Data), you can post journal.
You need to prepare good excel template. The best way is upload template. First you need to choose fields (Migration->Migration Fields) and after that prepare file (Functions->Export to Excel).