Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
ID of the transaction
Example:
42
Response
Transaction matched successfully
curl --request POST \
--url https://app.pennylane.com/api/external/v2/customer_invoices/{customer_invoice_id}/matched_transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transaction_id": 42
}'
This response does not have an example.
This endpoint allows you to match a transaction to a customer invoice. It is not applicable for draft invoices.
You can match one transaction with one customer invoice at a time. To match multiple transactions to a customer invoice, you need to call this endpoint multiple times. It’s possible to match a transaction to multiple customer invoices too.
ℹ️ This endpoint requires one of the following scopes:
customer_invoices:all
curl --request POST \
--url https://app.pennylane.com/api/external/v2/customer_invoices/{customer_invoice_id}/matched_transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transaction_id": 42
}'
This response does not have an example.
The access token received from the authorization server in the OAuth 2.0 flow.
ID of the transaction
42
Transaction matched successfully
Was this page helpful?