Move Deposit Receipt creation to its own function.
And move _make_iri's code inside this function, it was almost a single statement.
Migrated from D4503 (view on Phabricator)
And move _make_iri's code inside this function, it was almost a single statement.
Migrated from D4503 (view on Phabricator)