POST v1/invoices

Creates new or updates existing Invoice. This API performs full update for an existing invoice so ensure that all parameters and IDs are correctly supplied when using this api for update.

Request Information

URI Parameters

None.

Body Parameters

Use InvoiceId=0 to create new Invoice. If InvoiceID is a non-zero positive value, this will attempt an update on existing invoice which matches the supplied id.

Invoice
NameDescriptionTypeAdditional information
Id

Unique id - auto generated by the system.

integer

None.

TxnNumber

Invoice Number - auto generated by the system if blank.

string

None.

AllowDuplicateTxnNumber

Set to true if you want to skip duplicate check for TxnNumber

boolean

None.

TxnDate

Required - must be after accounting closing date

date

Required

PaymentTerms

Required if DueDate is not set - PaymentTerms Must Match DueDate if DueDate is set

IdNamePair

None.

DueDate

Required if PaymentTerms is not set - PaymentTerms must match DueDate if PaymentTerms are set

date

None.

Memo

Memo for the Invoice

string

None.

ToBePrinted

Whether this invoice is queued to be printed

boolean

None.

Customer

Customer associated with Invoice

CustomerRef

Required

BillToLocation

Customer bill to location

IdNamePair

None.

ShipToLocation

Customer ship to location - use to determine tax id if if none is provided

IdNamePair

None.

ShipVia

Ship Via

IdNamePair

None.

TrackingNumber

Shipment tracking number.

string

None.

SalesRep

Sales Rep for the Invoice

IdNamePair

None.

Status

Read Only - The status of the Invoice. Status codes are: Active=160, Voided=161.

IdNamePair

None.

GLCategory

Invoice GLCategory - required if GLCategory tracking is on

IdNamePair

None.

ARAccount

AR Account associated with Invoice

IdNamePair

None.

Order

Order associated with Invoice -- not required, but if it is provided, the order must exist in the system, and the customer on the order must match the customer on the invoice

IdNamePair

None.

TaxId

Tax Id - Autogenerated based on shipping location if not provided, if neither is provided, tenant default tax id is used

integer

None.

Format

Invoice Format - required if more than one available

IdNamePair

None.

DoNotChargeConvenienceFee

boolean

None.

SendInvoiceNotification

If set to true, this will send out an email notification when invoice is being created to the invoice recipients set up for the customer. Default is false.

boolean

None.

LineItems

Collection of InvoiceLineItem

None.

AttachmentCount

Read-only - The number of attachments associated with this Invoice

integer

None.

DateCreated

Read-only - The date and time (in company time zone) when the invoice was created.

date

None.

CreatedBy

Read-only - employee who created the invoice

IdNamePair

None.

LastUpdatedDate

Read-only - The date and time (in company time zone) when the invoice was last updated

date

None.

LastUpdatedBy

Read-only - employee who last updated the invoice

IdNamePair

None.

Reviewed

read-only - whether invoice was reviewed

boolean

None.

DateReviewed

read-only - The date and time (in company time zone) when the invoice was reviewed.

date

None.

ReviewedBy

read-only - employee who reviewed the invoice

IdNamePair

None.

Currency

read-only - Currency Information.

Currency

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "txnNumber": "sample string 2",
  "allowDuplicateTxnNumber": true,
  "txnDate": "2022-07-01T16:55:47.8201954-04:00",
  "paymentTerms": {
    "id": 1,
    "name": "sample string 2"
  },
  "dueDate": "2022-07-01T16:55:47.8201954-04:00",
  "memo": "sample string 5",
  "toBePrinted": true,
  "customer": {
    "id": 1,
    "number": "sample string 2",
    "name": "sample string 3"
  },
  "billToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipToLocation": {
    "id": 1,
    "name": "sample string 2"
  },
  "shipVia": {
    "id": 1,
    "name": "sample string 2"
  },
  "trackingNumber": "sample string 7",
  "salesRep": {
    "id": 1,
    "name": "sample string 2"
  },
  "status": {
    "id": 1,
    "name": "sample string 2"
  },
  "glCategory": {
    "id": 1,
    "name": "sample string 2"
  },
  "arAccount": {
    "id": 1,
    "name": "sample string 2"
  },
  "order": {
    "id": 1,
    "name": "sample string 2"
  },
  "taxId": 8,
  "format": {
    "id": 1,
    "name": "sample string 2"
  },
  "doNotChargeConvenienceFee": true,
  "sendInvoiceNotification": true,
  "lineItems": [
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "glAccount": {
        "id": 1,
        "name": "sample string 2"
      },
      "location": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:55:47.8201954-04:00",
      "glCategory": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "glCategory": {
            "id": 1,
            "name": "sample string 2"
          },
          "location": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "glCategory": {
            "id": 1,
            "name": "sample string 2"
          },
          "location": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    },
    {
      "id": 1,
      "item": {
        "id": 1,
        "name": "sample string 2"
      },
      "glAccount": {
        "id": 1,
        "name": "sample string 2"
      },
      "location": {
        "id": 1,
        "name": "sample string 2"
      },
      "description": "sample string 2",
      "qty": 3.0,
      "unitOfMeasure": {
        "extendedName": "sample string 1",
        "id": 2,
        "name": "sample string 3"
      },
      "price": 4.0,
      "shippingPrice": 5.0,
      "taxable": true,
      "fulfillmentDate": "2022-07-01T16:55:47.8201954-04:00",
      "glCategory": {
        "id": 1,
        "name": "sample string 2"
      },
      "itemGroupLineItems": [
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "glCategory": {
            "id": 1,
            "name": "sample string 2"
          },
          "location": {
            "id": 1,
            "name": "sample string 2"
          }
        },
        {
          "id": 1,
          "item": {
            "id": 1,
            "name": "sample string 2"
          },
          "qty": 2.0,
          "unitOfMeasure": {
            "extendedName": "sample string 1",
            "id": 2,
            "name": "sample string 3"
          },
          "price": 3.0,
          "glCategory": {
            "id": 1,
            "name": "sample string 2"
          },
          "location": {
            "id": 1,
            "name": "sample string 2"
          }
        }
      ],
      "customColumns": [
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        },
        {
          "id": 1,
          "name": "sample string 2",
          "fieldType": {
            "id": 1,
            "name": "sample string 2"
          },
          "sourceId": 3,
          "value": "sample string 4",
          "valueText": "sample string 5",
          "isRequired": true
        }
      ]
    }
  ],
  "attachmentCount": 11,
  "dateCreated": "2022-07-01T16:55:47.8201954-04:00",
  "createdBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "lastUpdatedDate": "2022-07-01T16:55:47.8201954-04:00",
  "lastUpdatedBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "reviewed": true,
  "dateReviewed": "2022-07-01T16:55:47.8201954-04:00",
  "reviewedBy": {
    "id": 1,
    "name": "sample string 2"
  },
  "currency": {
    "currencyISOCode": "sample string 1",
    "exchangeRate": 2.0
  }
}

application/xml, text/xml

Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.Accounting">
  <ARAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ARAccount>
  <AllowDuplicateTxnNumber>true</AllowDuplicateTxnNumber>
  <AttachmentCount>11</AttachmentCount>
  <BillToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </BillToLocation>
  <CreatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </CreatedBy>
  <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>sample string 1</d2p1:_x003C_CurrencyISOCode_x003E_k__BackingField>
    <d2p1:_x003C_ExchangeRate_x003E_k__BackingField>2</d2p1:_x003C_ExchangeRate_x003E_k__BackingField>
  </Currency>
  <Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:Number>sample string 2</d2p1:Number>
  </Customer>
  <DateCreated>2022-07-01T16:55:47.8201954-04:00</DateCreated>
  <DateReviewed>2022-07-01T16:55:47.8201954-04:00</DateReviewed>
  <DoNotChargeConvenienceFee>true</DoNotChargeConvenienceFee>
  <DueDate>2022-07-01T16:55:47.8201954-04:00</DueDate>
  <Format xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Format>
  <GLCategory xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </GLCategory>
  <Id>1</Id>
  <LastUpdatedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </LastUpdatedBy>
  <LastUpdatedDate>2022-07-01T16:55:47.8201954-04:00</LastUpdatedDate>
  <LineItems>
    <InvoiceLineItem>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:55:47.8201954-04:00</FulfillmentDate>
      <GLAccount xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </GLAccount>
      <GLCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </GLCategory>
      <Id>1</Id>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <InvoiceItemGroupLineItem>
          <GLCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </GLCategory>
          <Id>1</Id>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Location xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Location>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </InvoiceItemGroupLineItem>
        <InvoiceItemGroupLineItem>
          <GLCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </GLCategory>
          <Id>1</Id>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Location xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Location>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </InvoiceItemGroupLineItem>
      </ItemGroupLineItems>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Location>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </InvoiceLineItem>
    <InvoiceLineItem>
      <CustomColumns xmlns:d4p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Core">
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
        <d4p1:CustomColumn>
          <d4p1:FieldType xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </d4p1:FieldType>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:IsRequired>true</d4p1:IsRequired>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:SourceId>3</d4p1:SourceId>
          <d4p1:Value>sample string 4</d4p1:Value>
          <d4p1:ValueText>sample string 5</d4p1:ValueText>
        </d4p1:CustomColumn>
      </CustomColumns>
      <Description>sample string 2</Description>
      <FulfillmentDate>2022-07-01T16:55:47.8201954-04:00</FulfillmentDate>
      <GLAccount xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </GLAccount>
      <GLCategory xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </GLCategory>
      <Id>1</Id>
      <Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Item>
      <ItemGroupLineItems>
        <InvoiceItemGroupLineItem>
          <GLCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </GLCategory>
          <Id>1</Id>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Location xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Location>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </InvoiceItemGroupLineItem>
        <InvoiceItemGroupLineItem>
          <GLCategory xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </GLCategory>
          <Id>1</Id>
          <Item xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Item>
          <Location xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>1</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 2</d6p1:_x003C_Name_x003E_k__BackingField>
          </Location>
          <Price>3</Price>
          <Qty>2</Qty>
          <UnitOfMeasure xmlns:d6p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
            <d6p1:_x003C_Id_x003E_k__BackingField>2</d6p1:_x003C_Id_x003E_k__BackingField>
            <d6p1:_x003C_Name_x003E_k__BackingField>sample string 3</d6p1:_x003C_Name_x003E_k__BackingField>
            <d6p1:ExtendedName>sample string 1</d6p1:ExtendedName>
          </UnitOfMeasure>
        </InvoiceItemGroupLineItem>
      </ItemGroupLineItems>
      <Location xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </Location>
      <Price>4</Price>
      <Qty>3</Qty>
      <ShippingPrice>5</ShippingPrice>
      <Taxable>true</Taxable>
      <UnitOfMeasure xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>2</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 3</d4p1:_x003C_Name_x003E_k__BackingField>
        <d4p1:ExtendedName>sample string 1</d4p1:ExtendedName>
      </UnitOfMeasure>
    </InvoiceLineItem>
  </LineItems>
  <Memo>sample string 5</Memo>
  <Order xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Order>
  <PaymentTerms xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </PaymentTerms>
  <Reviewed>true</Reviewed>
  <ReviewedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ReviewedBy>
  <SalesRep xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </SalesRep>
  <SendInvoiceNotification>true</SendInvoiceNotification>
  <ShipToLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipToLocation>
  <ShipVia xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ShipVia>
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </Status>
  <TaxId>8</TaxId>
  <ToBePrinted>true</ToBePrinted>
  <TrackingNumber>sample string 7</TrackingNumber>
  <TxnDate>2022-07-01T16:55:47.8201954-04:00</TxnDate>
  <TxnNumber>sample string 2</TxnNumber>
</Invoice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.