=item checkdest
-Checks the dest field only.
+Checks the dest field only. If it finds that the account ends in the
+same domain configured as the B<domain> configuration file, it will change the
+invoice destination from an email address to a service number (see
+L<FS::svc_acct>).
=cut
=head1 VERSION
-$Id: cust_main_invoice.pm,v 1.2 2000-06-20 07:13:03 ivan Exp $
+$Id: cust_main_invoice.pm,v 1.4 2001-07-27 17:16:25 ivan Exp $
=head1 BUGS