Allocation of APC document numbers