Manually add a deposit beneficiary
There was a bug with the FundDistribution
component and adhoc invoices that resulted in no deposit beneficiary being configured for deposit top up invoices. See
Common Steps
- Open Insomnia
- Login with your user account (support user access required)
- Switch to the agency in question using
Switch Agency
API endpoint/user/login_to_agency
Steps for manually adding/updating a deposit beneficiary on an invoice on the invoicing service (not sent)
- Follow the common steps above
- Fetch the invoice entity in questions using the GET
Invoice Entity
endpoint. - Copy response and paste it into the
Update Invoice
request - Remove unecessary fields
id
,tags
and map customer object tocustomerTag
andcustomer
fields.
Example:
"customer": {
"partyId": "35531ed2-8304-4386-afc9-100a39d0f514",
"customerTag": "Tenant",
"name": "Waltor Mellon"
},
Should be:
"customer": "35531ed2-8304-4386-afc9-100a39d0f514",
"customerTag": "Tenant"
- Follow 2. sub-steps below to format the deposit beneficiary object and update the
beneficiaries
field in theUpdate Invoice
request payload - Double check and submit request
Steps for manually adding/updating a beneficiary on an invoice on the recon service (sent)
- Follow common steps above
- Use the payload below on the
Update Invoice Beneficiaries
API endpointreconciliations/invoices/{{ invoiceId }}/beneficiaries
- Ensure you have the right
invoiceID
in the URL - Add the
agencyId
into thepartyId
field value. Can be found in the payload from step 3 - Check if the agency is vat registered and update the
vat
field accordingly - Check if it's a reOS managed deposit or not and update the
transfer
field. reOS managed = true, not reOS managed = false - Update the amount to match the invoice amount
- Ensure you have the right
[
{
"type": "DepositBeneficiary",
"value": {
"partyId": "___",
"reference": "Transfer to managed deposit account on reOS",
"beneficiaryTag": "TenantDepositAccount",
"amount": 0,
"vat": false|false,
"transfer": true|false
}
}
]