Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Overview


This structure represents the unique key fields associated with identifying an invoice . Invoices can be identified by InvoiceNumber or InvoiceUid. When specifying a PwsInvoiceRef as an input to a web service, you may specify one or both the InvoiceNumber and/or InvoiceUid. However, if you do specify both, they must both refer to the same Invoice or the Invoice reference will not be considered valid. When a PwsInvoiceRef is returned in the response to a web service, both the InvoiceNumber and InvoiceUid will be populated, and guaranteed to refer to a single invoice.

Format


PwsInvoiceRef
  • PwsInvoiceRef
    • InvoiceId: Int32
    • InvoiceNumber: String (20)
    • InvoiceUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

InvoiceId

Int32

On Insert: No

On Update: No

The invoice Id is a unique identifier for an invoice. For internal use only.


InvoiceNumber

String (20)

On Insert: Yes (if InvoiceUid is not supplied)

On Update: Yes (if InvoiceUid is not supplied)

The invoice number is a unique identifier for an Invoice

DRAFT00927

InvoiceUid

Int64

On Insert: Yes (if InvoiceNumber is not supplied)

On Update: Yes (if InvoiceNumber is not supplied)

A unique and immutable identifier for an invoice

1152921504607622580

Usage Example(s)


Example 01
                        <b:InvoiceIdentity>
                           <b:InvoiceId i:nil="true"/>
                           <b:InvoiceNumber>DRAFT00927</b:InvoiceNumber>
                           <b:InvoiceUid>1152921504607622580</b:InvoiceUid>
                        </b:InvoiceIdentity>
  • No labels