* x denotes an index of the transaction relative to the enquiry that is invoiced/credited on the day of export * n denotes an index of parts/fluids added in a job line of specific enquiry
Record
A particular line of the export that is either of indicators allowed in a record set, along with one record for the entire file among the following
The export process combines both invoices and credits into a single file. However, in the HE Record, the "Transaction Type" field does not distinguish between them and always displays "Invoice".
In the HE Record, the "Transaction Type" field serves as an indicator of the file format for export, rather than specifying the actual transaction type (invoice or credit).
Y
5
File Serial Number
Integer
8
Retrieve the baseReferenceDate and baseSequenceNumber from Firebase at the following location:
- leasecompany
{leaseId}
exports
settings
invoiceExportsSequenceNumber
baseReferenceDate
baseSequenceNumber
Determine days elapsed as number of days between the baseReferenceDate and the current date
Add baseSequenceNumber to it to use it as the export sequence number