# Get invoice by invoice number Returns an Invoice by external invoice number. Returns null if the Invoice does not exist. Endpoint: GET /OrderService.svc/rest/GetInvoiceByNo Version: 1.1 ## Query parameters: - `invoiceNo` (string, required) The external invoice number of the invoice. - `cultureCode` (string) Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application. ## Response 200 fields (application/json): - `Id` (string) The internal id of the Invoice. - `InvoiceNo` (string) The external invoice number of the Invoice. Usually a number from the ERP system. MaxLength: 50. - `InvoiceDate` (string) The invoice date of the Invoice. - `InvoiceDueDate` (string,null) The invoice due date of the Invoice. - `InvoiceText` (string) InvoiceText is taken from InvoiceMark in Storm. MaxLength: 255. - `OrderId` (string) The internal id of the Order related to the Invoice. - `OrderNo` (string) The external order number of the Order related to the Invoice. The order number usually comes from an ERP. MaxLength: 50. - `OrderDate` (string) The order date of the Order related to the Invoice. - `Source` (string) The Source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255. - `DeliveryDate` (string,null) The delivery date of the DeliveryNote related to the Invoice. - `DeliveryMethod` (string) The delivery method of the Order. MaxLength: 50. - `PaymentMethod` (string) The payment method of the Order. MaxLength: 50. - `BillTo` (object) - `BillTo.Company` (object) - `BillTo.Company.Id` (integer,null) The internal id of Company. - `BillTo.Company.No` (string) The external code of Company. Usually from an ERP system. MaxLength: 50. - `BillTo.Company.Name` (string) The name of Company. MaxLength: 100. - `BillTo.Company.OrgNo` (string) The organizational number of Company. MaxLength: 50. - `BillTo.Customer` (object) - `BillTo.Customer.Id` (integer,null) The internal id of Customer. - `BillTo.Customer.No` (string) The external code of Customer. Usually from an ERP system. MaxLength: 50. - `BillTo.Customer.FirstName` (string) The first name of Customer. MaxLength: 50. - `BillTo.Customer.LastName` (string) The last name of Customer. MaxLength: 50. - `BillTo.Customer.SSN` (string) The social security number of Customer. MaxLength: 50. - `BillTo.Customer.Email` (string) The e-mail of Customer. MaxLength: 255. - `BillTo.Customer.Phone` (string) The phone number of Customer. MaxLength: 50. - `BillTo.Customer.CellPhone` (string) The cell phone number of Customer. MaxLength: 50. - `BillTo.Address` (object) - `BillTo.Address.Line1` (string) The first address line of the Address. MaxLength: 255. - `BillTo.Address.Line2` (string) The second address line of the Address. MaxLength: 255. - `BillTo.Address.CareOf` (string) The care of part of the Address. MaxLength: 100. - `BillTo.Address.City` (string) The city of the Address. MaxLength: 50. - `BillTo.Address.ZipCode` (string) The zipcode of the Address. MaxLength: 50. - `BillTo.Address.Country` (string) The name of the country of the Address. MaxLength: 50. - `BillTo.Address.CountryCode` (string) The code of the country of the Address. MaxLength: 3. - `BillTo.Address.Region` (string) The region of the Address. MaxLength: 50. - `BillTo.Address.ShippingPhoneNumber` (string) Phone number for shipping address. Only applicable in shipping addresses. MaxLength: 50. - `BillTo.Address.GlobalLocationNo` (string) The Global Location Number (GLN) is part of the GS1 systems of standards. It is a simple tool used to identify a location and can identify locations uniquely where required. This is only used for invoice addresses. MaxLength: 50. - `BillTo.DropPointCode` (string) The external drop point code, if any. Only set for drop points. MaxLength: 50. - `OrderFreight` (number) The total amount for freight on the Invoice. - `InvoiceCharge` (number) The total amount for invoice charge on the Invoice. - `InvoiceAmountExVat` (number) The total amount invoiced ex VAT. - `VatAmount` (number) The total VAT amount invoiced. - `Items` (array) The invoiced items. - `Items.RowNumber` (number,null) The row number of the item. - `Items.ItemNo` (string) The PartNo of the item. MaxLength: 50. - `Items.ItemDescription` (string) The mame of the item. MaxLength: 255. - `Items.Quantity` (number) The quantity invoiced. This is the quantity invoiced on this InvoiceItem. - `Items.UnitPrice` (number) The unit price of the item, excluding VAT. - `Items.UnitDiscount` (number) The unit discount of the item, excluding VAT. - `Items.RowAmount` (number) The total amount of the item, excluding VAT. - `Items.RowAmountVat` (number) The total VAT of the item. - `Items.DeliveryDate` (string,null) The delivery date of the item. - `Items.VatRate` (number) A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25. - `Items.UnitPriceIncVat` (number) The unit price of the item, including VAT. - `Info` (array) A list of infos used to keep application specific data on the invoice. Not used for credit invoices. - `Info.Code` (string) The external code of the Info. MaxLength: 50. - `Info.Name` (string) The name of the Info. MaxLength: 50. - `Info.Description` (string) The description of the Info. MaxLength: 500. - `Info.Value` (string) The value of the Info. MaxLength: max. - `InvoiceNoPsp` (string) The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50. - `CreditedInvoiceNo` (string) The credited invoice number. This is only used for credit invoices and this is the number of the original invoice being credited. MaxLength: 50. - `IsDebit` (boolean) Indicates if this is a debit invoice (true) or a credit invoice (false). - `GroupByKey` (string) GroupByKey can be used to group invoices. All individual invoices on one summary invoice will have this set to the same value. Normal non-summary invoices will have this value set to null. MaxLength: 50. - `Comment` (string) Free text comment on the Invoice. MaxLength: 250. - `InvoiceAmountIncVat` (number) The total amount invoiced inc VAT.