Payment terms code field on customer statement MISSING!

how can i bring Payment terms code field on customer statement in Dynamics business central?
It is not even in the XML mapping field for the word template or RDLC !!

appreciate your help in advance.

That is right, Payment Terms Code is not part of the data item. You can make this visible by extending the existing report. Below is a reference of how to extend an existing report as well as a sample code. You’ll need to update the layout of course but it is fairly straight forward.

Code Sample:

reportextension 50103 "Customer Statement Ext" extends "Standard Statement"
{
    WordLayout = './src/StandardStatementExt.docx';

    dataset
    {
          add(Customer)
          {
                 column(Payment_Terms_Code; "Payment Terms Code")
                 {
                 }
          }
    }
}

Microsoft Documentation: Report Extension Object - Business Central | Microsoft Docs