Skip to content
Guide

Search the Guide

Enter a query to search the Guide.

Íslenska
Menu
On this page

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.

eDoc in Business Central

General

FieldWhat it doesWhen to change itDefault
Delivery SiteThe 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 TypeWhat kind of document this is and which direction it goes. See Doc Type.Never.From the document
IDThe sender's number for the document, for example the seller's invoice number.Never.From the document
Customer/VendorThe customer or vendor the document belongs to. Selecting the field opens their card.Never.From the party mapping
PartiesThe number of parties on the document. Selecting the field opens eDoc Parties.Never.
BC StatusWhere 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 StatusThe 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 FormatThe standard of the document: blank, BII, NES, EDI or Custom.Never; it's read-only.From the delivery site
ErrorsThe 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 TypeThe type of the linked BC document, for example Purchase Invoice or Posted Sales Invoice.Never.From the doc type
BC DocumentThe number of the BC document. Selecting the field opens the document.Never.Blank until an inbound document is converted
Attachment CountThe number of attachments, including the original file and its HTML version.Never.
Issue DateThe date the document was issued.Never.From the document
Payment Due Date / Payment Final Due DateThe payment due date and final due date on the document.Never.From the document
Order Reference IDThe 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. TypeThe contract the document refers to.Never.From the document
Accounting CostThe 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. IDThe 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. IDThe buyer's references in the document.Never.From the document
Embedded Binary DocumentAn embedded file that came with the document, for example a PDF.Never.
Delivery DateThe delivery date.Never.From the document
Payment IDThe seller's payment reference.Never.From the document
Converted to/from BCWhen the document was converted to BC or created from a BC document.Never.
Sent/ReceivedWhen the document was sent or fetched.Never.
Cust. Ledger Entry No.The customer ledger entry made by the posted invoice (outbound).Never.
Number of AttemptsHow many times sending has been tried.Never.0
External Header DimensionsExternal 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 TypeWhat it meansBC document
Invoice -inA purchase invoice from a vendor.Purchase Invoice
Creditnote -inA purchase credit note from a vendor.Purchase Creditnote
Invoice -outA sales invoice to a customer.Posted Sales Invoice
Creditnote -outA sales credit note to a customer.Posted Sales Creditnote
Order -inAn order from a customer.Sales Order
Order -outA purchase order to a vendor.Purchase Order
ReturnOrder -outA return order to a vendor.Purchase ReturnOrder
ReturnOrder -inA return order from a customer.
ServiceInvoice -outA service invoice to a customer.Posted Service Invoice
ServiceCreditMemo -outA service credit memo to a customer.Posted Service Credit Memo

BC Status

StatusWhat it meansWhat happens next
LoadedAn 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 DocumentThe BC document has been created and is in the BC Document field.Nothing. The document can't be recreated.
To be sentAn 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.

FieldWhat it doesWhen to change itDefault
Sellers Item IdentificationThe seller's item number. Mappings of type Item match on it. Selecting the field opens the Seller Item Card.Never.From the document
Name / DescriptionThe 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 IdentificationThe buyer's item number. Shown only on Order -out and ReturnOrder -out.Never.
Invoiced Quantity, Price Amount, Line Extension Amount, Unit of MeasureThe quantity, price, amount and unit of measure of the line as received.Never.From the document
Accounting CostThe 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 VATAllowance or charge per unit and the price without VAT.Never.From the document
Line Allow. Charge AmountThe 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 TypeThe 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 ToThe 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 QuantityThe quantity the unit price is based on.Never.From the document
External Line DimensionsExternal 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.

FieldWhat it doesWhen to change itDefault
Sellers Item IdentificationThe seller's item number, which a mapping of type Item matches on.Never.From the document
Name / DescriptionThe item's name and description.Never.From the document
Standard Item IdentificationA standard item number, for example a GTIN, if the seller sends one.Never.From the document
BarcodeThe item's barcode.Never.From the document
Commodity ClassificationThe seller's item classification. Mappings of type Item Classification match on it.Never.From the document
Tax Category ID, Tax Category Scheme ID, Tax PercentageThe 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
PropertiesThe 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

FieldWhat it doesWhen to change itDefault
Line Extension AmountThe total of all lines without VAT.Never.From the document
Tax Exclusive Amount, Tax Amount, Tax Inclusive AmountThe document totals.Never.From the document
TaxLinesThe number of taxlines. Selecting the field opens eDoc Taxlines.Never.
Allowance Total Amount, Charge Total AmountAllowances and charges on the document header.Never.From the document
Prepaid Amount, Payable Rounding Amount, Payable AmountThe prepaid amount, rounding and the amount to pay.Never.From the document
CurrencyThe document currency.Never.From the document

Taxlines

eDoc Taxlines shows the VAT breakdown of the document by tax category.

FieldWhat it doesWhen to change itDefault
Taxline / Taxline 2The taxline number.Never.
Taxable AmountThe amount VAT is calculated on.Never.From the document
Tax AmountThe VAT amount of the taxline.Never.From the document
Tax Category IDThe tax category, for example S for standard rate. See Tax categories.Never.From the document
Tax Category PercentageThe VAT percentage of the tax category.Never.From the document
Tax Exemption Reason Code / Tax Exemption ReasonThe code and reason for an exemption when the tax category is VAT exempt.Never.From the document
Tax Category Scheme IDThe 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.

FieldWhat it doesWhen to change itDefault
Skip Check Document For UsSkips checking that the document is addressed to your company.When the document really is for your company.Cleared
Skip VAT Percentage CheckSkips comparing the document's VAT percentage with the mapping.When the difference is confirmed.Cleared
Skip Invoice Rounding CheckSkips the check on the difference between the document total and the BC document.When the difference is acceptable.Cleared
Skip Order Reference CheckSkips 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 CostSkips 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 DimensionsSkips the document's external dimensions.When the dimensions shouldn't go onto the BC document.Cleared

Unimaze Status Details

FieldWhat it doesWhen to change itDefault
Unimaze Message Status / Unimaze Internal StatusThe status of the message at Unimaze.Never.
Unimaze Status UpdatedWhen the status was last fetched.Never.
Message IdThe 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

ActionWhat 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 FileDownloads 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 CopyDownloads 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!.
RecreateRebuilds 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.
SendSends 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 VendorCreates a vendor from the seller on the document. Enabled on Invoice -in, Creditnote -in and ReturnOrder -in.
Update Unimaze StatusFetches the status of the message at Unimaze.
Pre-Validate in UnimazeHas 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."