API Example error: Invoices.Supplier_Search

Small error in the example provided for the JSON Invoices.Supplier_Search

Existing:
“AdditionalParameters”: {
showCredits”: “1”
}

Should be:
“AdditionalParameters”: {
ShowCredits”: “1”
}

Capitalise the S in ShowCredits

Currently results in error:
“Errors”: {
“Error”: [
“19The element ‘AdditionalParameters’ in namespace ‘http://www.QuickFile.co.uk’ has invalid child element ‘showCredits’ in namespace ‘http://www.QuickFile.co.uk’. List of possible elements expected: ‘http://www.QuickFile.co.uk:ShowTotalInvoiced http://www.QuickFile.co.uk:ShowTotalPaid http://www.QuickFile.co.uk:ShowCredits’.”
]
}
}

1 Like

Thanks @norm1710. I’ll pass this to our development team to take a look