What kind of document the invoice is.
An invoice.
An advance (proforma) invoice. It is not a tax document.
A credit note, which corrects an invoice downwards. Its amounts are negative.
Invoice
InvoiceFilter
SalesOrder
SyncInvoiceInput