This API script will help you to create Account Receivable Receipt by passing required parameter as shown below in Oracle R12 Application
ar_receipt_api_pub.create_cash
(
p_api_version => 1.0,
p_init_msg_list => fnd_api.g_false,
p_commit => FND_API.G_TRUE,
p_validation_level => fnd_api.g_valid_level_full,
x_return_status => lx_return_status,
x_msg_count => lx_msg_count,
x_msg_data => lx_msg_data,
p_currency_code => p_currency_cd,
p_amount => p_receipt_amount,
p_receipt_number => p_receipt_num,
p_receipt_date => p_receipt_date,
p_gl_date => p_gl_date,
p_customer_id => p_customer_id,
p_receipt_method_id => p_receipt_method_id,
p_attribute_rec => lr_attribute_rec,
p_org_id => p_org_id,
p_cr_id => p_cash_receipt_id,
p_comments => ‘AR Receipts for Test’
);