# List invoices by basket Returns a paged invoice list for specified basket internal id Endpoint: GET /OrderService.svc/rest/ListInvoicesByBasket Version: 1.1 ## Query parameters: - `basketId` (integer, required) The basket internal id for which invoices are fetched. - `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): - `ItemCount` (integer) The total number of invoices. Can be used to manage paging. Use PageSize to calculate number of pages. - `Items` (array) Current list of invoices for the current page if paging is used. Otherwise all invoices will be in the list. - `Items.Id` (string) The internal id of the Invoice. - `Items.InvoiceNo` (string) The external invoice number of the Invoice. Usually from an ERP system. MaxLength: 50. - `Items.InvoiceDate` (string) The invoice date of the Invoice. - `Items.InvoiceDueDate` (string,null) The invoice due date of the Invoice. - `Items.InvoiceText` (string) InvoiceText is taken from InvoiceMark in Storm. MaxLength: 255. - `Items.OrderNo` (string) The ERP order number of the Order related to the Invoice. MaxLength: 50. - `Items.OrderDate` (string) The order date of the Order related to the Invoice. - `Items.Source` (string) The source of the Invoice. 'WEB' is used for all invoices created though Storm. MaxLength: 255. - `Items.DeliveryDate` (string,null) The delivery date of the Order. - `Items.DeliveryMethod` (string) The delivery method of the Order. MaxLength: 50. - `Items.PaymentMethod` (string) The payment method of the Order. MaxLength: 50. - `Items.BillTo` (object) - `Items.BillTo.Company` (object) - `Items.BillTo.Company.Id` (integer,null) The internal id of Company. - `Items.BillTo.Company.No` (string) The external code of Company. Usually from an ERP system. MaxLength: 50. - `Items.BillTo.Company.Name` (string) The name of Company. MaxLength: 100. - `Items.BillTo.Company.OrgNo` (string) The organizational number of Company. MaxLength: 50. - `Items.BillTo.Customer` (object) - `Items.BillTo.Customer.Id` (integer,null) The internal id of Customer. - `Items.BillTo.Customer.No` (string) The external code of Customer. Usually from an ERP system. MaxLength: 50. - `Items.BillTo.Customer.FirstName` (string) The first name of Customer. MaxLength: 50. - `Items.BillTo.Customer.LastName` (string) The last name of Customer. MaxLength: 50. - `Items.BillTo.Customer.SSN` (string) The social security number of Customer. MaxLength: 50. - `Items.BillTo.Customer.Email` (string) The e-mail of Customer. MaxLength: 255. - `Items.BillTo.Customer.Phone` (string) The phone number of Customer. MaxLength: 50. - `Items.BillTo.Customer.CellPhone` (string) The cell phone number of Customer. MaxLength: 50. - `Items.BillTo.Address` (object) - `Items.BillTo.Address.Line1` (string) The first address line of the Address. MaxLength: 255. - `Items.BillTo.Address.Line2` (string) The second address line of the Address. MaxLength: 255. - `Items.BillTo.Address.CareOf` (string) The care of part of the Address. MaxLength: 100. - `Items.BillTo.Address.City` (string) The city of the Address. MaxLength: 50. - `Items.BillTo.Address.ZipCode` (string) The zipcode of the Address. MaxLength: 50. - `Items.BillTo.Address.Country` (string) The name of the country of the Address. MaxLength: 50. - `Items.BillTo.Address.CountryCode` (string) The code of the country of the Address. MaxLength: 3. - `Items.BillTo.Address.Region` (string) The region of the Address. MaxLength: 50. - `Items.BillTo.Address.ShippingPhoneNumber` (string) Phone number for shipping address. Only applicable in shipping addresses. MaxLength: 50. - `Items.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. - `Items.BillTo.DropPointCode` (string) The external drop point code, if any. Only set for drop points. MaxLength: 50. - `Items.InvoiceAmountExVat` (number) The total amount invoiced excluding VAT. - `Items.VatAmount` (number) The total VAT amount invoiced. - `Items.InvoiceNoPsp` (string) The invoice number from the PSP. This is only used when the PSP issues invoices. MaxLength: 50. - `Items.IsDebit` (boolean) Indicates if this is a debit invoice (true) or a credit invoice (false). - `Items.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. - `Items.InvoiceAmountIncVat` (number) The total amount invoiced including VAT.