This is a known bug in beancount: options aren't inherited by included files.
https://bitbucket.org/blais/beancount/issues/317/initialize-included-files-with-some On Mon, Sep 16, 2019 at 1:23 PM <[email protected]> wrote: > Hi! > > My beancount file is now about 15000 lines long, so i thought it would be > good to organize the data in several files. > So tonight i tried to create an include file: > > include lifeinsurrance.beancount > > In this file , i have this transaction: > ;; -*- mode: beancount -*- > **** /myData/A_Importer/2006-12-05-Versement Libre.json > > 2006-12-05 * "Versement Libre Generali" "" > source: "jsongenerali" > Actif:Linxea:AVTim1:FR0010434019 0.1351 FR0010434019 {739.67 EUR, > 2007-01-05} > Actif:Linxea:AVTim1:QS0002005476 0.1737 QS0002005476 {575.59 EUR, > 2007-01-16} > Actif:Linxea:AVTim1:FR0007062567 0.2961 FR0007062567 {337.63 EUR, > 2007-01-05} > Actif:Linxea:AVTim1:LFPMULTIMMO 0.5547 LFPMULTIMMO {180.26 EUR, > 2007-01-12} > Actif:Linxea:AVTim1:FR0010546929 4.5310 FR0010546929 {22.07 EUR, > 2007-01-05} > Actif:Boursorama:CCTim -500.00 EUR > > and I have the following error: > > /myData/lifeinsurrance.beancount 6 ValueError: Invalid > account name: Actif:Linxea:AVTim1:FR0010434019 > /myData/lifeinsurrance.beancount 7 ValueError: Invalid > account name: Actif:Linxea:AVTim1:QS0002005476 > /myData/lifeinsurrance.beancount 8 ValueError: Invalid > account name: Actif:Linxea:AVTim1:FR0007062567 > /myData/lifeinsurrance.beancount 9 ValueError: Invalid > account name: Actif:Linxea:AVTim1:LFPMULTIMMO > /myData/lifeinsurrance.beancount 10 ValueError: Invalid > account name: Actif:Linxea:AVTim1:FR0010546929 > /myData/lifeinsurrance.beancount 11 ValueError: Invalid > account name: Actif:Boursorama:CCTim > > If a put the same transaction directly in my main beancount file and > remove the include directive,I don't have the invalid account name error. > Just a balance error: > /myData/Famille.beancount 10555 Transaction does not balance: > (-0.128965 EUR), which is i guess related to the cumulated rounding error > of the bank statement. I have to work on it to find a solution. > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/0a305f32-5fc6-4b09-8521-fe906716ca21%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFFHUgv5%2Bpm%2Bz8R5G-etLi5%2BjVEnN-SM3-%2BL3KQ-3M9pTgTAvw%40mail.gmail.com.
