I am using the Invoice_Create API endpoint (v1.2) to post sales invoices programmatically.
Invoices are being created successfully with “InvoiceType”: “INVOICE” but I need to control the IssueDate on the created invoice — it must reflect the actual invoice date rather than defaulting to the posting date.
I have tried:
InvoiceDate as a direct field on InvoiceData — rejected by the schema validator
TransactionDate as a direct field on InvoiceData — rejected by the schema validator
Scheduling > SingleInvoiceData > IssueDate — accepted but creates the invoice as DRAFT rather than issued
The Invoice_Get response shows IssueDate as a field on an existing invoice, so the field exists. I can find no Invoice_Update endpoint.
Question: What is the correct way to set the IssueDate when creating a new sales invoice via Invoice_Create?