Create an invoice with tax details REST API failed on tax details population
SummaryCreate an invoice with tax details REST API failed on tax details population
I'm trying to create an AP invoice using REST API ( 19D cloud version). So far, I was able to create the header and the line (ITEM type), but when I try to add tax details ( tax rate code, tax rate name, tax rate) it fails with error that this attribute cannot be set:
"TaxRateName in view object InvoiceHeaderEO_InvoiceLine2_InvoiceHeaderVOToInvoiceLineVO_InvoiceLineVO cannot be set"
I have tried different combinations of the above 3 values ( tried only with the tax rate code and tax rate, tax rate name with tax rate) but i always hit this issue and it is becoming annoying as I don't know what could be the reason.