Sylvia records the purchases of inventory in the current accounting period even though she will actually pay for the inventory in the next accounting period. Which accounting principle does she comply with?