These docs are for v1.0. Click to read the latest docs for v2.0.
added

V2 - Expose `pro_account_expense` in Transactions endpoints responses

A new object pro_account_expense is available in all Transactions and MatchedTransactions (for SupplierInvoices and CustomerInvoices) endpoints.

This new attribute give information on who paid the transaction using it's Pro Account card :

  • employee refers to a User in Pennylane.
  • card_masked_number is the given minimal information to identify which card has been used.
"pro_account_expense": {
  "employee": {
    "id": 42,
    "first_name": "John",
    "last_name": "Doe"
  },
  "card_masked_number": "123456XXXXXX7890"
},