Getting Connected to the P4 Books API
P4 Books Cloud Accounting - API Integration
The P4 Books API allows you to integrate your existing systems with P4 Books. You can use the API to create and retrieve transactions, manage master data, and automate your accounting workflows.
Authentication
To connect to the P4 Books API, you will need an API key. To obtain your API key:
Log in to your P4 Books account.
Go to Settings > API.
Click Generate API Key.
Copy and store the key securely — it will only be shown once.
Include your API key in the header of every request:
Authorization: Bearer YOUR_API_KEYBase URL
All API requests are made to:
https://tenantname.p4books.com/api/v1Replace tenantname with your organization's tenant name.
Available Endpoints
Master Data
GET
/products
List all products
GET
/customers
List all customers
GET
/vendors
List all vendors
POST
/products
Create a product
POST
/customers
Create a customer
POST
/vendors
Create a vendor
Transactions
GET
/invoices
List all invoices
GET
/purchase-orders
List all purchase orders
GET
/sales-orders
List all sales orders
POST
/invoices
Create an invoice
POST
/purchase-orders
Create a purchase order
Example Request
Example Response
Rate Limits
API requests are limited to 100 requests per minute per API key. If you exceed this limit, you will receive a 429 Too Many Requests response.
Last updated
Was this helpful?
