> For the complete documentation index, see [llms.txt](https://docs.whiteswan.io/partner-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whiteswan.io/partner-knowledge-base/zapier-integration/search-actions/earnings-event-s.md).

# Earnings Event(s)

This action retrieves information about [Earnings Event(s)](/partner-knowledge-base/platform-overview/commissions-and-referral-earnings.md) associated with your White Swan account.

{% hint style="info" %}
Earnings events with the Earnings Event value **Paid Compensation** signifies payments made to you and should be treated differently than events with the Earnings Event value **Closed Case** or **Referred Partner Earning**. For a deeper understanding, refer to our [Example Use Case of Integrating With Accounting/Payroll Tools](/partner-knowledge-base/zapier-integration/example-use-cases/integrate-with-accounting-payroll-tools.md).
{% endhint %}

***

**Input (Search) Fields:**

<table data-full-width="true"><thead><tr><th>Field Name</th><th>Field Type</th><th>Example Value</th><th>Description</th></tr></thead><tbody><tr><td>User Email</td><td>Text</td><td>john@acme.com</td><td>This input can optionally be used to only show earnings events associated with a particular user on your account.</td></tr><tr><td>Client Email</td><td>Text</td><td>jane@gmail.com</td><td>This input can optionally be used to only show earnings events associated with a particular client referred from your account.</td></tr><tr><td>Look-back Period in Days</td><td>Number</td><td>90</td><td>This input can optionally be used to only show earnings events created after the current date minus X amount of days.</td></tr></tbody></table>

***

**Output Fields:**

<table data-full-width="true"><thead><tr><th>Field Name</th><th>Field Type</th><th>Example Value</th><th>Description</th></tr></thead><tbody><tr><td>Earnings Event Name</td><td>Text</td><td>Case Closed</td><td>The name of the earnings event.</td></tr><tr><td>Earnings Event Amount Credited</td><td>Number</td><td>500</td><td>The amount credited for the earnings event.</td></tr><tr><td>Earnings Event Associated Client Name</td><td>Text</td><td>John Doe</td><td>The name of the client associated with the earnings event (only for Closed Case Events).</td></tr><tr><td>Earnings Event Associated Client Email</td><td>Text</td><td>john@example.com</td><td>The email address of the client associated with the earnings event (only for Closed Case Events).</td></tr><tr><td>Earnings Event Associated Plan Request ID</td><td>Text</td><td>1670721321811x149164079586738180</td><td>The ID of the plan request associated with the earnings event.</td></tr><tr><td>Earnings Event Associated Referred Partner</td><td>Text</td><td>Acme Inc</td><td>The name of the partner associated with the earnings event (only for Referred Partner Earning Events).</td></tr><tr><td>Earnings Event Credit Invoice</td><td>Text</td><td>https://s3.amazonaws.com/appforest_uf/f167656056312330177020/Crediting%20Invoice%20.docx</td><td>A link to the credit invoice for the earnings event (only for Paid Compensation Events)</td></tr><tr><td>Earnings Event Associated Account User</td><td>Text</td><td>Axel Doe</td><td>The name of the account user associated with the earnings event.</td></tr></tbody></table>
