Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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


Panel
titlePwsPaymentTermRef
  • PwsPaymentTermRef
    • PaymentTermId: Int32
    • PaymentTermName: String
    • PaymentTermUid: Int64

Elements


Element

Data Type

Required?

Default

Description

Sample Data

PaymentTermId

Int32

On Insert: No

On Update: No


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

9078

PaymentTermName

String

On Insert: Yes (if PaymentTermUid is not supplied)

On Update: Yes (if PaymentTermUid is not supplied)


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

Net 15

PaymentTermUid

Int64

On Insert: Yes (if PaymentTermName is not supplied)

On Update: Yes (if PaymentTermName is not supplied)


The payment term Uid is a unique and immutable identifier for a payment term

1152921504606856054

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                     <PaymentTermIdentity>
                        <PaymentTermId>9078</PaymentTermId>
                        <PaymentTermName>Net 30</PaymentTermName>
                        <PaymentTermUid>1152921504606856054</PaymentTermUid>
                     </PaymentTermIdentity>