> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/channel-manager-api/channel-manager-api/api-2.1/soap-2.1/reference/partner-invoices/retrieve-orders-without-partner-invoice.md).

# Retrieve orders without partner invoice

Use this method to list all orders that have yet to be included in a partner invoice.

## Requirements

This method requires you to set a specific partner using [**setPartner**](/channel-manager-api/channel-manager-api/api-2.1/soap-2.1/reference/partner/set-partner.md).

## Request parameters

<table><thead><tr><th width="128.2000732421875">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>sessionID</code></td><td><p><strong>Required (string)</strong></p><p>Session identifier, output of the <strong>Login</strong> method. An exception is thrown if the values are incorrect.</p></td></tr></tbody></table>

### Request sample

```php
<?php

require('PATH_TO_AUTH'); // Authentication example: https://knowledgecenter.avangate.com/Integration/Channel_Manager_API/SOAP/02Authentication
require('PATH_TO_setPartner'); // setPartner example: https://knowledgecenter.avangate.com/Integration/Channel_Manager_API/SOAP/06Reference/Partner/00Set_partner

try {
    $OrderswithoutProforma= $client->getOrdersWithoutProforma ($sessionID);
} catch (SoapFault $e) {
    echo "NoProforma: " . $e->getMessage();
    exit;
}
var_dump ("NoProforma", $OrderswithoutProforma);
```

## Response parameters

<table><thead><tr><th width="189.39990234375">Parameter</th><th>Type</th></tr></thead><tbody><tr><td><a href="/pages/LOEPQfG7sZuR6NnAncJl"><code>Order information</code></a></td><td><strong>Object</strong></td></tr></tbody></table>

### Response sample

```php
{
    "RefNo": "112579424",
    "OrderNo": 3167,
    "ExternalReference": null,
    "ShopperRefNo": null,
    "Status": "PENDING",
    "ApproveStatus": "WAITING",
    "VendorApproveStatus": "OK",
    "MerchantCode": "CHAOSGRO",
    "Language": "en",
    "OrderDate": "2020-01-17 12:53:47",
    "FinishDate": null,
    "Source": null,
    "AffiliateSource": null,
    "AffiliateId": null,
    "AffiliateName": null,
    "AffiliateUrl": null,
    "RecurringEnabled": false,
    "HasShipping": false,
    "BillingDetails": {
        "FiscalCode": null,
        "TaxOffice": null,
        "Phone": "830-485-6136",
        "FirstName": "Iron",
        "LastName": "Man",
        "Company": "Stark Industries",
        "Email": "anastasiya.nikolova@chaosgroup.com",
        "Address1": "411 Farland Avenue",
        "Address2": null,
        "City": "Victoria",
        "Zip": "77901",
        "CountryCode": "us",
        "State": "Texas"
    },
    "DeliveryDetails": {
        "Phone": "830-485-6136",
        "FirstName": "Iron",
        "LastName": "Man",
        "Company": "Stark Industries",
        "Email": "anastasiya.nikolova@chaosgroup.com",
        "Address1": "411 Farland Avenue",
        "Address2": null,
        "City": "Victoria",
        "Zip": "77901",
        "CountryCode": "us",
        "State": "Texas"
    },
    "PaymentDetails": {
        "Type": "OTHER",
        "Currency": "usd",
        "PaymentMethod": null,
        "CustomerIP": "212.91.166.163"
    },
    "DeliveryInformation": {
        "ShippingMethod": {
            "Code": null,
            "TrackingUrl": null,
            "TrackingNumber": null,
            "Comment": null
        }
    },
    "CustomerDetails": null,
    "Origin": "Web",
    "AvangateCommission": 0,
    "OrderFlow": "REGULAR",
    "GiftDetails": null,
    "PODetails": null,
    "ExtraInformation": null,
    "PartnerCode": "HBVQ99623329",
    "PartnerMargin": 2478,
    "PartnerMarginPercent": 20,
    "ExtraMargin": 0,
    "ExtraMarginPercent": 0,
    "ExtraDiscount": 0,
    "ExtraDiscountPercent": 0,
    "LocalTime": null,
    "TestOrder": false,
    "FxRate": 1,
    "FxMarkup": 0,
    "PayoutCurrency": "USD",
    "DeliveryFinalized": false,
    "Errors": null,
    "Items": [\
        {\
            "ProductDetails": {\
                "Name": "V-Ray Next for 3ds Max - Perpetual",\
                "ShortDescription": "",\
                "Tangible": false,\
                "IsDynamic": false,\
                "ExtraInfo": null,\
                "RenewalStatus": false,\
                "Subscriptions": [\
                    {\
                        "SubscriptionReference": "1E26F2D686",\
                        "PurchaseDate": "2020-01-17 12:53:48",\
                        "SubscriptionStartDate": "2020-01-17 12:53:48",\
                        "ExpirationDate": null,\
                        "Lifetime": true,\
                        "Trial": false,\
                        "Enabled": true,\
                        "RecurringEnabled": false\
                    },\
                    {\
                        "SubscriptionReference": "F978B4AFDF",\
                        "PurchaseDate": "2020-01-17 12:53:48",\
                        "SubscriptionStartDate": "2020-01-17 12:53:48",\
                        "ExpirationDate": null,\
                        "Lifetime": true,\
                        "Trial": false,\
                        "Enabled": true,\
                        "RecurringEnabled": false\
                    }\
                ],\
                "DeliveryInformation": {\
                    "Delivery": "NO_DELIVERY",\
                    "DownloadFile": null,\
                    "DeliveryDescription": "",\
                    "CodesDescription": "",\
                    "Codes": []\
                }\
            },\
            "PriceOptions": [],\
            "Price": {\
                "UnitNetPrice": 590,\
                "UnitGrossPrice": 628.94,\
                "UnitVAT": 38.94,\
                "UnitDiscount": 118,\
                "UnitNetDiscountedPrice": 472,\
                "UnitGrossDiscountedPrice": 510.94,\
                "UnitAffiliateCommission": 0,\
                "ItemUnitNetPrice": null,\
                "ItemUnitGrossPrice": null,\
                "ItemNetPrice": null,\
                "ItemGrossPrice": null,\
                "VATPercent": 8.25,\
                "HandlingFeeNetPrice": 0,\
                "HandlingFeeGrossPrice": 0,\
                "Currency": "usd",\
                "NetPrice": 7080,\
                "GrossPrice": 7547.28,\
                "NetDiscountedPrice": 5664,\
                "GrossDiscountedPrice": 6131.28,\
                "Discount": 1416,\
                "VAT": 467.28,\
                "AffiliateCommission": 0\
            },\
            "LineItemReference": "c790705c387a71545271367303e38e3ffd1b1055",\
            "PurchaseType": null,\
            "Code": "VR04MXPESCL001",\
            "ExternalReference": "",\
            "Quantity": 12,\
            "SKU": null,\
            "CrossSell": null,\
            "Trial": null,\
            "AdditionalFields": null,\
            "Promotion": null,\
            "RecurringOptions": null,\
            "SubscriptionStartDate": null\
        },\
        {\
            "ProductDetails": {\
                "Name": "V-Ray Next for 3ds Max - Perpetual",\
                "ShortDescription": "",\
                "Tangible": false,\
                "IsDynamic": false,\
                "ExtraInfo": null,\
                "RenewalStatus": false,\
                "Subscriptions": [\
                    {\
                        "SubscriptionReference": "1E26F2D686",\
                        "PurchaseDate": "2020-01-17 12:53:48",\
                        "SubscriptionStartDate": "2020-01-17 12:53:48",\
                        "ExpirationDate": null,\
                        "Lifetime": true,\
                        "Trial": false,\
                        "Enabled": true,\
                        "RecurringEnabled": false\
                    },\
                    {\
                        "SubscriptionReference": "F978B4AFDF",\
                        "PurchaseDate": "2020-01-17 12:53:48",\
                        "SubscriptionStartDate": "2020-01-17 12:53:48",\
                        "ExpirationDate": null,\
                        "Lifetime": true,\
                        "Trial": false,\
                        "Enabled": true,\
                        "RecurringEnabled": false\
                    }\
                ],\
                "DeliveryInformation": {\
                    "Delivery": "NO_DELIVERY",\
                    "DownloadFile": null,\
                    "DeliveryDescription": "",\
                    "CodesDescription": "",\
                    "Codes": []\
                }\
            },\
            "PriceOptions": [],\
            "Price": {\
                "UnitNetPrice": 590,\
                "UnitGrossPrice": 628.94,\
                "UnitVAT": 38.94,\
                "UnitDiscount": 118,\
                "UnitNetDiscountedPrice": 472,\
                "UnitGrossDiscountedPrice": 510.94,\
                "UnitAffiliateCommission": 0,\
                "ItemUnitNetPrice": null,\
                "ItemUnitGrossPrice": null,\
                "ItemNetPrice": null,\
                "ItemGrossPrice": null,\
                "VATPercent": 8.25,\
                "HandlingFeeNetPrice": 0,\
                "HandlingFeeGrossPrice": 0,\
                "Currency": "usd",\
                "NetPrice": 5310,\
                "GrossPrice": 5660.46,\
                "NetDiscountedPrice": 4248,\
                "GrossDiscountedPrice": 4598.46,\
                "Discount": 1062,\
                "VAT": 350.46,\
                "AffiliateCommission": 0\
            },\
            "LineItemReference": "ec426fce2d07bc279654b295b97644997a5c524d",\
            "PurchaseType": null,\
            "Code": "VR04MXPESCL001",\
            "ExternalReference": "",\
            "Quantity": 9,\
            "SKU": null,\
            "CrossSell": null,\
            "Trial": null,\
            "AdditionalFields": null,\
            "Promotion": null,\
            "RecurringOptions": null,\
            "SubscriptionStartDate": null\
        }\
    ],
    "Promotions": [],
    "AdditionalFields": null,
    "CustomParameters": null,
    "Currency": "usd",
    "NetPrice": 12390,
    "GrossPrice": 13207.74,
    "NetDiscountedPrice": 9912,
    "GrossDiscountedPrice": 10729.74,
    "Discount": 2478,
    "VAT": 817.74,
    "AffiliateCommission": 0
}
```

## Errors

<table><thead><tr><th width="182.2000732421875">Error</th><th>Description</th></tr></thead><tbody><tr><td><strong>INVALID_PARTNER</strong></td><td>No partner is set.</td></tr><tr><td><strong>NO_ORDERS</strong></td><td>There are no orders without partner invoice.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.2checkout.com/channel-manager-api/channel-manager-api/api-2.1/soap-2.1/reference/partner-invoices/retrieve-orders-without-partner-invoice.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
