The deadline for payment is agreed upon before a deal is finalized between the two parties. It is mentioned on the invoice.