Skip to main content

Payments Made

The Payments Made module provides access to contextual information about the current vendor payment when a widget is rendered within supported payment-related pages. Widgets can retrieve payment identifiers, linked bill references, and associated vendor details for use in validations, conditional logic, and UI extensions.

Methods

Get Vendorpayment Details

Retrieves data related to the current context. This method allows your widget to fetch record details, field values, or metadata required for rendering or processing logic.

Commonly used for :
  • Fetch record information
  • Read field values
  • Access contextual module data
Supported Locations :
paymentsreceived.creation.sidebar
Sample Code :
REQUEST DETAILS
window.onload = function () {
  ZFAPPS.extension.init().then(function(App) {
    ZFAPPS.get('vendorpayment').then(function (data) {
     //response Handling
    }).catch(function (err) {
     //error Handling
    });
  });
}
Supported Input Keys :
PropertyRequest
payment_idvendorpayment.payment_id
vendor_idvendorpayment.vendor_id
vendor_namevendorpayment.vendor_name
statusvendorpayment.status
status_formattedvendorpayment.status_formatted
is_online_paymentvendorpayment.is_online_payment
transfer_typevendorpayment.transfer_type
branch_idvendorpayment.branch_id
branch_namevendorpayment.branch_name
location_idvendorpayment.location_id
Show More Supported Input Keys
PropertyRequest
location_namevendorpayment.location_name
payment_modevendorpayment.payment_mode
payment_numbervendorpayment.payment_number
payment_number_prefixvendorpayment.payment_number_prefix
payment_number_suffixvendorpayment.payment_number_suffix
purpose_codevendorpayment.purpose_code
custom_fieldsvendorpayment.custom_fields
custom_field_hashvendorpayment.custom_field_hash
descriptionvendorpayment.description
documentsvendorpayment.documents
datevendorpayment.date
date_formattedvendorpayment.date_formatted
reference_numbervendorpayment.reference_number
exchange_ratevendorpayment.exchange_rate
exchange_rate_formattedvendorpayment.exchange_rate_formatted
tds_tax_idvendorpayment.tds_tax_id
indirect_tds_tax_idvendorpayment.indirect_tds_tax_id
indirect_tds_tax_amountvendorpayment.indirect_tds_tax_amount
indirect_tds_tax_amount_formattedvendorpayment.indirect_tds_tax_amount_formatted
indirect_tcs_tax_idvendorpayment.indirect_tcs_tax_id
indirect_tcs_tax_amountvendorpayment.indirect_tcs_tax_amount
indirect_tcs_tax_amount_formattedvendorpayment.indirect_tcs_tax_amount_formatted
indirect_tds_tax_detailsvendorpayment.indirect_tds_tax_details
indirect_tcs_tax_detailsvendorpayment.indirect_tcs_tax_details
tds_calculation_typevendorpayment.tds_calculation_type
is_tds_amount_in_percentvendorpayment.is_tds_amount_in_percent
tds_override_preferencevendorpayment.tds_override_preference
tds_summaryvendorpayment.tds_summary
tax_account_idvendorpayment.tax_account_id
tax_account_namevendorpayment.tax_account_name
tax_amount_withheldvendorpayment.tax_amount_withheld
tax_amount_withheld_formattedvendorpayment.tax_amount_withheld_formatted
amountvendorpayment.amount
amount_formattedvendorpayment.amount_formatted
total_payment_amountvendorpayment.total_payment_amount
total_payment_amount_formattedvendorpayment.total_payment_amount_formatted
balancevendorpayment.balance
balance_formattedvendorpayment.balance_formatted
currency_idvendorpayment.currency_id
currency_codevendorpayment.currency_code
currency_symbolvendorpayment.currency_symbol
created_timevendorpayment.created_time
last_modified_timevendorpayment.last_modified_time
created_by_idvendorpayment.created_by_id
created_by_namevendorpayment.created_by_name
credit_account_idvendorpayment.credit_account_id
paid_through_account_idvendorpayment.paid_through_account_id
paid_through_account_namevendorpayment.paid_through_account_name
paid_through_account_typevendorpayment.paid_through_account_type
paid_through_account_type_formattedvendorpayment.paid_through_account_type_formatted
is_paid_via_print_checkvendorpayment.is_paid_via_print_check
offset_account_idvendorpayment.offset_account_id
offset_account_namevendorpayment.offset_account_name
is_pre_gstvendorpayment.is_pre_gst
source_of_supplyvendorpayment.source_of_supply
source_of_supply_formattedvendorpayment.source_of_supply_formatted
destination_of_supplyvendorpayment.destination_of_supply
destination_of_supply_formattedvendorpayment.destination_of_supply_formatted
gst_treatmentvendorpayment.gst_treatment
tax_treatmentvendorpayment.tax_treatment
gst_return_detailsvendorpayment.gst_return_details
gst_novendorpayment.gst_no
reverse_charge_tax_idvendorpayment.reverse_charge_tax_id
is_advance_paymentvendorpayment.is_advance_payment
product_descriptionvendorpayment.product_description
is_reverse_charge_appliedvendorpayment.is_reverse_charge_applied
is_ach_paymentvendorpayment.is_ach_payment
ach_payment_statusvendorpayment.ach_payment_status
ach_payment_status_formattedvendorpayment.ach_payment_status_formatted
check_detailsvendorpayment.check_details
billing_addressvendorpayment.billing_address
billsvendorpayment.bills
vendorpayment_refundsvendorpayment.vendorpayment_refunds
commentsvendorpayment.comments
imported_transactionsvendorpayment.imported_transactions
approvers_listvendorpayment.approvers_list
submitted_datevendorpayment.submitted_date
submitted_date_formattedvendorpayment.submitted_date_formatted
submitted_byvendorpayment.submitted_by
submitted_by_namevendorpayment.submitted_by_name
submitted_by_emailvendorpayment.submitted_by_email
submitted_by_photo_urlvendorpayment.submitted_by_photo_url
submitter_idvendorpayment.submitter_id
approver_idvendorpayment.approver_id

Set Vendorpayment Details

Updates or sets data within the current context. This method allows your widget to modify field values, update state, or pass data back to the host application.

Commonly used for :
  • Update field values
  • Set widget or module state
  • Pass data to the parent application
Supported Locations :
paymentsreceived.creation.sidebar
Sample Code :
REQUEST DETAILS
window.onload = function () {
  ZFAPPS.extension.init().then(function(App) {
    ZFAPPS.set('vendorpayment.name', <value>).then(function (data) {
     //response Handling
    }).catch(function (err) {
     //error Handling
    });
  });
}
Supported Input Keys :
PropertyRequest
payment_idvendorpayment.payment_id
vendor_idvendorpayment.vendor_id
vendor_namevendorpayment.vendor_name
statusvendorpayment.status
status_formattedvendorpayment.status_formatted
is_online_paymentvendorpayment.is_online_payment
transfer_typevendorpayment.transfer_type
branch_idvendorpayment.branch_id
branch_namevendorpayment.branch_name
location_idvendorpayment.location_id
Show More Supported Input Keys
PropertyRequest
location_namevendorpayment.location_name
payment_modevendorpayment.payment_mode
payment_numbervendorpayment.payment_number
payment_number_prefixvendorpayment.payment_number_prefix
payment_number_suffixvendorpayment.payment_number_suffix
purpose_codevendorpayment.purpose_code
custom_fieldsvendorpayment.custom_fields
custom_field_hashvendorpayment.custom_field_hash
descriptionvendorpayment.description
documentsvendorpayment.documents
datevendorpayment.date
date_formattedvendorpayment.date_formatted
reference_numbervendorpayment.reference_number
exchange_ratevendorpayment.exchange_rate
exchange_rate_formattedvendorpayment.exchange_rate_formatted
tds_tax_idvendorpayment.tds_tax_id
indirect_tds_tax_idvendorpayment.indirect_tds_tax_id
indirect_tds_tax_amountvendorpayment.indirect_tds_tax_amount
indirect_tds_tax_amount_formattedvendorpayment.indirect_tds_tax_amount_formatted
indirect_tcs_tax_idvendorpayment.indirect_tcs_tax_id
indirect_tcs_tax_amountvendorpayment.indirect_tcs_tax_amount
indirect_tcs_tax_amount_formattedvendorpayment.indirect_tcs_tax_amount_formatted
indirect_tds_tax_detailsvendorpayment.indirect_tds_tax_details
indirect_tcs_tax_detailsvendorpayment.indirect_tcs_tax_details
tds_calculation_typevendorpayment.tds_calculation_type
is_tds_amount_in_percentvendorpayment.is_tds_amount_in_percent
tds_override_preferencevendorpayment.tds_override_preference
tds_summaryvendorpayment.tds_summary
tax_account_idvendorpayment.tax_account_id
tax_account_namevendorpayment.tax_account_name
tax_amount_withheldvendorpayment.tax_amount_withheld
tax_amount_withheld_formattedvendorpayment.tax_amount_withheld_formatted
amountvendorpayment.amount
amount_formattedvendorpayment.amount_formatted
total_payment_amountvendorpayment.total_payment_amount
total_payment_amount_formattedvendorpayment.total_payment_amount_formatted
balancevendorpayment.balance
balance_formattedvendorpayment.balance_formatted
currency_idvendorpayment.currency_id
currency_codevendorpayment.currency_code
currency_symbolvendorpayment.currency_symbol
created_timevendorpayment.created_time
last_modified_timevendorpayment.last_modified_time
created_by_idvendorpayment.created_by_id
created_by_namevendorpayment.created_by_name
credit_account_idvendorpayment.credit_account_id
paid_through_account_idvendorpayment.paid_through_account_id
paid_through_account_namevendorpayment.paid_through_account_name
paid_through_account_typevendorpayment.paid_through_account_type
paid_through_account_type_formattedvendorpayment.paid_through_account_type_formatted
is_paid_via_print_checkvendorpayment.is_paid_via_print_check
offset_account_idvendorpayment.offset_account_id
offset_account_namevendorpayment.offset_account_name
is_pre_gstvendorpayment.is_pre_gst
source_of_supplyvendorpayment.source_of_supply
source_of_supply_formattedvendorpayment.source_of_supply_formatted
destination_of_supplyvendorpayment.destination_of_supply
destination_of_supply_formattedvendorpayment.destination_of_supply_formatted
gst_treatmentvendorpayment.gst_treatment
tax_treatmentvendorpayment.tax_treatment
gst_return_detailsvendorpayment.gst_return_details
gst_novendorpayment.gst_no
reverse_charge_tax_idvendorpayment.reverse_charge_tax_id
is_advance_paymentvendorpayment.is_advance_payment
product_descriptionvendorpayment.product_description
is_reverse_charge_appliedvendorpayment.is_reverse_charge_applied
is_ach_paymentvendorpayment.is_ach_payment
ach_payment_statusvendorpayment.ach_payment_status
ach_payment_status_formattedvendorpayment.ach_payment_status_formatted
check_detailsvendorpayment.check_details
billing_addressvendorpayment.billing_address
billsvendorpayment.bills
vendorpayment_refundsvendorpayment.vendorpayment_refunds
commentsvendorpayment.comments
imported_transactionsvendorpayment.imported_transactions
approvers_listvendorpayment.approvers_list
submitted_datevendorpayment.submitted_date
submitted_date_formattedvendorpayment.submitted_date_formatted
submitted_byvendorpayment.submitted_by
submitted_by_namevendorpayment.submitted_by_name
submitted_by_emailvendorpayment.submitted_by_email
submitted_by_photo_urlvendorpayment.submitted_by_photo_url
submitter_idvendorpayment.submitter_id
approver_idvendorpayment.approver_id

Set Vendorpayment customfields

Specifically designed to update custom field values within the current context. This method allows your widget to target and modify custom fields without affecting standard fields, ensuring precise data management.

Commonly used for :
  • Update custom field values
  • Manage user-defined data points
  • Ensure targeted updates to specific fields
Supported Locations :
paymentsreceived.creation.sidebar
Sample Code :
REQUEST DETAILS
window.onload = function () {
  ZFAPPS.extension.init().then(function(App) {
    ZFAPPS.set('vendorpayment.<custom_field_api_name>',<value>).then(function (data) {
     //response Handling
    }).catch(function (err) {
     //error Handling
    });
  });
}