The Invoice Date field (date
) is normally populated with the bill date, invoice date, or call date (as applicable) and is set at the invoice level. The field may appear in any of the Standard Date and Time Format Strings for .NET Framework shown in the table below.
Date Format | Sample |
---|---|
yyyymmdd | 20180601 |
mm/dd/yyyy | 06/01/2018 |
m/d/yyyy | 6/1/2018 |
mm-dd-yyyy | 06-01-2018 |
m-d-yyyy | 6-1-2018 |
yyyy-mm-dd | 2018-06-01 |
yyyy-m-d | 2018-6-1 |
yyyy-mm-ddThh:MM:ss | 2018-06-01T13:45:30 |
yyyy-m-dThh:MM:ss | 2018-6-1T13:45:30 |
REST v2 compares this date to the effective date of each tax that applies to the transaction. Historical rates and effective dates are maintained and updated within the AFC tax engine and correct tax information is returned based upon the transaction date.
In this example, the Invoice Date (date
) is set to 05/01/2017
on the invoice and applies to all three line items.
Taxes (txs
and summ
) are returned as normal.