Upload invoice file

Use this web method to upload invoice file to a matter number. Please use the same method if you want to update/re-upload the file. That will overwrite the existing PDF document in Payink.
post
https://testclient.payink.com
/api/matters/{matter_number}/invoice-file
Invoice file (STAGE)
Example code in CURL:
curl --location --request POST 'https://client.payink.com/matters/00013/invoice-file' \
--header 'x-login: pk_test_MH4hHaAADFAt1leXlgQF3kZrF' \
--form '[email protected]/home/paiynk/invoice/payink_invoice_2021.pdf'
post
https://client.payink.com
/api/matters/{matter_number}/invoice-file
Invoice File (PRODUCTION)
Example code in CURL:
curl --location --request POST 'https://client.payink.com/matters/00013/invoice-file' \
--header 'x-login: pk_test_MH4hHaAADFAt1leXlgQF3kZrF' \
--form '[email protected]/home/paiynk/invoice/payink_invoice_2021.pdf'