The Livro Diario is released as part of the Brazilian localization in form of an SAP Query. This allows for easy extensions without source code modifications.
The name of the relevant query is
LD , the related functional area is called /SAPQUERY/J1B2 and the related user group is /SAPQUERY/XX.The query to create the Livro Diario can be included into the General Ledger Reporting Tree.