For the icon itself I wouldn't lose a ton of sleep if I couldn't
make it
work, but I also have a (read-only) pdf property I need to offer so
knowing
more about how applescripters handle binary date is helpful.
In general I think it's safer to assume that scripters will want (or
need) to have images and other binary data in a file on disk. Since
these binary types do not have a consistent cross-application
representation, it doesn't make a lot of sense to make special types
for them that will only be useful in your app.
So for the PDF for instance, instead of an attribute, you might add a
command to export the document as PDF.
tell application "Billable"
tell document 1
export as pdf (posix path "/tmp/myInvoice.pdf")
end
end