PwsPaymentTermRef

Overview


This structure represents the unique key fields associated with identifying a payment term. Payment Terms define when payment of client invoices are due. Payment Terms can be identified by PaymentTermName or PaymentTermUid. When specifying a PwsPaymentTermRef as an input to a web service, you may specify one or both the PaymentTermName and/or PaymentTermUid. However, if you do specify both, they must both refer to the same payment term or the payment term reference will not be considered valid. When a PwsPaymentTermRef is returned in the response to a web service, both the PaymentTermName and PaymentTermUid will be populated, and guaranteed to refer to a single payment term.

Format


PwsPaymentTermRef
  • PwsPaymentTermRef
    • PaymentTermId: Int32
    • PaymentTermName: String (50)
    • PaymentTermUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

PaymentTermId

Int32

No

The payment term Id is a unique identifier for a payment term. For internal use only.


PaymentTermName

String (50)

One of PaymentTermName or PaymentTermUid is required

The payment term name is a unique identifier for a payment term.

Net 30

PaymentTermUid

Int64

See PaymentTermName

A unique and immutable identifier for a payment term.

1152921504606856054

Usage Examples


Example 01
                     <b:PaymentTermIdentity>
                        <b:PaymentTermId i:nil="true"/>
                        <b:PaymentTermName>Net 30</b:PaymentTermName>
                        <b:PaymentTermUid>1152921504606856054</b:PaymentTermUid>
                     </b:PaymentTermIdentity>