adapt minimal invoice