Generate Amortisation Schedule from API

Hi All,

Just looking for a little help from someone that has had any experience with generating amortisation schedules on AR invoice lines via the API.

I have tried a couple of different ways now (UpdateMaster and GenerateAmortizationSchedule methods) but cant get anything to work.

Thanks in advance!
Tom

Solved!
Leaving the json schema here if anyone finds this post…

{
“ds”:{
“InvcHead”: [
{
“Company”: “company”,
“GroupID”: “453535”,
“InvoiceNum”: “345345”
}
],
“InvcDtl”: [
{
“Company”: “company”,
“InvoiceNum”: “345345”,
“InvoiceLine”: “1”,
“ExtPrice”: “900.000”,
“CustNum”: “4564”,
“RACode”: “DR12”,
“GroupID”: “453535”,
“RowMod”: “U”
}
]

}

}

API - Erp.BO.ARInvoiceSvc/GenerateAmortizationSchedule