Assuming returncurrentpaymentterms is required, the following result was found.
snippet of code will query the metadata api in Zoho Books and return a JSON of what the payment terms are. void fn_ReturnCurrentPaymentTerms() { v_BooksOrgID = "12345678901"; r_PaymentTerms = invokeurl [ url...