GreenInvoice document fields mapping

Modified on Mon, 27 Dec, 2021 at 8:38 PM

When using the Invoicing module with the GreenInvoice system, Valigara uses the following field relations to generate the documents inside GreenInvoice:


GreenInvoice
API field
System field/source
Additional income line, Order shipping price > 0
Additional income line, Payment & income difference
type
קבלה - Receipt
חשבונית מס - Invoice
חשבונית מס / קבלה - Invoice/Receipt
חשבונית זיכוי - Credit Invoice
vatType
Default (Based on business type) - Default
Included - Mixed (Contains exempt and due VAT income rows)
Exempt - Exempt (VAT free)
description
# + System order id
lang
Selected in popup language
currency
Selected in popup currency
client.country
Order client country
client.emails
Order client email
client.name
Order client name
client.phone
Order client phone
client.address
Order client address
income.catalogNum
Order product sku
empty
empty
income.currency
Selected in popup currency
income.description
Order product title
Shipping / משלוח
הנחת מוכר / Manual discount
income.price
Order product Buying Price
(converted to selected currency)
(negative for return record)
Order Shipping price
(converted to selected currency)
(negative for return record)
Calculated difference between payment & invoice lines see related task
income.quantity
Order product Amount
1
1
income.vatType
Default – Default (VAT will be added based on the business type)
Included - Included (VAT included in the price)
Exempt - Exempt (VAT free)
discount
Order discount
payment
Order Invoicing Payment lines if not empty, otherwise as described below
payment.type
Default - כרטיס אשראי OR פייפאל in case Order Payment Method = Paypal
payment.price
sum of income.price(including shipping) – discount
payment.date
Last order PAID status date OR Order date
payment.currency
Selected in popup currency

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article