On this page
No Headings
The details of the invoice. Includes invoice number, date, payment terms, and audit metadata.
objectreferencestring^[\S\s]*$The reference data. Includes a Purchase Order (PO) number.
currency_coderequiredstringThe three-character ISO-4217 currency code that identifies the currency.
notestring^[\S\s]*$A note to the invoice recipient. Also appears on the invoice notification email.
terms_and_conditionsstring^[\S\s]*$The general terms of the invoice. Can include return or cancellation policy and other terms and conditions.
memostring^[\S\s]*$A private bookkeeping memo for the user.
attachmentsarrayAn array of PayPal IDs for the files that are attached to an invoice.
itemsobjectThe file reference. Can be a file in PayPal MediaServ, PayPal DMS, or other custom store.
idstringThe ID of the referenced file.
reference_urlstringuriThe reference URL for the file.
create_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the file was created, in Internet date and time format.
sizestring^[0-9]+$The size of the file, in bytes.
invoice_numberstringThe invoice number. Default is the number that is auto-incremented number from the last number.
invoice_datestringppaas_date_notime_v2^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$The invoice date as specificed by the sender, in Internet date and time format. Only UTC is supported in response. For example, yyyy-MM-ddTz.
payment_termobjectThe payment due date for the invoice. Value is either but not both term_type or due_date.
term_typestring"DUE_ON_RECEIPT", "DUE_ON_DATE_SPECIFIED", "NET_10", "NET_15", "NET_30", "NET_45", "NET_60", "NET_90", "NO_DUE_DATE"^[\S\s]*$The payment term. Payment can be due upon receipt, a specified date, or in a set number of days.
due_datestringppaas_date_notime_v2^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$The date when the invoice payment is due, in Internet date and time format. For example, yyyy-MM-ddTz.
metadataobjectThe audit metadata. Captures all invoicing actions on create, send, update, and cancel.
create_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the resource was created, in Internet date and time format.
created_bystring^[\S\s]*$The email address of the account that created the resource.
last_update_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the resource was last edited, in Internet date and time format.
last_updated_bystring^[\S\s]*$The email address of the account that last edited the resource.
cancel_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the resource was canceled, in Internet date and time format.
cancelled_bystringThe actor who canceled the resource.
first_sent_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the resource was first sent, in Internet date and time format.
last_sent_timestringppaas_date_time_v3^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the resource was last sent, in Internet date and time format.
last_sent_bystringThe email address of the account that last sent the resource.
created_by_flowstring"MULTIPLE_RECIPIENTS_GROUP", "BATCH", "REGULAR_SINGLE"^[\s\S]*$The flow variation that created this invoice.
recipient_view_urlstringuriThe URL for the invoice payer view hosted on paypal.com.
invoicer_view_urlstringuriThe URL for the invoice merchant view hosted on paypal.com.