GET Companies({CompanyId})/SalesInvoiceDetails({InvoiceId})

Returns Details for the Sales Invoice Id provided

Information:

Base URL:

https://api.covasoft.net/pointofsale

Example of a call would be:

https://api.covasoft.net/pointofsale/Companies({CompanyId})/SalesInvoiceDetails({InvoiceId})

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

The unique Company Id that was provided in your onboarding pacakage.

integer

Required

InvoiceId

This is Sales Invoice Id Guid that you want details for

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Details for the Sales Order Id provided

GetSalesInvoiceByIdReturn
NameDescriptionTypeAdditional information
InStock

Collection of InStock

None.

Dropship

Collection of Object

None.

Payments

Payments

None.

Discounts

Object

None.

Id

globally unique identifier

None.

OriginalInvoiceId

Object

None.

LocationId

integer

None.

LocationName

string

None.

UserId

integer

None.

PrintableId

string

None.

ReceiptNumber

string

None.

OriginalPrintableId

Object

None.

OriginalReceiptNumber

Object

None.

Notes

string

None.

Annotation

string

None.

SaleOverrides

Object

None.

InvoiceType

string

None.

Customer

Customer

None.

TaxCalculation

TaxCalculation

None.

Loyalty

Loyalty

None.

CreatedByUser

string

None.

CreatedDateUtc

date

None.

Response Formats

application/json, text/json

Sample:
{
  "InStock": [
    {
      "No": 1,
      "CatalogId": "ab6319f7-da0c-4ac0-8930-723e7eaea93b",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    },
    {
      "No": 1,
      "CatalogId": "ab6319f7-da0c-4ac0-8930-723e7eaea93b",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    }
  ],
  "Dropship": [
    {},
    {}
  ],
  "Payments": {
    "Items": [
      {},
      {}
    ],
    "ChangeDue": 1,
    "CashBack": 2
  },
  "Discounts": {},
  "Id": "8bab3c4b-8747-4368-bb4e-c47d23db994e",
  "OriginalInvoiceId": {},
  "LocationId": 4,
  "LocationName": "sample string 5",
  "UserId": 6,
  "PrintableId": "sample string 7",
  "ReceiptNumber": "sample string 8",
  "OriginalPrintableId": {},
  "OriginalReceiptNumber": {},
  "Notes": "sample string 11",
  "Annotation": "sample string 12",
  "SaleOverrides": {},
  "InvoiceType": "sample string 14",
  "Customer": {
    "Id": "b94855fa-9960-4b2c-803c-8b0b59ea4a82",
    "Number": "sample string 2",
    "FullName": "sample string 3",
    "ShippingAddressId": {},
    "ShippingAddress": {},
    "BillingAddress": {},
    "BillingAddressId": {},
    "AddressId": {},
    "MedicalInformation": {}
  },
  "TaxCalculation": {
    "TaxCalculcationId": {},
    "Lines": [
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "60a15a58-ff18-4eda-b576-f19647202068",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "60a15a58-ff18-4eda-b576-f19647202068",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      },
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "60a15a58-ff18-4eda-b576-f19647202068",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "60a15a58-ff18-4eda-b576-f19647202068",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      }
    ]
  },
  "Loyalty": {
    "PointsEarned": 1,
    "PointsBalance": 2
  },
  "CreatedByUser": "sample string 15",
  "CreatedDateUtc": "2024-11-25T11:21:35.1080934+00:00"
}