Get the Invoice and CreditNote Files
Get the Physical Files for processing in your application environment.
The inbox showed a number of files to be retrieved. The files can be obtained with the GET v1/files endpoint. PartyID and key need to be inc
GET Command of the Files
Endpoint | Method | Response | Extra Info |
---|---|---|---|
/v1/files/FileID | GET | 1 file | Includes full data and file references |
Reference and Content of the Files
The FileID is the unique Reference.
Example
Info | Example |
---|---|
GET of a specific file on the Sandbox | GET https://api.sandbox.billit.be/v1/files/cc41ebf6-974c-4f32-8ef2-04d78836d1de |
Result of GET File - IMR file
{
"FileID": "b155ec2e-a74c-4972-928b-f87d6056fd9d",
"FileName": "133003-460773-60472634-d626-4e8d-870e-7b2e171ad8eb.xml",
"MimeType": "text/xml",
"FileContent": "PD94bWwgdmVyc2lvbj ................ hbmRhcmRCdXNpbmVzc0RvY3VtZW50Pg=="
}
How to Process from Base64
The FileContent is a Base64 version. This will then be converted to a file. More info on the following page: https://docs.billit.be/docs/how-can-i-save-a-file
Updated 1 day ago