Invoice Specification
| Logicbroker Field | Description | PetSmart Requirement (Required,Optional) |
|---|---|---|
| Identifier.SourceKey | Identifier that will come from the source system; typically this will match the PartnerPO. | Read Only |
| Identifier.LogicbrokerKey | ID to identify the document in the logicbroker system. | Read Only |
| Identifier.LinkKey | Used to link the document to the original source document. For example, It is best to supply the Order's linkkey when posting a shipment. This will make sure the order shipped quanitites are updated on the original order and all statuses are updated appropriateley. | Optional |
| SenderCompanyId | Logicbroker Internal Company ID to specify what company is sending the document. | Required |
| ReceiverCompanyId | Logicbroker Internal Company ID to specify what company is to receive the document. | Required |
| InvoiceDate | Date of the invoice. | Required |
| InvoiceNumber | Number to identify the unique invoice document. | Required |
| DocumentDate | Read Only | |
| OrderDate | Date on the Purchase Order | Optional - will be pulled from original order if not provided |
| PartnerPO | This will be the purchase order number, this will be the main Key to link all your documents. This should match the order. | Required |
| Currency | Currency code to identify all values on the invoice. If no value is provided "CAD" will be assumed. | Optional |
| InvoiceTotal | Invoice total includes, full amount to be paid including line totals, shipping, taxes and discounts. Will be automatically calculated if no value is provided. | Required |
| OrderNumber | Contains the end customer's order number, this will be used on the packing slip. | |
| VendorNumber | This is the internal vendor number provided to the supplier from the merchant. If available it is always recommended to send. | Required |
| Discounts.DiscountAmount | Will include the total discount, and will be used to calculate the invoice total. | |
| Discounts.DiscountPercent | Discount percent will be used as part of the payment terms. It will be used with the discount due date and discount days due. | Optional |
| InvoiceLine.LineNumber | Line Number from the Order. If not provided this will be taked from the order automatically. | Required |
| InvoiceLine.Price | Unit cost that the merchant is being billed for that line. | Required |
| InvoiceLine.PriceCode | Used to indicate the price level for the product. See specific partner details for applicable codes. | Optional |
| InvoiceLine.Quantity | Contains the quantity of items to be invoiced. | Required |
| InvoiceLine.QuantityUOM | Unit of Measure for the quantity invoiced. See partner's details for specifics. | Required |
| InvoiceLine.Description | Standard short description or name of the product. | Optional |
| InvoiceLine.ItemIdentifier.PartnerSKU | The Item identifier that is internal to the purchaser/merchant. (Retailer's SKU) | Required |
| InvoiceLine.ItemIdentifier.SupplierSKU | The Item Identifier that is used by the supplier or the person fulfilling the product. This will always contain a value. | Required |
| InvoiceLine.ItemIdentifier.UPC | Typically the U.P.C Consumer Package code will be provided; however additional standardized codes can be provided here as well. See specific partner instructions for details. | Conditional - if received on an order this value should be returned |
| InvoiceLine.ExtendedAttribute.Tax - GST | GST (Goods and Services Tax) Federal sales tax charged across Canada (including on many online purchases). |
Conditional |
| InvoiceLine.ExtendedAttribute.Tax - PST | PST (Provincial Sales Tax) A separate provincial sales tax in some provinces (rate varies by province). |
Conditional |
| InvoiceLine.ExtendedAttribute.Tax - HST | HST (Harmonized Sales Tax) The rate varies by participating province |
Conditional |
| InvoiceLine.ExtendedAttribute.Tax - QST | QST (Quebec Sales Tax) Quebec’s provincial sales tax. |
Conditional |