Outgoing Invoices
Workflows > Endpoints > Reporting > Outgoing Invoices
Purpose: Retrieve information of outgoing customer invoices and credit notes. Option of query the payment state of the invoices and credit notes.
These endpoints are typically used in cases where retreiving information of outgoing customer invoices and credit notes are important for the integrated application. The primary endpoint return the general invoice and customer information in a lightweight object with the total amounts (i.e. the information in the "header" of a customer invoice/credit note). The sales line details can be retrived if needed, for any given invoice.
The returned lightweight object information include the balance state of the invoice/credit note, and information of the last change of the balance state. The balance represent the remaining amount to be paid, meaning that a balance of 0 (zero) usually mean that the invoice is paid. These properties can be used in filtering to query for the general payment state of customer invoices/credit notes. You can read more about the balance property and its meaning in the customer ledger description.
Descriptions
Retreive customer invoice and credit note information for a given date interval
Use filtering on from date and to date (dates inclusive) to get all customer invoices and credit notes within the date interval. Use any supplementary filtering as needed.
Retreive line details for each invoice if needed
Check for and retreive new customer invoice and credit note information
Use filtering on voucher number greater than <the voucher number previously retreived>
This will return only new invoices and credit notes, if any
Retrive line details for each invoice if needed
Check for and retreive new customer invoice and credit note information, including a lightweight payment state of existing invoices and creditnotes
Use filtering on balance last changed greater than <the timestamp of your previous query>
This will return new invoices and credit notes, or existing invoices and credit notes with a change in balance. A change in balance usually imply a match with a payment transaction
Prerequisites
Access to the OutgoingInvoices access privelige
The client need an active subscription of an accounting module of PowerOffice Go
Related workflows:
Accoount Transactions
Customer Ledger for any detailed payment retreival
Dimension endpoints to supplement information
Contact endpoints to supplement information
Dictionary/Terminology
N/A