Versions Compared

Key

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

Overview

This structure includes the basic information on a posted invoice.  It is part of the response to web service PwsGetPostedInvoices and includes invoice name, status, amount, and document information.  

Format

Panel
titlePwsPostedInvoice
  • PwsPostedInvoice
    • CurrencyIdentity: PwsCurrencyRef
    • DueDate: DateTime
    • InvoiceAmount: Double
    • InvoiceDate: DateTime
    • InvoiceDocumentIdentity: PwsDocumentRef
    • InvoiceDocumentMimeType: String (128)
    • InvoiceFolderIdentity: PwsFolderRef
    • InvoiceIdentity: PwsInvoiceRef
    • InvoiceName: String (100)
    • InvoiceStatus: String (1)

Elements

Element

Data Type

Description

Sample Data

CurrencyIdentity

PwsCurrencyRef

 

  

The currency of the posted invoice. Click here for more information.


DueDate

DateTime

 

 

The due date of this posted invoice. It is a calculated value based on invoice date and payment terms.

2018-04-11T00:00:00Z

InvoiceAmount

Double

 

 

The net invoice amount of this posted invoice.

3565.66

InvoiceDate

DateTime

 

 

The invoice date on this posted invoice.

2018-03-12T00:00:00Z

InvoiceDocumentIdentity

PwsDocumentRef

 

The document that is associated with this posted invoice. Click here for more information.


InvoiceDocumentMimeType

String

 

  

(128)

The document mime type of the document that is associated with this posted invoice.

application/pdf

InvoiceFolderIdentity

PwsFolderRef

 

 

The document folder where the invoice document resides. Click here for more information.


InvoiceIdentity

PwsInvoiceRef

 

The invoice that is posted. Click here for more information.


InvoiceName

String

 

 

(100)

The name of the invoice.

Parsifal

InvoiceStatus

String

 

 

(1)

The status of the posted invoice:

D: Overdue

P: Paid

U: Unpaid

V: Void


U

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
            <a:PostedInvoices>
               <a:PwsPostedInvoice>
                  <a:CurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CurrencyCode>USD</b:CurrencyCode>
                     <b:CurrencyId i:nil="true"/>
                     <b:CurrencyUid>1152921504606849879</b:CurrencyUid>
                  </a:CurrencyIdentity>
                  <a:DueDate>2018-04-11T00:00:00Z</a:DueDate>
                  <a:InvoiceAmount>3565.66</a:InvoiceAmount>
                  <a:InvoiceDate>2018-03-12T00:00:00Z</a:InvoiceDate>
                  <a:InvoiceDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:DocumentRefId i:nil="true"/>
                     <b:DocumentRefUid>1152921504607652297</b:DocumentRefUid>
                  </a:InvoiceDocumentIdentity>
                  <a:InvoiceDocumentMimeType>application/pdf</a:InvoiceDocumentMimeType>
                  <a:InvoiceFolderIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:FolderId i:nil="true"/>
                     <b:FolderUid>1152921504607341992</b:FolderUid>
                  </a:InvoiceFolderIdentity>
                  <a:InvoiceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:InvoiceId i:nil="true"/>
                     <b:InvoiceNumber>INV00087</b:InvoiceNumber>
                     <b:InvoiceUid>1152921504607603784</b:InvoiceUid>
                  </a:InvoiceIdentity>
                  <a:InvoiceName>Parsifal</a:InvoiceName>
                  <a:InvoiceStatus>U</a:InvoiceStatus>
                  <a:DocumentName>INV00087.pdf</a:DocumentName>
                  <a:DocumentUri i:nil="true"/>
               </a:PwsPostedInvoice>
            </a:PostedInvoices>

...