internal_type context key is not used anymore, now we use the debit_origin_id field directly to know if the current document is a debit note or note. X-original-commit: 7e6b3027f60aa7b3b183bdf92b751b2621225b4f
internal_type context key is not used anymore, now we use the debit_origin_id field directly to know if the current document is a debit note or note. X-original-commit: 7e6b3027f60aa7b3b183bdf92b751b2621225b4f