Prerequisites
Before you begin, ensure you have:- Active PayPal Complete Payments partnership.
- REST API and webhook notification integration.
- Merchant onboarding process to collect tax information through KYC/CIP verification.
1. Enable Tax Reporting as a Service
Contact your PayPal account manager to activate Tax Reporting as a Service for your partner account. PayPal will:- Enable the Tax Reporting as a Service feature for your partner account.
- Configure your account in the tax reporting platform.
2. Set up webhook notifications
Configure webhook endpoints to receive real-time notifications about tax report events:- Subscribe to webhook events using one of the following methods:
- PayPal developer account:
- Log in to your account.
- Go to App details page > Features > Webhooks.
- Subscribe to webhook events.
- Webhooks management API: Use the Webhooks management API.
- PayPal developer account:
- In your server-side app code, define a webhook handler that:
- Listens to the webhook event.
- Confirms receipt of the webhook event to PayPal.
- Verifies the source of the event notification.
- Parses the webhook payload received from PayPal and uses the data to deliver tax reports to merchants.
Available webhook events
| Event | Trigger |
|---|---|
TAXES.REPORTS.GENERATED | A new tax report was generated and is ready for download. Use the is_corrected field to identify corrected reports. |
TAXES.REPORT_COUNT_UPDATED | Aggregate report counts were updated on scheduled dates. Example: April 1 for yearly counts. |