The default customization ID of the format.
This ID specifies a particular customization of the invoice format, which may define additional constraints or extensions to the standard.
The MIME type associated with this invoice format.
This indicates the expected media type when generating or processing invoices in this format.
The default profile ID of the format.
The profile ID identifies a specific usage profile for the e-invoice, often used to distinguish between different industry-specific implementations.
The syntax used for this e-invoice format.
This is either 'UBL' (Universal Business Language) or 'CII' (Cross Industry Invoice), which are both common standards for electronic invoicing.
Populates an invoice with default and computable values.
This method fills in any missing fields in the invoice with default values to ensure it meets the required specifications.
The invoice to be updated.
Populates a mapping with default and computable values.
This method ensures that all required fields in the mapping have reasonable defaults before further processing.
The mapping definition to be updated.
Generates an invoice in the specified format.
This function converts the given invoice data into a serialized format (such as XML or JSON) that conforms to the selected e-invoice standard.
The invoice data structure containing all required information.
Additional options influencing invoice generation.
A promise resolving to the generated invoice as a string or a Uint8Array, depending on the format.
Interface representing an e-invoice format generation service.