Can you use the WebAPI to send Credit and Debit Notes

Is it possible to send credit or debit notes using the SageWepAPI calls?

I'm able to send batch invoices using the APInvoiceBatches/ARInvoiceBatches but my customer also wants to pass negative invoices and these are rejected when passing  them using the APInvoiceBatches/ARInvoiceBatches.  

I know this can be done using the file based transfer by setting the 'TEXTTRX' Field to '3'.