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:
1
curl --location --request POST 'https://client.payink.com/matters/00013/invoice-file' \
2
--header 'x-login: pk_test_MH4hHaAADFAt1leXlgQF3kZrF' \
3
--form '[email protected]/home/paiynk/invoice/payink_invoice_2021.pdf'
Copied!
post
https://client.payink.com
/api/matters/{matter_number}/invoice-file
Invoice File (PRODUCTION)
Example code in CURL:
1
curl --location --request POST 'https://client.payink.com/matters/00013/invoice-file' \
2
--header 'x-login: pk_test_MH4hHaAADFAt1leXlgQF3kZrF' \
3
--form '[email protected]/home/paiynk/invoice/payink_invoice_2021.pdf'
Copied!