1x Invoice line becomes 4x account move lines (tax account, sale goods, etc) in order to be balanced (credit-debit)
But API do not let creates multiple records, just single record , single account move line at a time
wonder how can do
I have found I have to set ..., {context={check_move_validity=false}}
I'm altering invoice lines in Python code and have to use with_context(check_move_validity=False). Is there any way to make invoice move lines (tax/payment items) automatically balanced afterwards?