AP Voucher Supporting Documents

GET {{base_url}}/DataEntry/apDocuments/:Batch

NOTE: This applies if you have the Use Files to Group Transactions option set to Yes in Settings » Accounting » Transactions.

Use this endpoint to retrieve all the supporting documents and files for an AP voucher.

Supporting document information comes from the Supporting Document dialog box in the grid of the Project Information section on the AP Voucher detail screen for each AP voucher in the batch.

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: OK

[{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"493b62c3-41c4-4434-a65b-05c68cba32bc","AssociateNew":"Y","Seq":1,"FileName":"TIFF Image.pdf","FileNameSaved":"TIFF Image.pdf","FileDescription":"TIFF Image.pdf","FileDescriptionSaved":"TIFF Image.pdf"},{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"3f725a3d-e4f6-4807-a336-d1dcd55068bd","AssociateNew":"Y","Seq":2,"FileName":"WORD_Databases.pdf","FileNameSaved":"WORD_Databases.pdf","FileDescription":"WORD_Databases.pdf","FileDescriptionSaved":"WORD_Databases.pdf"},{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"afeac94f-1562-4a28-8fd4-7a1e1a35e3f7","AssociateNew":"Y","Seq":3,"FileName":"WORD_Databases.pdf","FileNameSaved":"WORD_Databases.pdf","FileDescription":"WORD_Databases.pdf","FileDescriptionSaved":"WORD_Databases.pdf"},{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"ff7322c0-b7e2-4c1e-99b0-41a7e27c7b9b","AssociateNew":"Y","Seq":4,"FileName":"WORD_Databases.pdf","FileNameSaved":"WORD_Databases.pdf","FileDescription":"WORD_Databases.pdf","FileDescriptionSaved":"WORD_Databases.pdf"},{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"6ce95fb7-d506-40a0-bed4-9a49f8f70617","AssociateNew":"Y","Seq":5,"FileName":"WORD_Databases.pdf","FileNameSaved":"WORD_Databases.pdf","FileDescription":"WORD_Databases.pdf","FileDescriptionSaved":"WORD_Databases.pdf"},{"Batch":"0815.3","MasterPKey":"7EC1ABAAC09148A7897B73E5DABD509F","FileID":"81558543-1af2-4aa6-aa9d-fa18fb1ee2cb","AssociateNew":"Y","Seq":6,"FileName":"WORD_Databases.pdf","FileNameSaved":"WORD_Databases.pdf","FileDescription":"WORD_Databases.pdf","FileDescriptionSaved":"WORD_Databases.pdf"}]