Customer Invoices
Send a customer e-invoice to PA
Changed onSend a customer e-invoice to the Partner Dematerialization Platform (PA).
After an e-invoice import, the file may still be processing. If you call this endpoint before processing is finished, the API returns 409. Retry after a few seconds. A 204 response means the invoice is being sent to the PA.
ℹ️ This endpoint requires the following scope: customer_invoices:all
post/api/external/v2/customer_invoices/{id}/send_to_pa
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/customer_invoices/{id}/send_to_pa
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: customer_invoices:all
Path parameters
idinteger required
The unique identifier of the customer e-invoice to send.
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Customer e-invoice is being sent to the Partner Dematerialization Platform (PA)
Changes
- info
added the new optional
headerrequest parameterX-Company-Id - info
added the non-success response with the status
- info