On Sunday, August 18, 2024 at 9:42:16 PM UTC+2 [email protected] wrote:



I don't understand what you mean. 



What I mean, is that *pad *statement causes beancount to insert a padding 
transaction

Such code

2024-01-01 * "Initial balance"
    Assets:Bank                 1000 EUR
    Equity:StartingBalance

2024-01-09 pad Assets:Bank Expenses:Misc

2024-01-10 balance Assets:Bank 500 EUR



*Gets converted to such code*

2024-01-01 * "Initial balance" Assets:Bank 1000 EUR Equity:StartingBalance 
-1000 EUR 2024-01-09 open Expenses:Misc 2024-01-09 pad Assets:Bank 
Expenses:Misc 2024-01-09 P "(Padding inserted for Balance of 500 EUR for 
difference -500 EUR)" Assets:Bank -500 EUR Expenses:Misc 500 EUR 2024-01-10 
balance Assets:Bank 500 EUR 

It all works as designed, but I thought that it conflicts a bit with the 
documentation 
<https://docs.google.com/document/d/1QftxNvQPdH-MikMBHupftU6F4IsNZP5FlFh1LCbVgk8/edit#heading=h.qs8b7mcsjj82>
.

However now, having read this one again, I think, that the *Round-Tripping 
guarantee* in the documentation 
<https://docs.google.com/document/d/1QftxNvQPdH-MikMBHupftU6F4IsNZP5FlFh1LCbVgk8/edit#heading=h.qs8b7mcsjj82>is
 
applicable to a single transaction, not to the whole ledger, and then it is 
fine
 

-- 
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/456d8abb-a04b-4663-a36f-8637e8204c9en%40googlegroups.com.

Reply via email to