1. Fixed: API savePurchaseDocument must not return error code 1121 when API client re-saves a confirmed purchase document and does not actually change the document's type.