invoice apply credit