All notable changes to the SmartBills API.
All notable changes to the SmartBills API will be documented here.
extract_line_items
parameter for detailed invoice breakdownX-Request-ID
headerextract_line_items
now defaults to true
Updated Response Fields:
// Old format (v1.0)
{
"vendor_info": {
"company_name": "Acme Corp"
}
}
// New format (v1.1+)
{
"vendor": {
"name": "Acme Corp"
}
}
Updated Error Codes:
// Old format
{
"error": "INVALID_FILE"
}
// New format
{
"error": {
"code": "INVALID_FILE_FORMAT",
"message": "File format not supported"
}
}
SmartBills uses semantic versioning for our API:
You can specify the API version in your requests:
curl -X POST https://api.smartbills.com/v1/invoices/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "SmartBills-Version: 1.2.0" \
-F "file=@invoice.pdf"
If no version is specified, the latest stable version is used.
We're committed to maintaining backward compatibility within major versions. All breaking changes will be clearly documented and communicated well in advance.