BillingDocumentInfo Data Object - Customer Billing

Defines a billing document identification object that contains information about a billing document, such as the billing document identifier, billing document amount, and account identifier.

Syntax

<xs:complexType name="BillingDocumentInfo" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="AccountId" type="xs:long" />
    <xs:element minOccurs="0" name="AccountName" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="AccountNumber" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Amount" type="xs:double" />
    <xs:element minOccurs="0" name="CurrencyCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="DocumentDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="DocumentId" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:int" />
    <xs:element minOccurs="0" name="CampaignId" nillable="true" type="xs:long">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

Elements

The BillingDocumentInfo object has the following elements: AccountId, AccountName, AccountNumber, Amount, CampaignId, CurrencyCode, CustomerId, DocumentDate, DocumentId.

Element Description Data Type
AccountId The identifier of the account for which the billing document was generated. long
AccountName The account name. string
AccountNumber The account number. string
Amount The amount of the billing document. double
CampaignId The campaign identifier. long
CurrencyCode The currency of the billing document. For possible values, see Currencies. string
CustomerId The identifier of the customer for which the billing document was generated. int
DocumentDate The date of the billing document. dateTime
DocumentId An identifier of the billing document. long

Requirements

Service: CustomerBillingService.svc v13
Namespace: https://bingads.microsoft.com/Customer/v13/Entities

Used By

GetBillingDocuments
GetBillingDocumentsInfo