You must pay according to the agreed commercial terms.
For example:
Payment Terms: 15 days after delivery acceptance.
If delivery is accepted on October 1, payment is due October 16, assuming the agreement uses calendar days and contains no different calculation rule.