The origin is made up of a code of origin and the number of the original document.For a credit memo, it can be an invoice or a return. The number of the original document is only entered if the original document is unique.