eDoc
The eDoc card shows one electronic document: an invoice, credit note or order, inbound or outbound. You open it to see where the document came from, which BC document it's linked to, whether it passed the check and whether it has been sent or converted.
Overview
You open the card from the eDoc Worksheet or from the eDocs action on the customer and vendor cards. Most fields are read from the document itself and aren't meant to be changed. The fields you change are mainly Order Reference ID, the check boxes under Checks and the line mapping.
The card is used in Open and inspect an electronic document, Receive an electronic purchase invoice, Register an inbound invoice in BC, Send an electronic sales invoice and Check and resolve electronic document errors.

General
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Delivery Site | The delivery site the document came from or will be sent through. For outbound documents it's taken from the customer or vendor when the document is created. | Not on the card; change the customer's or vendor's delivery site and use Recreate. | From the customer or vendor |
| Doc No. | The eDoc's number in BC. Recreate keeps the number. | Never. | Next number |
| Doc Type | What kind of document this is and which direction it goes. See Doc Type. | Never. | From the document |
| ID | The sender's number for the document, for example the seller's invoice number. | Never. | From the document |
| Customer/Vendor | The customer or vendor the document belongs to. Selecting the field opens their card. | Never. | From the party mapping |
| Parties | The number of parties on the document. Selecting the field opens eDoc Parties. | Never. | |
| BC Status | Where the document is in processing, and so which actions work. See BC Status. | Changes with Check Document, Convert to BC Document and Send. | Loaded or To be sent |
| Unimaze Status | The status of the message at Unimaze. Shown only when the document has a message ID. Selecting the field refreshes the status. Delivered shows green and Failed red. | Never. | |
| eDoc Format | The standard of the document: blank, BII, NES, EDI or Custom. | Never; it's read-only. | From the delivery site |
| Errors | The number of errors the last check found. Selecting the field opens the errors. | Clears when you fix the cause and check the document again. | 0 |
| BC Type | The type of the linked BC document, for example Purchase Invoice or Posted Sales Invoice. | Never. | From the doc type |
| BC Document | The number of the BC document. Selecting the field opens the document. | Never. | Blank until an inbound document is converted |
| Attachment Count | The number of attachments, including the original file and its HTML version. | Never. | |
| Issue Date | The date the document was issued. | Never. | From the document |
| Payment Due Date / Payment Final Due Date | The payment due date and final due date on the document. | Never. | From the document |
| Order Reference ID | The buyer's order number on the document. If Check Order No. is selected on the vendor, a purchase order with this number must exist, or the check reports an error. | When the seller sent a wrong order number or none. | From the document |
| Contract Ref. ID / Contract Ref. Type | The contract the document refers to. | Never. | From the document |
| Accounting Cost | The buyer's accounting cost on the document header. It goes into the posting description if the posting description uses it. | Never. | From the document |
| Additional Ref. ID | The document's additional reference. Mappings with eDoc Type 2 = Additional Document Reference match on it. | Never. | From the document |
| Buyer Reference, Order Doc. Ref. ID, Quotation Doc. Ref. ID | The buyer's references in the document. | Never. | From the document |
| Embedded Binary Document | An embedded file that came with the document, for example a PDF. | Never. | |
| Delivery Date | The delivery date. | Never. | From the document |
| Payment ID | The seller's payment reference. | Never. | From the document |
| Converted to/from BC | When the document was converted to BC or created from a BC document. | Never. | |
| Sent/Received | When the document was sent or fetched. | Never. | |
| Cust. Ledger Entry No. | The customer ledger entry made by the posted invoice (outbound). | Never. | |
| Number of Attempts | How many times sending has been tried. | Never. | 0 |
| External Header Dimensions | External dimensions on the document header. Shown only if Use External Dimensions is selected in the setup. See External dimensions. | Never. |
The card also has Cust./Vend. Name, Supplier Name, Invoice Type, Note, Payment Terms, Period Start Date and Period End Date, which show values from the document as received.
Doc Type
| Doc Type | What it means | BC document |
|---|---|---|
| Invoice -in | A purchase invoice from a vendor. | Purchase Invoice |
| Creditnote -in | A purchase credit note from a vendor. | Purchase Creditnote |
| Invoice -out | A sales invoice to a customer. | Posted Sales Invoice |
| Creditnote -out | A sales credit note to a customer. | Posted Sales Creditnote |
| Order -in | An order from a customer. | Sales Order |
| Order -out | A purchase order to a vendor. | Purchase Order |
| ReturnOrder -out | A return order to a vendor. | Purchase ReturnOrder |
| ReturnOrder -in | A return order from a customer. | |
| ServiceInvoice -out | A service invoice to a customer. | Posted Service Invoice |
| ServiceCreditMemo -out | A service credit memo to a customer. | Posted Service Credit Memo |
BC Status
| Status | What it means | What happens next |
|---|---|---|
| Loaded | An inbound document has been read in but not checked. | Check Document sets it to Checked OK! or Checked with Errors!. |
| Checked with Errors! | The check found errors, or converting to BC failed. The errors are in the Errors field. | Fix the cause, for example a mapping, and run Check Document again. |
| Checked OK! | The document passed the check. | Convert to BC Document creates the BC document. |
| Converted to BC Document | The BC document has been created and is in the BC Document field. | Nothing. The document can't be recreated. |
| To be sent | An outbound document is ready to send. This is the only status in which Send works. | Send or automatic sending sends the document. |
| Sent OK! | The document has been sent. | Nothing. The document can't be recreated. |
Lines
The lines show the items or services on the document and what each line maps to in BC.
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Sellers Item Identification | The seller's item number. Mappings of type Item match on it. Selecting the field opens the Seller Item Card. | Never. | From the document |
| Name / Description | The seller's name and description of the item. The vendor decides which goes into the BC line description; see eDoc Line Description Source on the Vendor Card. | Never. | From the document |
| Buyers Item Identification | The buyer's item number. Shown only on Order -out and ReturnOrder -out. | Never. | |
| Invoiced Quantity, Price Amount, Line Extension Amount, Unit of Measure | The quantity, price, amount and unit of measure of the line as received. | Never. | From the document |
| Accounting Cost | The line's accounting cost. Mappings with eDoc Type 2 = Accounting Cost match on it. | Never. | From the document |
| Price Allow. Charge Indicator, Price Allow. Multiplier Factor, Price Allowance Amount, Unit Price Without VAT | Allowance or charge per unit and the price without VAT. | Never. | From the document |
| Line Allow. Charge Amount | The total allowance and charge on the line. Selecting the field opens Line Allowance Charges with Entry No., Charge Indicator (selected means a charge, cleared an allowance), Reason and Amount. | Never. | |
| Maps To Type | The BC type of the line, for example Item or G/L Account. Changing it clears Maps To in the mapping. | When the line should post to another type. | From the mapping |
| Maps To | The BC number the line maps to. The change is saved in the line's mapping, which Check Document creates, so the next document from the same seller uses it too. Works on inbound invoices, credit notes and orders. | When a mapping is missing or wrong. | From the mapping |
| Maps To Descr. | The description of the BC record the line maps to. | Never. | |
| Base Quantity | The quantity the unit price is based on. | Never. | From the document |
| External Line Dimensions | External dimensions on the line. Shown only if Use External Dimensions is selected in the setup. | Never. |
How to register mappings is described in Register mappings.
Seller Item Card
The Seller Item Card opens when you select Sellers Item Identification on a line, and from the lookup in eDoc Map.Value on a mapping of type Item. It shows the item as the seller describes it.
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Sellers Item Identification | The seller's item number, which a mapping of type Item matches on. | Never. | From the document |
| Name / Description | The item's name and description. | Never. | From the document |
| Standard Item Identification | A standard item number, for example a GTIN, if the seller sends one. | Never. | From the document |
| Barcode | The item's barcode. | Never. | From the document |
| Commodity Classification | The seller's item classification. Mappings of type Item Classification match on it. | Never. | From the document |
| Tax Category ID, Tax Category Scheme ID, Tax Percentage | The tax category and VAT percentage of the line. A mapping with the same Tax Category is preferred over one with a blank tax category. | Never. | From the document |
| Properties | The number of item properties. Selecting the field opens Seller Item Properties with the Name and Value of each property. Mappings with eDoc Type 2 = Item Property match on them. | Never. |
Totals
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Line Extension Amount | The total of all lines without VAT. | Never. | From the document |
| Tax Exclusive Amount, Tax Amount, Tax Inclusive Amount | The document totals. | Never. | From the document |
| TaxLines | The number of taxlines. Selecting the field opens eDoc Taxlines. | Never. | |
| Allowance Total Amount, Charge Total Amount | Allowances and charges on the document header. | Never. | From the document |
| Prepaid Amount, Payable Rounding Amount, Payable Amount | The prepaid amount, rounding and the amount to pay. | Never. | From the document |
| Currency | The document currency. | Never. | From the document |
Taxlines
eDoc Taxlines shows the VAT breakdown of the document by tax category.
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Taxline / Taxline 2 | The taxline number. | Never. | |
| Taxable Amount | The amount VAT is calculated on. | Never. | From the document |
| Tax Amount | The VAT amount of the taxline. | Never. | From the document |
| Tax Category ID | The tax category, for example S for standard rate. See Tax categories. | Never. | From the document |
| Tax Category Percentage | The VAT percentage of the tax category. | Never. | From the document |
| Tax Exemption Reason Code / Tax Exemption Reason | The code and reason for an exemption when the tax category is VAT exempt. | Never. | From the document |
| Tax Category Scheme ID | The tax scheme, usually VAT. | Never. | From the document |
Checks
These check boxes skip single checks on this one document, for example when you've confirmed that a difference is acceptable.
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Skip Check Document For Us | Skips checking that the document is addressed to your company. | When the document really is for your company. | Cleared |
| Skip VAT Percentage Check | Skips comparing the document's VAT percentage with the mapping. | When the difference is confirmed. | Cleared |
| Skip Invoice Rounding Check | Skips the check on the difference between the document total and the BC document. | When the difference is acceptable. | Cleared |
| Skip Order Reference Check | Skips the order number check, also when Check Order No. is selected on the vendor. | When the invoice doesn't belong to an order. | Cleared |
| Skip Unimaze Accounting Cost | Skips the accounting cost from the Unimaze approval system. Shown only if the setup uses it. | When the lines should map with the normal mappings. | Cleared |
| Skip External Dimensions | Skips the document's external dimensions. | When the dimensions shouldn't go onto the BC document. | Cleared |
Unimaze Status Details
| Field | What it does | When to change it | Default |
|---|---|---|---|
| Unimaze Message Status / Unimaze Internal Status | The status of the message at Unimaze. | Never. | |
| Unimaze Status Updated | When the status was last fetched. | Never. | |
| Message Id | The message ID at Unimaze. The Refresh status... link fetches the latest status. | Never. |
See Track Unimaze message status. The Attachments and Links factboxes are on the side of the card. Attachments has the action Add Attachment for outgoing documents that haven't been sent. See Attachments on outgoing electronic documents.
Actions
| Action | What it does |
|---|---|
| Mappings (Shift+Ctrl+M) | Opens eDoc Mappings for the seller on the document (for orders from a customer: the payee or buyer). When you close the list, the document is checked again. If the party has no company ID, you get "Supplier not provided." |
| Attachments (Shift+Ctrl+A) | Opens the document's attachments. |
| Show in Browser (Ctrl+Shift+E) | Downloads the HTML version of the document. |
| Show Original File | Downloads the original file (.xml, or .inv for EDI). Only for inbound invoices, credit notes and orders. Otherwise you get "No original file found". |
| Create a local Copy | Downloads the file that is sent: JSON for Unimaze JSON metadata, .xml for BII and NES, and .inv for EDI. Only for outbound documents; otherwise you get "Only outbound document copies can be exported". |
| Check Document (F9) | Checks the document, creates missing mappings and sets the status to Checked OK! or Checked with Errors!. |
| Convert to BC Document (F11) | Creates the BC document from an inbound document and asks "Do you want to open the created document?". If it fails, the document goes to Checked with Errors!. |
| Recreate | Rebuilds the document. An inbound document is read again from the original file. An outbound document is rebuilt from the BC document (purchase order, purchase return order, posted sales or service invoice or credit memo) with the customer's or vendor's current delivery site. Doesn't work in the statuses Converted to BC Document and Sent OK!. Attachments added manually are removed, and you're asked first. |
| Send | Sends an outbound document with the status To be sent. For an inbound document you get "You can only send outgoing Documents." and in other statuses "The document is not ready to be sent." If sending fails you get "The operation was not completed", otherwise "Done." |
| Create Vendor | Creates a vendor from the seller on the document. Enabled on Invoice -in, Creditnote -in and ReturnOrder -in. |
| Update Unimaze Status | Fetches the status of the message at Unimaze. |
| Pre-Validate in Unimaze | Has Unimaze validate an outbound document without sending it. Works on delivery sites that send Unimaze JSON metadata. The result is "Pre-validation completed. Check the Errors factbox for any validation warnings." or "Pre-validation failed. Check the Errors factbox for details." |