However, it is not a net inflow of resources to the entity, because the asset received (cash) is offset by an equal liability (debt).
Debt can offset the assets received.
It is purely a net inflow of resources to the entity.