Basic Information

appmixer.xero.accounting.CreateInvoice

1.0.1

Public

Create an invoice or purchase bill.

Input Ports

in

FieldTypeDescription
Tenant ID select -
Type select See Invoice Types
Contact ID text See Contacts
Line Items textarea See Line Items. Example: [{"Description":"Consulting services","Quantity":1,"UnitAmount":100.00}]
Date date-time Date invoice was issued – YYYY-MM-DD
Due Date date-time Date invoice is due – YYYY-MM-DD
Line Amount Types select Line amounts are exclusive of tax by default if you don't specify this element. See Line Amount Types
Invoice Number text ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings)
Reference text ACCREC only – additional reference number.
Branding Theme ID text See Branding Themes
Url text URL link to a source document – shown as “Go to [appName]” in the Xero app
Currency Code select 3 letter alpha code for the currency – see Currency Codes
Currency Rate number The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6])
Status select See Invoice Status Codes
Sent To Contact toggle Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved.
Expected Payment Date date-time Shown on sales invoices (Accounts Receivable) when this has been set.
Planned Payment Date date-time Shown on bills (Accounts Payable) when this has been set.

Output Ports

out

FieldTypeDescription
Type -
InvoiceID -
InvoiceNumber -
Reference -
Payments -
Prepayments -
Overpayments -
AmountDue -
AmountPaid -
Url -
SentToContact -
CurrencyRate -
TotalDiscount -
IsDiscounted -
HasAttachments -
HasErrors -
Attachments -
InvoicePaymentServices -
Contact -
DateString -
Date -
DueDateString -
DueDate -
ExpectedPaymentDateString -
ExpectedPaymentDate -
PlannedPaymentDateString -
PlannedPaymentDate -
BrandingThemeID -
Status -
LineAmountTypes -
LineItems -
SubTotal -
TotalTax -
Total -
UpdatedDateUTC -
CurrencyCode -

Full Metadata