Sync Invoice Reports

An InvoiceReport represents the top level, header information attached to one of potentially many invoices for a particular order.

Invoices may be sent to the RepSpark API for orders not originating from the RepSpark web and mobile apps. For example, many brands want to provide their sales representatives and customers access to historical invoices from the past couple of years. Refer to Batch Types and Sync Modes to learn more about sending millions of invoices to the RepSpark API.

Delta syncs for InvoiceReports generally include InvoiceItems, but invoice headers and items can also be sent separately if desired - using the InvoiceReport sync for headers and InvoiceItemReport sync for the invoice line items. If any InvoiceItems are included at all in an InvoiceReport sync, then all InvoiceItems will be diffed - this can be used to delete specific InvoiceItems from invoices. If no InvoiceItems are included in the sync, then it is assumed that only Invoice report headers need to be updated.

Body Params

This request requires an array of InvoiceReport objects. Click Add Object to display the attributes.

Headers
uuid
required

Refer to the Transaction Tokens page for more information.

string
enum
required

Refer to the Sync Modes page for more information.

Allowed:
string
enum
required

Refer to the Batch Types page for more information.

Allowed:
string
enum

May be omitted if resource is specified in the path.

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
Response
Choose an example:
*/*
application/json