Add invoice creation API (partial)