# How to import statement

**URL:** <https://discuss.tryton.org/t/how-to-import-statement/4681>\
**Category:** User\
**Created:** [October 3, 2021, 8:58am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681 "2021-10-03T08:58:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![deathrake](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Post date:** [October 3, 2021, 8:58am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/1 "2021-10-03T08:58:30Z")

</div>

Thanks a lot @pokoli how can i import statement in bulk ? i cannot see file format while importing xls in import statement

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [October 3, 2021, 12:07pm UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/2 "2021-10-03T12:07:54Z")

</div>

Excel is not a standardized format for bank statement.  
But we support already many formats like AEB43, CODA and OFX (see [Accounting — Tryton Documentation](https://docs.tryton.org/en/latest/account.html#index-accounting)). And we would accept to include any commonly used format.

---

<div class="post-metadata">

**Author:** ![deathrake](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Post date:** [October 4, 2021, 4:26am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/3 "2021-10-04T04:26:37Z")

</div>

ok in india we mostly get statement in csv or xls format . what is the best option for us . can we convert this to other format like AEB43 ,CODA and OFX ?

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [October 4, 2021, 7:37am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/4 "2021-10-04T07:37:38Z")

</div>

There is a [python library for converting csv to OFX](https://github.com/reubano/csv2ofx).  
You may be intersted on using it and import using the OFX format

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [October 4, 2021, 8:40am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/5 "2021-10-04T08:40:00Z")

</div>

As there will need to convert CSV format, it is probably simple to convert it to a CSV that can be imported by Tryton clients and create the statement directly.  
Another way is to use the copy/paste of CSV to the editable lines of the statement origin.

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [October 4, 2021, 8:52am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/6 "2021-10-04T08:52:22Z")

</div>

> [@ced](#):
>
> it is probably simple to convert it to a CSV that can be imported by Tryton clients and create the statement directly.

The interesting fact about the csv2ofx library is that it has a set of [mappings for some bank formats](https://github.com/reubano/csv2ofx/tree/master/csv2ofx/mappings) so the conversion format can be reused.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [October 4, 2021, 8:57am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/7 "2021-10-04T08:57:10Z")

</div>

Hum, it sounds interesting to provide a module that relies on `account_statement_ofx` and convert the CSV based on a selected mapping.

---

<div class="post-metadata">

**Author:** ![deathrake](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Post date:** [October 4, 2021, 10:09am UTC](https://discuss.tryton.org/t/how-to-import-statement/4681/8 "2021-10-04T10:09:03Z")

</div>

I tried importing OFX file but still file format does not appear

Update : Never Mind i havent activate the statement ofx module
