Zoho Books connection options
The following are connection options for Zoho Books:
ENTITY_NAME– (Required) Used for Read. The name of the Zoho Books object to read.SELECTED_FIELDS– Default: empty (SELECT *). Used for Read. The columns you want to select for the object.FILTER_PREDICATE– Default: empty. Used for Read. A filter predicate that AWS Glue pushes down to Zoho Books for the fields listed in the filtering support table below. Supply it as a AWS GlueFILTER_PREDICATEoption (for example, from a SparkDataFramefilter).
Zoho Books supports server-side (pushed-down) filtering on the following entities, with the operators shown, through FILTER_PREDICATE:
| Entity | Filterable fields | Supported operators |
|---|---|---|
| bills | vendor_id, vendor_name, status, bill_number, reference_number, date, due_date, total, last_modified_time, created_date, description, project_id, item_name, item_description, item_id, customer_id | equals only |
| chart-of-accounts | account_id, account_name, account_code, account_type, last_modified_time | equals only |
| contacts | contact_name, company_name, contact_type, status, first_name, last_name, phone | equals only |
| customer-payments | date, payment_mode, amount, customer_id, customer_name, reference_number | equals only |
| estimates | customer_name, customer_id, status, estimate_number, reference_number, date, total, last_modified_time, expiry_date, item_id, item_name, item_description | equals, greater than or equal to, and less than or equal to |
| expenses | date, account_name, description, reference_number, customer_id, customer_name, vendor_id, vendor_name, status, amount, project_id | equals only |
| invoices | customer_name, customer_id, status, invoice_number, reference_number, date, due_date, total, balance, last_modified_time, item_name, item_id, item_description, created_date | equals, greater than or equal to, and less than or equal to |
| items | name, status, description, rate, tax_id, tax_name, is_taxable, account_id | equals, greater than, greater than or equal to, less than, and less than or equal to |
AWS Glue applies filters on any other Zoho Books entity after it reads records, through the Spark DataFrame filters.