Deductions & credits

The treaty for avoiding double taxation between US and NZ (if there is any) should give you a solution for your issue. For some countries, the treaty allows the US sourced income to  be "re-sourced as a foreign income", and then the credit can be taken.