Documentation / @einvoice-ts/core / BinaryObjectInput
Interface: BinaryObjectInput ​
Defined in: packages/core/src/model/common.types.generated.ts:2574
An embedded document: base64 content with its MIME type and file name.
Builder input for BinaryObject: decimals may be numbers; currencyId and defaultable elements (those with a default or fixed value) are optional; leaves whose attributes are all optional accept a plain string.
Properties ​
filename ​
filename:
string
Defined in: packages/core/src/model/common.types.generated.ts:2588
Attribute filename.
mimeCode ​
mimeCode:
"application/pdf"|"application/vnd.oasis.opendocument.spreadsheet"|"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"|"image/jpeg"|"image/png"|"text/csv"
Defined in: packages/core/src/model/common.types.generated.ts:2584
Attribute mimeCode.
Codelist ​
MimeCode https://docs.peppol.eu/poacc/billing/3.0/codelist/MimeCode/
value ​
value:
string
Defined in: packages/core/src/model/common.types.generated.ts:2578
The content, base64-encoded.