Invoice and payment numbering