Hi,
I am creating sales invoices via the QuickFile API, and every multi-line invoice attempt fails with an XML validation error. Single-line invoices work fine.
The error I get back is:
“Element ‘InvoiceLines’ cannot appear more than once if content model type is ‘all’.”
On some attempts I also see:
“Invalid child element ‘ItemDescription’.”
This happens regardless of which optional fields I include (with or without IssueDate, with or without PONumber), which suggests each line item is being sent inside its own InvoiceLines block rather than all lines nested inside a single InvoiceLines element, and that ItemDescription may not be the correct field name for the line item description in the current schema.
Could you please confirm whether this is a known issue, or point me to a working example of a multi-line Invoice_Create request? Right now I have to create multi-line invoices through the web UI instead of the API.