EInvoicePost_MX::validateInvoiceDateForCFDI_MX Method [AX 2012]
Validate the invoice date of an electronic invoice CFDI posting.
Syntax
server public static void validateInvoiceDateForCFDI_MX(TransDate _invoiceDate)
Run On
Server
Parameters
- _invoiceDate
Type: TransDate Extended Data Type
The invoice date.
Exceptions
Exception | Condition |
---|---|
Error | The invoice date is not valid. The invoice date is earlier than January 1, 2011. –or– The invoice date exceeds the 72 hours. |