Deferred revenue in sales invoice

Maybe try to verify ERPNext Doc
Same problem as here i think

Sincerely yours,
Martin