AutoInvoice processes debit memos with late charge lines and credit memos that are against debit memos with late charge lines.
If LINE_TYPE = 'CHARGES', AutoInvoice does not calculate tax, freight, or sales credits on this line. Also, if you are passing your late charges distribution in RA_INTERFACE_DISTRIBUTIONS_ALL, ACCOUNT_CLASS must be 'CHARGES.'
In order for AutoInvoice to pass a late charge line, do not enter a value for the following columns in RA_INTERFACE_LINES_ALL:
INVOICING_RULE_ID
INVOICING_RULE_NAME
ACCOUNTING_RULE_ID
ACCOUNTING_RULE_NAME
ACCOUNTING_RULE_DURATION
RULE_START_DATE
UOM_CODE
UOM_NAME
AMOUNT
If you are passing a debit memo late charges line RA_INTERFACE_LINES.QUANTITY must = 1. If you are passing a credit memo against a debit memo with a late charges line RA_INTERFACE_LINES.QUANTITY must = -1 or 1.