Sage300WebAPI Question with APInvoiceBatches

Hi there,

I'm looking into using the APInvoiceBatches' POST to create my invoices.

I'll be posting my invoices one by one. But the issue I have is that every invoice gets a new batch number assigned to it even though I specify the batch number. But they all need to go in the same batch.

Is there a way to create invoices and assign them to an existing batch using the Sage300WebAPI? Or is there a workaround?

The reason why I need to put them 1 by 1 is because if I put them all in one call and I get an error on a single invoice, the whole call is cancelled, but I still need to insert the invoices that doesn't have an error.

Any help is appreciated. Thanks.

Parents Reply Children
No Data