<DocumentElement> <Item> <!-- (string, 100) Company code --> <Company>BW00</Company> <!-- (string, 2000) Descriptive name of the payment term --> <TERM_NAME>Net 60</TERM_NAME> <!-- (string, 25) Short code or name of the payment term --> <CODE>NT60</CODE> <!-- (number) Sequence order of the payment term that indicates its position in the selection list --> <SORT_ORDER>8</SORT_ORDER> <!-- (number) Defines if the due date is moved to the next or previous working day, 1 = Next working day, 2 = Previous working day --> <MOVE_DUE_DATES_TO>0</MOVE_DUE_DATES_TO> <!-- (number) Defines if the system calculates the due date, 0 = Do not calculate due date, 1 = Calculate due date --> <DUE_DATE_CALC>1</DUE_DATE_CALC> <!-- (number, optional) Number of days to be added to the invoice date --> <DUE_DATE_DAYS>60</DUE_DATE_DAYS> <!-- (number, optional) Defines if the due date is at the end of the month or at the end of one of the following months --> <DUE_DATE_EOM>0</DUE_DATE_EOM> <!-- (number) Enter the number of days added to the due date resulting from the previous settings --> <DUE_DATE_DAYS2>0</DUE_DATE_DAYS2> <!-- (number, optional) Defines if the system calculates the cash due date, 0 = Do not calculate cash due date, 1 = Calculate cash due date, 2 = Calculate dynamic cash date --> <CASH_DUE_DATE_CALC>2</CASH_DUE_DATE_CALC> <!-- (number) Number of days to be added to the invoice date --> <CASH_DUE_DATE_DAYS>0</CASH_DUE_DATE_DAYS> <!-- (number, optional) Defines if the cash due date is at the end of the month or at the end of one of the following months --> <CASH_DUE_DATE_EOM>0</CASH_DUE_DATE_EOM> <!-- (number, optional) Number of days added to the cash due date resulting from the previous settings --> <CASH_DUE_DATE_DAYS2>0</CASH_DUE_DATE_DAYS2> <!-- (number, optional) Discount amount when invoice is paid before or at cash due date --> <CASH_DISCOUNT>0.00000000</CASH_DISCOUNT> <!-- (boolean, 5) Inherit to lower administrative sites, Supported values true|false|True|False|TRUE|FALSE --> <INHERIT>false</INHERIT> <!-- (date, optional) Valid until date for payment term, Example: 2012-02-07 --> <VALID_FROM>2015-01-01</VALID_FROM> <!-- (date, optional) Valid until date for payment term, Example: 2012-02-07 --> <VALID_TO>2020-01-01</VALID_TO> <!-- (number) Active / inactive in the system, Supported values 0|1|true|false|True|False|TRUE|FALSE--> <IS_ACTIVE>1</IS_ACTIVE> <!-- (optional) Allows specifying multiple layer of discount rules. If just one discount rule is needed, that can be specified through above fields. --> <PaymentTermDiscountRules> <item> <!-- (number) Defines if the system calculates the cash due date, 0 = Do not calculate due date, 1 = Calculate due date --> <DiscountDays>5</DiscountDays> <!-- (string, 50) External code for additional payment term --> <ExternalCode>5D_1</ExternalCode> <!-- (number) Discount amount when invoice is paid before or at cash due date --> <DiscountPercent>1</DiscountPercent> </item> </PaymentTermDiscountRules> </Item> </DocumentElement>